How to get the list of manufacturers registered via API?
URL: http://www.namedoseusite.com.br/api_seller_products_others.php?action=MANUFACTURERS
Header Parameter | format |
token | base64_encode () |
Secret | base64_encode () |
base64_encode () |
Php Sample:
// sample manufacturers list$ URL = $ tabain_url. ' /API_SELLER_PRODUCTS_OTHERS.PHP? Action = Manufacturers ' ;;
$ 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 ',
"Cache-Control: No-Cache",
' TOKEN: ' . base64_encode ($ token),
' Secret: ' . base64_encode ($ secret),
' E-mail: ' . base64_encode ($ email),
' CONTENT-LENGTH: ' . Strlen ($ data_string)))
);$ result = curl_exec ($ CH);
Curl_Close ($ CH);print_r ($ result);
// Sample Manufacturers List Eof
return:
id
Text