fillup / walmart-partner-api-sdk-php

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

Error in Get all orders filters! #14

Closed mdalvi closed 7 years ago

mdalvi commented 7 years ago

I am trying to pull 10 orders within specified date range with status as Created.

Here is the code:

$orders = $client->list([
    'status' => 'Created', // optional
    'createdStartDate' => '2016-09-05', // optional
    'createdEndDate' => '2016-09-20', // optional
    'limit' => 10, // optional, default 10
]);

However I get all kind of orders with different orderLineStatus as Shipped, Created and also Acknowledged. Why is the filter for Created only is not being applied?

fillup commented 7 years ago

Good question. Can you use something like Charles Proxy to capture the actual request and response to ensure the SDK formatted the API call properly? If everything looks good there you should report that information to your integration manager at Walmart as they may have a bug or be able to do further investigation.

fillup commented 7 years ago

@mdalvi I'm going to close this issue for now, but if you're still having problems go ahead and reopen it.