You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so I'm working through it and something that was baffling me was the list orders. I just discovered a fix that hopefully will help someone. I was not able to get listing orders to work until I put in a start date, like:
createdStartDate is a required value when accessing get all released orders, also required for get all orders unless customerOrderId or purchaseOrderId is also specified
thanks so much for this library.
so I'm working through it and something that was baffling me was the list orders. I just discovered a fix that hopefully will help someone. I was not able to get listing orders to work until I put in a start date, like:
$orders = $client->list([ 'createdStartDate' => '2017-01-01', 'limit' => 10, 'nextCursor' => '', ]);
if I don't have the createdStartDate in there - then I get a bad request error
400 [reason phrase] Bad Request
and then a long stack trace
there are a bunch of optional fields for list orders - so maybe some other combination of fields would work as well.
The text was updated successfully, but these errors were encountered: