GET https://api.storenvy.com/v1/orders
Get a list of Orders ordered by ID. 50 per page. Sorted by newest first.
Optional Parameters
page |
Which page to show (default: 1) |
limit |
Number of orders to show (default: 50, maximum: 250) |
status |
Filter by Order status (i.e. "pending", "canceled", "open", "shipped", "on hold", "failed") |
older_than_id |
Show orders with an ID lower than this ID that were placed before this ID. Used for paging. |
updated_at_min |
Show orders with an updated_at timestamp after the provided date (format: unix timestamp). |
updated_at_max |
Show orders with an updated_at timestamp before the provided date (format: unix timestamp). |
Example response:
{ "data": { "orders": [ { "id": 1, "subtotal": 5000, "shipping": 450, "tax": 0, "discounts": 0, "confirmed_at": "2013-10-31T19:31:54-05:00", "fulfilled_at": null, "updated_at": "2013-10-31T19:31:54-05:00", "paid_at": "2013-10-31T19:31:54-05:00", "payment_processor": "stripe", "status": "open", "email": "[email protected]", "user_note": null, "price": "4.50", "address": { "name": "Happy Customer", "address_1": "123 Elm St", "address_2": "", "city": "San Francisco", "postal": "94102", "state": "California", "state_abbrev": "CA", "country": "US" }, "items": [ { "item": { "id": 30, "order_id": 44, "product_id": 30, "product_name": "Product Name", "variant_id": 30, "variant_name": "Default", "sku": null, "quantity": 1, "fulfilled_at": null, "discount": 0, "list_price": 5000, "tax": 0, "fulfillment_id": null, "price_in_cents": 5000 } } ], "fulfillments": [ ] } ] }, "meta": { "code": 200, "api_version": "1.0" } }