Hello,
I’m prototyping the JSON responses from the API, and I was trying to return specific Order Statuses via the API. I’m using Postman for prototyping.
When trying to specify “status” as my Key, and the Value as any of the values as shown in the API documentation, these values:
If I specify one value, I can retrieve all the JSON for that one Status no problem.
But when I try to string them together in a comma delimited list, as the Veeqo website URL shows to do when filtering on Status, like this:
It doesn’t work. I get no JSON.
If I try to string the status values with an “&”, like this:
I only end up retrieving Orders associated with one of the two Statuses, not all the Orders for both Statuses. In this instance, the API only returns the JSON for “cancelled” status Orders.
In my examples, if I try returning “awaiting_fulfillment” by itself, I rightfully receive 3 JSON objects with status of awaiting_fulfillment, because I currently only have 3 of those Orders in my Veeqo account right now.
If I try returning “cancelled” by itself, the API rightfully returns 3 JSON objects, again, because I have 3 mock cancelled Orders in my Veeqo account right now.
If I try the comma delimited approach in Postman, I return nothing.
If I try the “&” inclusive approach in Postman, I only return the Cancelled orders.
If I swap the positions of the “&” inclusive values, where “awaiting_fulfillment” is at the end, and cancelled is at the front, like this:
It returns only the orders with “awaiting_fulfillment” status.
Am I missing something simple here? What is the correct way to provide multiple parameters for a given Key value to the API, so that I can return all 6 of my example Orders, 3 of each status?