GET https://api.ecartapi.com/api/v2/orders
Body
PARAM
Key | Datatype | Required | Description |
limit
|
string | Limits the number of orders in the response.The default value of this parameter is 50. The maximum value of this parameter is 100 | |
ids
|
string | Filters orders by their unique identification numbers. Send ID values separated by comas. EX: 1,2,3,4 | |
status[ecartapi]
|
string | Filters orders by the ecartapi status categories. Only allows values listed. | |
status[status]
|
string | Filters orders by the e-commerce status categories. Only allows the values listed. | |
createdAt[from]
|
string | Filters orders created after a specific date. | |
createdAt[to]
|
string | Required to send createdAt[from]. Filters orders created before a specific date. | |
updatedAt[from]
|
string | Filters orders updated after a specific date. | |
updatedAt[to]
|
string | Curl curl -X GET 'https://api.ecartapi.com/api/v2/orders?limit=Integer&ids=String&status[ecartapi]=pending,paid,shipped,completed,cancelled&status[status]=STAGING, WAITING_ACCEPTANCE, WAITING_DEBIT, WAITING_DEBIT_PAYMENT, SHIPPING, SHIPPED, TO_COLLECT, RECEIVED, CLOSED, REFUSED, CANCELED&createdAt[from]=YYYY-MM-DDTHH:MM:SS&createdAt[to]=YYYY-MM-DDTHH:MM:SS&updatedAt[from]=YYYY-MM-DDTHH:MM:SS&updatedAt[to]=YYYY-MM-DDTHH:MM:SS' -H 'Authorization: access_token' ENDPOINTS |