Sorted:

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 ()

Parameter Format Beschreibung Land Get Landnummer
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 ()

Parameter Format Beschreibung Land Get Landnummer
Nur Zahl ist erforderlich < /td> post_code Get Zustellpostleitzahl ist erforderlich products_id json Verwenden Sie die API, um die Bestelldaten aufzulisten, um das product_id
Format zu erhalten: int (11) < /td> products_quantity json Mengenzahl
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 ()

Parameter Format Beschreibung products_id json Verwenden Sie die API, um die Bestelldaten aufzulisten, um das product_id
Format zu erhalten: int (11) < /td> products_quantity json Mengenzahl
Nur Zahl ist erforderlich < /td> Produkte json products_id & amp; Products_quantity lieferung_firstname json FirstName
Format: varchar (255)
* Feld erforderlich < /td> lieferung_lastname json LastName
Format: varchar (255)
* Feld erforderlich < /td> lieferung_street_address json Straßenadresse
Format: varchar (255)
* Feld erforderlich < /td> lieferung_number json Liefernummer
Format: varchar (255)
* Feld erforderlich < /td> lieferung_suburb json Vorort
Format: varchar (255)
* Feld erforderlich < /td> lieferung_city json Stadt
Format: varchar (255)
* Feld erforderlich < /td> lieferung_postcode json Postcode
Format: varchar (11)
* Feld erforderlich < /td> lieferung_country json Landname
Format: varchar (255)
* Feld erforderlich < /td> lieferung_state json Zustandsname
Format: varchar (2)
* Feld erforderlich < /td> payment_method json Verwenden Sie die API zu payment_method
Format: varchar (255)
* Feld erforderlich < /td> Shipping_method json Verwenden Sie die API, um das zu berechnen.

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>

URL: http://www.namedoseusiten.com.br/api_ds_orders.php?cid=& postalcode = & am; ; Action = ordners_list

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

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 date_from Get Datum von für Filterbestellungen
Beispiel: DD/MM/JJJJ date_to Get Datum für Filterbestellungen
Beispiel: DD/MM/JJJJ

PHP -Probe:

  // Beispiellistenbestellungen
 
 $ add_query_order = ' ' ;;
 if ($ _get [' Status ']! = ' ') {
 $ add_query_order.
 } anders {
 $ add_query_order. = ' ' ;;
 }
 
 $ Url = $ tabain_url. ' /api_ds_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",
 ' Token: ' . Basis64_CODE ($ token),
 ' Geheimnis: ' . Basis64_CODE ($ Secret),
 ' E-Mail: ' . Basis64_CODE ($ E -Mail))))
 );
 
 $ 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>

URL: http://www.namedoseusiten.com.br/api_ds_orders.php?oid=ordernumber&

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

Parameter Format Beschreibung oid Get

Anzahl der Bestell -ID
Die Zahl ist nur erforderlich
Format: Bigint (11)
* Feld erforderlich < /p>

PHP -Probe

  // Beispiellistenbestellungen ID ID
 
 $ add_query_order = ' ' ;;
 if ($ _get [' oid ']! = ' ') {
 $ add_query_order. = ' & amp; oid = '
 }
 
 $ Url = $ tabain_url. ' /api_ds_orders.php? Action = Bestellungen_id ' $ 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),
 ' Inhaltslänge: ' . Strlen ($ data_string))))
 ); $ result = curl_exec ($ ch);
 Curl_close ($ ch);

 print_r ($ result);

 // Beispiellistenbestellungen ID EOF  

Rückgabefehler:

Code
oid
Nachricht < /p>

Erfolgserfolg:

oid
date_purchased
Währung
orders_status
last_modified
Total
Total_Shipping
Shipping_Method
Custom_RG
customer_cpf < br /> customs_name
Customers_street_address
custom_number
custom_completion

Customers_city
customer
custom_postcode
Customers_postcode
Customers_CNPJ < br /> Customs_ie
Custom_company
Custom_telephone
Custom_telephone_Commercial
Custom_Telephone_Mobile
customer_skype
lieferung_cpf
lieferung_name
lieferung_street_address
lieferung
lieferung
lieferung
lieferung
lieferung
/> lieferung_completion
lieferung_suburb
lieferung_city
lieferung_state
lieferung_country
lieferung_postcode
lieferung_cnpj
lieferung_company
quantitus_discount
Rabatt_coupon
/> Custom
Produkte- & gt;- & gt; Option
Produkte- & gt; Attribute- & gt; Wert
Produkte- & gt;

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>