1. Home
  2. /
  3. Mformula Virtual Store
  4. /
  5. Marktplatz / Multi -Anbieter
  6. /
  7. API
  8. /
  9. Post: http://www.namedoseusiten.com.br/api_seller_products_others.php?action=update_products_contacts ...

Post: http://www.namedoseusiten.com.br/api_seller_products_others.php?action=update_products_contacts

Header Parameter Format
Token Base64_encode ()
Secret Base64_encode ()
E -Mail Base64_encode ()

Parameter Format Beschreibung pc_id json

PC ID
Nur Zahl ist erforderlich
Format: int (11)
* Feld erforderlich < /p> Antwort json Nur Zahl ist erforderlich
Format: varchar (255)
* Feld erforderlich < /td>

PHP -Probe

 // Probe Produktkontakte bearbeiten
 
 $ Url = $ tabain_url. ' /api_seller_products_others.php? Action = update_products_contacts ' ;;

 $ data = array ("pc_id" = & gt; $ _get [' PC_ID '], // PC -ID (nur die Nummer ist aufgestellt) * Feld erforderlich
 "Antwort" = & gt; $ _Get [' Antwort '] // Die Antwort
 );
 
 $ data_string = json_encode ($ date);

 $ Ch = curl_init ($ url);
 Curl_setopt ($ ch, curlopt_customrequest, "post");
 Curl_setopt ($ ch, curlopt_postfields, $ data_string);
 Curl_setopt ($ ch, curlopt_returntransfer, true);
 curl_setopt ($ ch, curlopt_sl_verifypeer, false);
 Curl_setopt ($ ch, curlopt_httpHeader, Array (Array (
 ' Inhaltstyp: Anwendung/JSON ',,
 "Cache-Control: No-Cache",
 ' Token: ' . Basis64_CODE ($ token),
 ' Geheimnis: ' . Basis64_CODE ($ Secret),
 ' E-Mail: ' . Basis64_CODE ($ E -Mail),
 ' Inhaltslänge: ' . Strlen ($ data_string))))
 );
 
 $ result = curl_exec ($ ch);
 Curl_close ($ ch);

 print_r ($ result);
 
 // Probe Produce Products Kontakte EOF 

Rückgabefehler:

Code
Nachricht < /p>

Erfolgserfolg:

Code
pc_id
Nachricht < /p>

Post: http://www.namedoseusiten.com.br/api_seller_products_others.php?action=update_products_contacts


Header Parameter Format
Token Base64_encode ()
Secret Base64_encode ()
E -Mail Base64_encode ()

Parameter Format Beschreibung

pc_id json

PC ID
Nur Zahl ist erforderlich
Format: int (11)
* Feld erforderlich < /p>

Antwort json Nur Zahl ist erforderlich
Format: varchar (255)
* Feld erforderlich < /td>

PHP -Probe

 // Probe Produktkontakte bearbeiten

$ Url = $ tabain_url. ' /api_seller_products_others.php? Action = update_products_contacts ' ;;

$ data = array ("pc_id" = & gt; $ _get [' PC_ID '], // PC -ID (nur die Nummer ist aufgestellt) * Feld erforderlich
"Antwort" = & gt; $ _Get [' Antwort '] // Die Antwort
);

$ data_string = json_encode ($ date);

$ Ch = curl_init ($ url);
Curl_setopt ($ ch, curlopt_customrequest, "post");
Curl_setopt ($ ch, curlopt_postfields, $ data_string);
Curl_setopt ($ ch, curlopt_returntransfer, true);
curl_setopt ($ ch, curlopt_sl_verifypeer, false);
Curl_setopt ($ ch, curlopt_httpHeader, Array (Array (
' Inhaltstyp: Anwendung/JSON ',,
"Cache-Control: No-Cache",
' Token: ' . Basis64_CODE ($ token),
' Geheimnis: ' . Basis64_CODE ($ Secret),
' E-Mail: ' . Basis64_CODE ($ E -Mail),
' Inhaltslänge: ' . Strlen ($ data_string))))
);

$ result = curl_exec ($ ch);
Curl_close ($ ch);

print_r ($ result);

// Probe Produce Products Kontakte EOF

Rückgabefehler:

Code
Nachricht < /p>

Erfolgserfolg:

Code
pc_id
Nachricht < /p>

Schreibe einen Kommentar 0