Rest Admin API

Solved
vm-user
New Member
2 0 2

Hi,

Using  [ GET /admin/api/2020-07/customers/{customer_id}/orders.json ] seems to only return "open" orders. The documentation states: "Retrieves all orders belonging to a customer. The query string parameters that are available to the Order resource are also available to this endpoint."

I had tried to pass the "status = closed" parameter or the "fulfillment_status = shipped" without sucess.

Thx

 

0 Likes
Renars
Shopify Partner
122 18 121

This is an accepted solution.

Hey @vm-user 

As per Shopify Orders documentation. "status" defaults to "open". You can pass the parameter "status=any" to receive all orders.

Renars_0-1601718798072.png

 

Matrixify | Bulk Import Export Update | https://apps.shopify.com/excel-export-import | https://matrixify.app