- Home
- /
- MFORMULA ELEKTRONISCHER KATALOG
- /
- API Dropshipping
URL: http://www.namedoseusiten.com.br/api_ds_products_ots.php?af?
Header Parameter | Format |
Token | Base64_encode () |
Secret | Base64_encode () |
E -Mail | Base64_encode () |
1, 2 oder 3
Es ist nur Zahl erforderlich < /p>
Nur Zahl ist erforderlich < /td>
sort_product_name
sort_date_added
sort_date_updated
sort_code
sort_quantity
sort_price
sort_bestseller < /td>
PHP -Probe:
// Beispiellistenprodukte $ add_query_order = ' ' ;; if ($ _get [' Status ']! = ' ') { $ add_query_order. } if ($ _get [' Search_Model ']! = ' ') { $ add_query_order. } if ($ _get [' Suche ']! = ' ') { $ add_query_order. } if ($ _get [' Kategorie ']! = ' ') { $ add_query_order. } if ($ _get [' sort_order ']! = ' ') { $ add_query_order. } $ Url = $ tabain_url. ' /api_ds_products_ors.php? Action = list_products ' $ add_query_order; $ Ch = curl_init ($ url); 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)))) ); $ result = curl_exec ($ ch); Curl_close ($ ch); print_r ($ result); // Beispiellistenprodukte EOF
return:
products_id
Bild
Name
Modell
Menge
Status
DATE_ADDED
last_modified < /p>
URL: http://www.namedoseusiten.com.br/api_ds_products_ots.php?action=Manufactuers
Header Parameter | Format |
Token | Base64_encode () |
Secret | Base64_encode () |
E -Mail | Base64_encode () |
PHP -Probe:
// Beispielherstellerliste $ Url = $ tabain_url. ' /api_ds_products_ors.php? Action = Hersteller ' ;; $ Ch = curl_init ($ url); 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); // Beispielhersteller listen eof
auf
return:
id
text < /p>
URL: http://www.namedoseusiten.com.br/api_ds_products_ots.php?action=pack
Header Parameter | Format |
Token | Base64_encode () |
Secret | Base64_encode () |
E -Mail | Base64_encode () |
PHP -Probe:
// Beispielpackliste $ Url = $ tabain_url. ' /api_ds_products_ors.php? Action = Pack ' ;; $ Ch = curl_init ($ url); 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); // Beispielpackliste EOF
return:
id
text < /p>URL: http://www.namedoseusiten.com.br/api_ds_products_ots.php?action=countries
Header Parameter | Format |
Token | Base64_encode () |
Secret | Base64_encode () |
E -Mail | Base64_encode () |
PHP -Probe:
// Beispielland $ Url = $ tabain_url. ' /api_ds_products_ors.php? Action = Länder ' ;; $ Ch = curl_init ($ url); 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); // Beispiele für Länder
return:
id
text < /p>
URL: http://www.namedoseusiten.com.br/api_ds_products_ots.php?action=zones
Header Parameter | Format |
Token | Base64_encode () |
Secret | Base64_encode () |
E -Mail | Base64_encode () |
PHP -Probe:
// Beispielzonen $ Url = $ tabain_url. ' /api_ds_products_ors.php? Action = Zones ' ;; $ data = array ("country_id" = & gt; $ _get [' Country_id '] // Country ID (nur die Zahl wird bewertet) * Feld erforderlich ); $ 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); // Beispielzonen EOF
return:
id
text < /p>
URL: http://www.namedoseusiten.com.br/api_ds_orders.php?action=payment_method
Header Parameter | Format |
Token | Base64_encode () |
Secret | Base64_encode () |
E -Mail | Base64_encode () |
Nur Zahl ist erforderlich < /td>
PHP -Probe:
// Beispiel Payment_Method $ Url = $ tabain_url. ' /api_ds_orders.php? Action = payment_method & amp; Country = ' $ _ Get [' Country ']; $ Data_products [0] = array ("products_id" = & gt; $ _get [' products_id '], // Beispiel: 130 (nur die Nummer ist erforderlich) * Feld erforderlich "Products_quantity" = & gt; $ _Get [' Products_quantity '] // Beispiel: 1 (nur Nummer ist erforderlich) * Feld erforderlich ); $ Data_products [1] = array ("products_id" = & gt; $ _get [' products_id1 '], // Beispiel: 130 (nur die Nummer ist erforderlich) * Feld erforderlich "Products_quantity" = & gt; $ _Get [' Products_quantity1 '] // Beispiel: 1 (nur Nummer ist erforderlich) * Feld erforderlich ); $ Data = array ("products" = & gt; $ data_products // * Feld erforderlich ); $ 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); // Beispiel Payment_method EOF
return:
id
text < /p>URL: http://www.namedoseusiten.com.br/api_ds_orders.php?action=calculate_shipping&amntry= l.
Header Parameter | Format |
Token | Base64_encode () |
Secret | Base64_encode () |
E -Mail | Base64_encode () |
Nur Zahl ist erforderlich < /td>
Format zu erhalten: int (11) < /td>
Nur Zahl ist erforderlich < /td>
PHP -Probe:
// Beispiel Calculate_Shipping $ Url = $ tabain_url. ' /api_ds_orders.php? Action = calculate_shipping & amp; Country = ' $ _ Get [' Country ']. ' & amp; post_code = '###### 39; post_code ']; $ Data_products [0] = array ("products_id" = & gt; $ _get [' products_id '], // Beispiel: 130 (nur die Nummer ist erforderlich) * Feld erforderlich "Products_quantity" = & gt; $ _Get [' Products_quantity '] // Beispiel: 1 (nur Nummer ist erforderlich) * Feld erforderlich ); $ Data_products [1] = array ("products_id" = & gt; $ _get [' products_id1 '], // Beispiel: 130 (nur die Nummer ist erforderlich) * Feld erforderlich "Products_quantity" = & gt; $ _Get [' Products_quantity1 '] // Beispiel: 1 (nur Nummer ist erforderlich) * Feld erforderlich ); $ Data = array ("products" = & gt; $ data_products // * Feld erforderlich ); $ 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); // Beispiel calculate_shipping eof
return:
id
text < /p>Post: http://www.namedoseusiten.com.br/api_ds_orders.php?action=add_orders
Header Parameter | Format |
Token | Base64_encode () |
Secret | Base64_encode () |
E -Mail | Base64_encode () |
Format zu erhalten: int (11) < /td>
Nur Zahl ist erforderlich < /td>
Format: varchar (255)
* Feld erforderlich < /td>
Format: varchar (255)
* Feld erforderlich < /td>
Format: varchar (255)
* Feld erforderlich < /td>
Format: varchar (255)
* Feld erforderlich < /td>
Format: varchar (255)
* Feld erforderlich < /td>
Format: varchar (255)
* Feld erforderlich < /td>
Format: varchar (11)
* Feld erforderlich < /td>
Format: varchar (255)
* Feld erforderlich < /td>
Format: varchar (2)
* Feld erforderlich < /td>
Format: varchar (255)
* Feld erforderlich < /td>
PHP -Probe
// Beispiel add_orders $ Url = $ tabain_url. ' /api_ds_orders.php? Action = add_orders ' ;; $ Data_products [0] = array ("products_id" = & gt; "215", // Beispiel: 130 (nur Nummer ist erforderlich) * Feld erforderlich "Products_quantity" = & gt; "1" // Beispiel: 1 (nur Zahl ist erforderlich) * Feld erforderlich ); $ Data_products [1] = array ("products_id" = & gt; "215", // Beispiel: 130 (nur die Zahl ist erforderlich) * Feld erforderlich "Products_quantity" = & gt; "1" // Beispiel: 1 (nur Zahl ist erforderlich) * Feld erforderlich ); $ Data = array ("products" = & gt; $ data_products, // * Feld erforderlich "Lieferung_firstname" = & gt; UTF8_CODE ("Name"), // Beispiel: Name (FirstName) * Feld erforderlich "Delivery_LastName" = & gt; UTF8_CODE ("Nachname"), // Beispiel: Nachname (LastName) * Feld erforderlich "lieferung_street_address" = & gt; UTF8_CODE ("Straßenadresse"), // Beispiel: Straßenadresse (Straßenadresse) * Feld erforderlich "lieferung_number" = & gt; "123", // Beispiel: 123 (Liefernummer) * Feld erforderlich "Delivery_Suburb" = & gt; UTF8_CODE ("Vorort"), // Beispiel: Vorort (Vorort) * Feld erforderlich "lieferung_city" = & gt; UTF8_CODE ("SAO PAULO"), // Beispiel: Sao Paulo (Stadt) * Feld erforderlich "Lieferung_postcode" = & gt; "04267000", // Beispiel: 04267000 (Postleitzahl) * Feld erforderlich "lieferung_country" = & gt; UTF8_CODE ("Brasilien"), // Beispiel: Brasilien (Land) * Feld erforderlich "lieferung_state" = & gt; utf8_encode ("sp"), // Beispiel: SP (Status) * Feld erforderlich "Payment_method" = & gt; "Paypal_standard", // Beispiel: paypal_standard (Zahlungsmethode) * Feld erforderlich "Shipping_method" = & gt; "Seetex" // Beispiel: SEDEX (Versandmethode) * Feld erforderlich ); $ data_string = json_encode ($ date); // print_r ($ data_string); // Sterben; $ 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); // Beispiel add_orders eof
Rückgabefehler:
Code
Nachricht < /p>Erfolgserfolg:
Code
products_model
products_id
Nachricht < /p>Integrieren Sie Ihr Tool in den Online -Shop, ist einfach!
Mit der REST -Technologie (Repräsentation State Transfer) wurde unsere API in Übereinstimmung mit den besten Praktiken des Internets durchgeführt, um die Entwicklung zu erleichtern und ihre Integration zu vereinfachen.
Der Online -Store verwendet JSON als einziges Format für Dateneingaben und Ausgabe, das einfacher und leichter als XML ist.
Produkte über API
registrierenWir sind bereit, Produkte direkt von Ihrem Unternehmen ERP.
zu erhaltenÜber die API Es ist möglich, alle in Ihrem System registrierten Produkte gleichzeitig zu senden, um viel mehr Beweglichkeit und Sicherheit zu gewährleisten, da die Produktdaten vor der Erfassung überprüft und validiert werden.
Aufträge über API
Aufträge erfassenBestellungen im Online -Shop können von ERP -Systemen, CRM und anderen erfasst werden. Somit ist es möglich, die Online -Store -Bestellungen in Ihrem Lieblingssystem zu steuern.
URL: http: // www.
& amp; products_id =
Header Parameter | Format |
Token | Base64_encode () |
Secret | Base64_encode () |
E -Mail | Base64_encode () |
PHP -Probe:
// Beispiellisten-Produktoptionen und -Werte
$ Url = $ tabain_url. ' /api_ds_products_ors.php? Action = list_products_options_values & amp; products_id = ' $ _ Get [' products_id '];
$ Ch = curl_init ($ url);
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);
// Beispielliste Produktoptionen und Werte eof code> pre>
return:
id
text < /p>