URL: http://www.namedoseusite.com.br/api_orders.php?oid=OrderNumber&
Paramètre |
format |
Description |
oid |
Get |
Numéro de l’ID de commande Seul le nombre est requis Format: BigInt (11) * Field requis
|
Table>
PHP Exemple
// Exemple
$ add_query_order = & # 39; & # 39 ;;
$ oid = & # 39; 12302006081624 & # 39 ;;
if ($ oid! = & # 39; & # 39;) {
$ add_query_order. = & # 39; & amp; oid = & # 39; $ oid;
}
$ Url = $ tabain_url. & # 39; /api_orders.php? Action = ORDERS_ID & # 39;.
$ Ch = curl_init ($ url);
Curl_setopt ($ ch, curlopt_returntransfer, true);
curl_setopt ($ ch, curlopt_ssl_verifypeer, false);
Curl_setopt ($ ch, curlopt_httpheader, array (
& # 39; Type de contenu: application / json & # 39;,
"Cache-Control: No-cache",
& # 39; usuario1: & # 39; . base64_encode ($ usuario1),
& # 39; Password1: & # 39; . base64_encode ($ password1)))
));
$ result = curl_exec ($ ch);
Curl_close ($ ch);
print_r ($ result);
// Exemples de commandes de liste ID EOF
Erreur de retour:
Code
OID
Message p>
Retour succès:
oid
date_purchased
devise
ordres_status
last_modified
total
total_shipping
shipping_method
PAYS_METHOD
REMAYAGE < br /> réorganiser
cc_type
cc_owner
custom_id
custom_rg
Clients_name
Custom_street_address
client client_completion Clients_suburb
Custom_city
Custom_State
Custom_country
Custom_postcode
Custom_cnpj
CustomerS_Nompany
CustomerS_tephone
Client
Custom S_telephone_Commercial << br /> personnalisé_telephone_mobile
personnalisé_skype
personnalisé_email_address
Delivery_rg
Delivery_name
Delivet_address
livraison
délivré
Delivery_State
Delivery_Country
Delivery_Postcode
Delivery_cnpj
Delivery_Company
Quantity_Discount
Discount_Coupon
Custom
Products- & gt; Qty
produits- & gt; nom
produits- & gt; final_price
produits- & gt; attributs- & gt ;; valeur
produits- & gt; attributs- & gt; Price_prefix
Products- & gt; - & gt; texte