Get all orders
GET https://api.ecartapi.com/api/v2/orders
Use this resource to search for and retrieve one or more orders based on the last update date, creation date, or fulfillment status. You can alternatively list orders using the orderIds parameter. (max 50 ids)
ONLY PAID ORDERS WILL APPEAR ON THIS REQUEST
The returned Order objects contain information you can use to create and process fulfillments, including:
* Information about the buyer and seller
* Information about the order's line items
* The plans for packaging, addressing and shipping the order
* The status of payment, packaging, addressing, and shipping the order
* A summary of monetary amounts specific to the order such as pricing, payments, and shipping costs
* A summary of applied taxes and fees, and optionally a breakdown of each
More information about the ecommerce's resource.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ids | string | Search multiple orders by Id. Max 50 ids per request. All other query parameters will be ignored. | |
limit | string | Quantity of results provided. Default 50 | |
page | string | Allows order pagination | |
createdAt[from] | string | Filters orders by dates of creation from the date provided to actual date. Can be send alone or paired with createdAt[to] | |
createdAt[to] | string | Filters orders by dates of creation between the dates date sent in createdAt[from] to createdAt[to] .Can only be sent with createdAt[from]. | |
updatedAt[from] | string | Filters orders by the last updated date from the date provided to actual date. Can be send alone or paired with updatedAt[to]. | |
updatedAt[to] | string | Filters orders by the last updated date between the dates date sent in updatedAt[from] to updatedAt[to]. Can only be sent with updatedAt[from]. | |
fulfillmentStatus | string | Filters orders by their fulfillment Status, both statuses may contain partialy fulfilled orders. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |