API経由で顧客番号をリストに取得するにはどうすればよいですか?
url:http://www.namedoseusite.com.br/api_customers.php?cid=customernumber&
パラメーター | フォーマット | 説明 |
cid | get |
顧客IDの番号 |
phpサンプル
//税関IDリストリスト$ add_query_order ='&#39 ;;
$ cid ='&#39 ;;
if($ cid!=''){
$ add_query_order。='& cid =' $ cid;
}$ url = $ tabain_url。 ' /api_customers.php?action = customers_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'、
「キャッシュコントロール:キャッシュなし」、
' usuario1:' 。 base64_encode($ usuario1)、
' Password1:' 。 base64_encode($ password1)))
);$ result = curl_exec($ ch);
curl_close($ ch);print_r($ result);
//サンプル税関IDリストEOF
返品:
entry_person_kind
customers_gender
customers_firstname
entry_rgcustomers_email_address
entry_cnpj
entry_ie
entry_ie
entry_postcode
entry_street_address
entry_number
entry_completion
ebrubr
entry_state
customer_telephone
theelepon_commercial
customer_telephone_telephone_telephone_telephone_telephone_ mobile
customer br /> msn
customers_newsletter
customers_groups_id
言語< /p>