fillup / walmart-partner-api-sdk-php

PHP client for Walmart Partner APIs
MIT License
37 stars 51 forks source link

Only returning [statusCode] => 200 #40

Open solasus opened 7 years ago

solasus commented 7 years ago

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...?

fillup commented 7 years ago

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