By using api.ssactivewear.com, there is no option for php code in example (https://api.ssactivewear.com/V2/Help_Examples.aspx). Any help or support may solve my issue. I have done below mention code in php to get data in xml:
ini_set("allow_url_fopen", 1);
$ch = curl_init();
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_URL, 'https://api.ssactivewear.com/v2/products/B00760003?username=xxxxx&api_key=xxxxxxxxxxxxxxxxxx');
$result = curl_exec($ch);
curl_close($ch);
var_dump($result);
I got below mention result :- string(68)
"{ "message": "Authorization has been denied for this request." }"
Got the solution and it works for me: