walmart-partner-api-sdk-php icon indicating copy to clipboard operation
walmart-partner-api-sdk-php copied to clipboard

Only returning [statusCode] => 200

Open solasus opened this issue 8 years ago • 1 comments

Something odd is happening on my site. Seems that I can only get an api response of 200. Even on something as simple as an InventoryTest. I am using the ENV_PROD and can confirm that my status changes to 401 if I change the consumerId = so I would assume that I'm authenticating.

But something as simple as:

$inventory = $client->get([
    'sku' => '1010868', // required
]);

echo 'inventory: '; print_r($inventory);

... should give me the quantity in stock of that (known) sku. Any thoughts here...?

solasus avatar Jan 30 '17 22:01 solasus

Yes that should return some data, can you share what the output of that script is?

fillup avatar Mar 09 '17 15:03 fillup