URL: http://www.namedoseusiten.com.br/api_products_ots.php?action=countries
Header Parameter | Format |
Usuario1 | Base64_encode () |
password1 | Base64_encode () |
PHP -Probe:
// Beispielland if ($ _get [' Aktion '] == ' Länder ') { $ Url = $ tabain_url. ' /api_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); } // Beispielländer eof
return:
id
text < /p>
URL: http://www.namedoseusiten.com.br/api_products_ots.php?af=zones
Header Parameter | Format |
Usuario1 | Base64_encode () |
password1 | Base64_encode () |
PHP -Probe:
// Beispielzonen if ($ _get [' Aktion '] == ' Zonen ') { $ Url = $ tabain_url. ' /api_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_products_ots.php?action=list_products
Header Parameter | Format |
Usuario1 | Base64_encode () |
password1 | 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_seller_products_others.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", ' Usuario1: ' . Basis64_CODE ($ Usuario1), ' Passwort1: ' . Basis64_CODE ($ password1), ' Inhaltslänge: ' . Strlen ($ data_string)))) ); $ 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:
Header Parameter Format Usuario1 Base64_encode () password1 Base64_encode ()
PHP -Probe:
// Beispiellistenprodukte und -Werte $ Url = $ tabain_url. ' /api_products_ots.php? Action = list_products_options_values ' ;;
oder
$ url = $ domain_url. ' /api_products_ots.php? Action = list_products_options_values & amps_id = ' $ _ Get [' products_id ']; $ Ch = curl_init ($ url); Curl_setopt ($ ch, curlopt_returntransfer, true); curl_setopt ($ curl, curlopt_ssl_verifypeer, false); Curl_setopt ($ ch, curlopt_httpHeader, Array (Array ( ' Inhaltstyp: Anwendung/JSON ',, "Cache-Control: No-Cache", ' Usuario1: ' . Basis64_CODE ($ Usuario1), ' Passwort1: ' . Basis64_CODE ($ password1))) ); $ result = curl_exec ($ ch); Curl_close ($ ch); print_r ($ result); // Beispiellisten -Produkte Optionen und Werte eof
return:
id
text < /p>
Post: http://www.namedoseusiten.com.br/api_products_others.php?action=edit_suppliers
Header Parameter | Format |
Usuario1 | Base64_encode () |
password1 | Base64_encode () |
Format: int (11)
* Feld erforderlich < /td>
Hauptname der Lieferanten
Format: varchar (255)
* Feld erforderlich < /p>
Format: Text
* Feld erforderlich < /td>
PHP -Probe
// Beispiele für die Bearbeitungslieferanten bearbeiten $ Url = $ tabain_url. ' /api_products_ors.php? Action = edit_suppliers ' ;; $ data = array ("Lieferanten_ID" = & gt; "ID der Lieferanten", // ID des Lieferanten * Feld erforderlich "Lieferanten_Group_Name" = & gt; "Hauptname der Lieferanten", // Hauptname des Lieferanten * Feld erforderlich "Lieferanten_Description" = & gt; "Beschreibung der Lieferanten" // Beschreibung des Lieferanten * 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", ' Usuario1: ' . Basis64_CODE ($ Usuario1), ' Passwort1: ' . Basis64_CODE ($ password1), ' Inhaltslänge: ' . Strlen ($ data_string)))) ); $ result = curl_exec ($ ch); Curl_close ($ ch); print_r ($ result); // Beispiele bearbeiten Lieferanten eof
Rückgabefehler:
Code
Nachricht < /p>Erfolgserfolg:
Code
id
Nachricht < /p>URL: http://www.namedoseusiten.com.br/api_categories.php?action=categories_List
PHP -Probe:
// Beispiellistenkategorien und Unterkategorien $ Url = $ tabain_url. ' /api_categories.php? Action = categories_list ' ;; $ 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", ' Usuario1: ' . Basis64_CODE ($ Usuario1), ' Passwort1: ' . Basis64_CODE ($ password1))) ); $ result = curl_exec ($ ch); Curl_close ($ ch); print_r ($ result); // Beispiellistenkategorien und Unterkategorien EOF
return:
id
text < /p>Post: http://www.namedoseusiten.com.br/api_categories.php?action=add_categories
Parameter Format Beschreibung categories_name json Categorie- oder Unterkategorie-Name
Format: varchar (255)
* Feld erforderlich < /p>categories_status json 1 = aktiv oder 0 = inaktiv
Nur Zahl ist erforderlich
Format: int (1)
* Feld erforderlich < /td>main_category json Hauptkategorie der Unterkategorie
Nur Zahl ist erforderlich.
Überprüfen Sie die API, um die ID der Kategorien oder Unterkategorien zu erhalten.
Format: int (11)
* * Feld erforderlichsort_order json Sortierreihenfolge
Nur Zahl ist erforderlich
Format: int (3) < /td>meta_title json Titelziel
Format: Text < /td>meta_description json Zielbeschreibung
Format: Text < /td>meta_keywords json Meta -Schlüsselwörter
Format: Text < /td>PHP -Probe
// Beispielkategorien und Unterkategorien hinzufügen $ Url = $ tabain_url. ' /api_categories.php? Action = add_categories ' ;; $ data = array ("categories_name" = & gt; "Kategorie oder Unterkategorie Name", // Categorie oder Unterkategorie-Name * Feld erforderlich "categories_status" = & gt; "1", // 1 = aktiv oder 0 = inaktiv (nur Zahl ist erforderlich) * Feld erforderlich "main_category" = & gt; "0", // Hauptkategorie der Unterkategorie (nur die Zahl ist erforderlich) * Feld erforderlich "Sort_order" = & gt; "", // order sortieren (nur Nummer ist erforderlich) "meta_title" = & gt; "Meta -Titel", // Meta -Titel "Meta_description" = & gt; "Meta Beschreibung", // Zielbeschreibung "meta_keywords" = & gt; "Meta-Keywords" ); $ 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", ' Usuario1: ' . Basis64_CODE ($ Usuario1), ' Passwort1: ' . Basis64_CODE ($ password1), ' Inhaltslänge: ' . Strlen ($ data_string)))) ); $ result = curl_exec ($ ch); Curl_close ($ ch); print_r ($ result); // Muster addieren Kategorien und Unterkategorien EOF
Rückgabefehler:
Code
Nachricht < /p>Erfolgserfolg:
Code
id
Nachricht
< /p>Post: http://www.namedoseusiten.com.br/api_categories.php?action=edit_categories
Parameter Format Beschreibung categories_id json Categorie oder Unterkategorie-ID
Nur Zahl ist erforderlich
Format: int (11)
* Feld erforderlich < /td>categories_name json Categorie- oder Unterkategorie-Name
Format: varchar (255)
* Feld erforderlich < /p>categories_status json 1 = aktiv oder 0 = inaktiv
Nur Zahl ist erforderlich
Format: int (1)
* Feld erforderlich < /td>sort_order json Sortierreihenfolge
Nur Zahl ist erforderlich
Format: int (3) < /td>meta_title json Titelziel
Format: Text < /td>meta_description json Zielbeschreibung
Format: Text < /td>meta_keywords json Meta -Schlüsselwörter
Format: Text < /td>PHP -Probe
// Beispiele bearbeiten Kategorien und Unterkategorien $ Url = $ tabain_url. ' /api_categories.php? Action = edit_categories ' ;; $ data = array ("categories_id" = & gt; "182", // categorie oder subcategorie id (nur Nummer ist erforderlich) * Feld erforderlich "categories_name" = & gt; "Categorie- oder Unterkategorie-Name", // Kategorie oder Unterkategorie-Name * Feld erforderlich "categories_status" = & gt; "1", // 1 = aktiv oder 0 = inaktiv (nur Zahl ist erforderlich) * Feld erforderlich "Sort_order" = & gt; "", // order sortieren (nur Nummer ist erforderlich) "meta_title" = & gt; "Meta -Titel", // Meta -Titel "Meta_description" = & gt; "Meta Beschreibung", // Zielbeschreibung "meta_keywords" = & gt; "Meta-Keywords" ); $ 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", ' Usuario1: ' . Basis64_CODE ($ Usuario1), ' Passwort1: ' . Basis64_CODE ($ password1), ' Inhaltslänge: ' . Strlen ($ data_string)))) ); $ result = curl_exec ($ ch); Curl_close ($ ch); print_r ($ result); // Beispiele bearbeiten Kategorien und Unterkategorien EOF
Rückgabefehler:
Code
Nachricht < /p>Erfolgserfolg:
Code
id
Nachricht < /p>Post: http://www.namedoseusiten.com.br/api_categories.php?action=edit_status_categories
Parameter Format Beschreibung categories_id json Categorie oder Unterkategorie-ID
Nur Zahl ist erforderlich
Format: int (11)
* Feld erforderlich < /td>categories_status json 1 = aktiv oder 0 = inaktiv
Nur Zahl ist erforderlich
Format: int (1)
* Feld erforderlich < /td>PHP -Probe
// Beispielkategorien und Unterkategorien bearbeiten $ Url = $ tabain_url. ' /api_categories.php? Action = edit_status_categories ' ;; $ data = array ("categories_id" = & gt; "182", // categorie oder subcategorie id (nur Nummer ist erforderlich) * Feld erforderlich "categories_status" = & gt; "1" // 1 = aktiv oder 0 = inaktiv (nur Zahl ist erforderlich) * 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", ' Usuario1: ' . Basis64_CODE ($ Usuario1), ' Passwort1: ' . Basis64_CODE ($ password1), ' Inhaltslänge: ' . Strlen ($ data_string)))) ); $ result = curl_exec ($ ch); Curl_close ($ ch); print_r ($ result); // Beispiele für Statuskategorien und Unterkategorien EOF
Rückgabefehler:
Code
Nachricht < /p>Erfolgserfolg:
Code
id
Nachricht < /p>URL: http://www.namedoseusiten.com.br/api_orders.php?cid=& postalcode = & amp; cname = & amp; mail = & amp; status = & amp; payment = & amp; = & amp; date_from = & amp; action = ordners_list
Parameter Format Beschreibung cid Get Kunden -ID
Nur Nummer ist erforderlich
Überprüfen Sie die API, um die Kunden -ID zu erhalten. < /p>Postalcode Get Postleitzahl der Versandadresse oder Kundenadresse
Es ist nur Nummer erforderlich
Beispiel: 04267000 < /td>cname Get Kundenname E -Mail Get E -Mail -Adresse des Kunden Status Get Status für Filterbestellungen
Überprüfen Sie die API, um den Status zu erhalten. < /td>Zahlung Get Zahlung für Filter die Bestellungen Signature_Rectering Get 1 = aktiv oder 0 = inaktiv
Nur Zahl ist erforderlich < /td>Cancel_sinature_recoring Get 1 = aktiv oder 0 = inaktiv
Nur Zahl ist erforderlich < /td>date_from Get Datum von für Filterbestellungen
Beispiel: DD/MM/JJJJdate_to Get Datum für Filterbestellungen
Beispiel: DD/MM/JJJJPHP -Probe:
// Beispiellistenbestellungen $ add_query_order = ' ' ;; $ cid = ' ' ;; if ($ cid! = ' ') { $ add_query_order. = ' & amp; cid = ' $ cid; } $ postalcode = ' ' ;; if ($ postalcode! = ' ') { $ add_query_order. = ' & amp; postalcode = ' $ postalcode; } $ cname = ' ' ;; if ($ cname! = ' ') { $ add_query_order. = ' & amp; cname = ' $ cname; } $ mail = ' ' ;; if ($ mail! = ' ') { $ add_query_order. } $ status = ' ' ;; if ($ status! = ' ') { $ add_query_order. = ' & amp; status = ' $ status; } $ Payment = ' ' ;; if ($ payment! = ' ') { $ add_query_order. = ' & amp; payment = ' } $ Signature_recrer = ' ' ;; If ($ abonnieren_current! = ' ') { $ add_query_order. } $ Cancel_sinatura_Recurrent = ' ' ;; if ($ Cancel_sinatura_reactering! = ' ') { $ add_query_order. } $ date_from = ' ' ;; if ($ date_from! = ' ') { $ add_query_order. } $ date_to = ' ' ;; if ($ date_to! = ' ') { $ add_query_order. } $ Url = $ tabain_url. ' /api_orders.php? Action = orders_list ' $ 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", ' Usuario1: ' . Basis64_CODE ($ Usuario1), ' Passwort1: ' . Basis64_CODE ($ password1))) ); $ result = curl_exec ($ ch); Curl_close ($ ch); print_r ($ result); // Beispiellistenbestellungen eof
return:
ordners_id
customer_name
customer_email_address
order_total
DATE_PURCHBASIS
ordners_status_name
payment_method < /p>