url:http://www.namedoseusite.com.br/api_ds_orders.php?oid=ordernumber&
パラメーター | フォーマット | 説明 |
oid | get |
注文idの数 |
phpサンプル
//サンプルリスト注文ID
$ add_query_order ='&#39 ;;
if($ _get [' oid']!=''){
$ add_query_order。='& oid ='
}
$ url = $ tabain_url。 ' /api_ds_orders.php?action = orders_id'。$ add_query_order;
$ ch = curl_init($ url);
curl_setopt($ ch、curlopt_returntransfer、true);
curl_setopt($ ch、curlopt_ssl_verifypeer、false);
curl_setopt($ ch、curlopt_httpheader、array(
' content-type:application/json'、
「キャッシュコントロール:キャッシュなし」、
'トークン:' 。 base64_encode($ token)、
'秘密:' 。 base64_encode($ secret)、
'電子メール:' 。 base64_encode($ email)、
'コンテンツレングス:' 。 strlen($ data_string)))
); $ result = curl_exec($ ch);
curl_close($ ch);
print_r($ result);
//サンプルリスト注文id eof
戻りエラー:
code
oid
メッセージ< /p>
戻り成功:
oid
date_purchaded
currency
orders_status
last_modified
total_shipping
shipping_method
custom_rg
customers_cpf << br /> customs_name
customers_street_address
custom_number
custom_completion
customers_city
custom_postcode
customer_postcode
customer_cnpj
customs_ie
custom_company
custom_telephone
custom_telephone_commercial
custom_telephone_mobile_mobile_mobile_mobile_cpf
dearviry_name_name
配信/> DERIVERY_COMPLETION
DERVILY_SUBURB
DERVILY_CITY
DERVILY_STATE
DELILAL_COUNTRY
DERVIY_POSTCODE
DERVILY_CNPJ
DERVILY_COMPANY
QUANTY_DISCOUNT
/> custom
products-&gt; – &gt; option
products-&gt; value
products-&gt;