Orders
List store orders
GET /stores/{storeResourceId}/orders
GET
/stores/{storeResourceId}/ordersReturns the orders and carts of one store, most recently updated first, with their status, totals and items.
When to use: To check which carts and orders a shop has sent, or to find one by its number or status.
When not to use: To read one order use get_store_order.
Filters: Sort with order[created_at], order[updated_at], order[order_total], order[status] or order[order_number] (asc/desc).
Permissions: Requires the viewer role or higher, or the marketing.audiences.read capability.
X-Auth-Token<token>
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
storeResourceId*string
Identifier (resource_id) of the store the order belongs to.
Query Parameters
page?integer
The collection page number
Default
1itemsPerPage?integer
The number of items per page
Range
0 <= value <= 50Default
30Response Body
application/problem+json
application/problem+json
curl -X GET "https://api.easymailing.com/stores/acme-shop/orders" \ -H "X-Auth-Token: YOUR_API_KEY"[ { "resource_id": "string", "currency": "string", "currency_exchange_rate": 0.1, "order_total": 0, "tax_total": 0, "discount_total": 0, "shipping_total": 0, "checkout_url": "http://example.com", "status": "cart", "order_number": "string", "tracking_number": "string", "tracking_carrier": "string", "tracking_url": "http://example.com", "abandoned_cart_at": "2019-08-24T14:15:22Z", "processed_at": "2019-08-24T14:15:22Z", "paid_at": "2019-08-24T14:15:22Z", "cancelled_at": "2019-08-24T14:15:22Z", "campaign_hash": "string", "order_items": [ { "quantity": 1, "price": 0, "discount": 0, "variant": "/entity/1" } ], "customer": "/entity/1", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z" }]