fillup / walmart-partner-api-sdk-php

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

Order APIs 400: Bad Request #73

Closed yogeshsuhagiya closed 5 years ago

yogeshsuhagiya commented 6 years ago

Hello,

Thanks, for this useful SDK but I'm getting the issue with Order API. I'm trying to fetch order list but every time I'm getting 400: Bad Request error.

<?php
use Walmart\Order;

$client = new Order([
    'consumerId' => getenv('CONSUMER_ID'),
    'privateKey' => getenv('PRIVATE_KEY'),
    'wmConsumerChannelType' => getenv('WM_CONSUMER_CHANNEL_TYPE'),
]);

$orders = $client->listReleased([
    'createdStartDate' => '2018-08-01', 
    'limit' => 10,
    'nextCursor' => '',
]);

Not even the Order list but also not able to execute any API of Order. All other APIs (Feed, Inventory, Items) are working fine.

I'm stuck at this point since last two days, plese help.

Thanks

yogeshsuhagiya commented 5 years ago

No response from any team member of this repo so, I'm closing my issue.