How do I get the list of attribute and value options for products?


URL: http://www.sitename.com/api_seller_products_others.php?action=list_products_options_values

 

Header Parameter Format
Token base64_encode()
Secret base64_encode()
E-mail base64_encode()

 

PHP Sample:

 

	// sample list products options and values
	
	$url = $domain_url . '/api_seller_products_others.php?action=list_products_options_values';

	$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 list products options and values eof

 

Return:

id
text 

 

2018-08-30 21:57 MFORMULA FAQ {writeRevision}
Average rating: 0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

{debugMessages}