Logo
Ecartapi.com Public API Documentation

Get all orders

GET https://api.ecartapi.com/api/v2/orders

Get's all orders from the shopify store.

 

Body PARAM

Key Datatype Required Description 
limit
string Sets the max value of documents to be returned by the requests
createdAt[from]
string Filters result by the date set from til today. Can be used with createdAt[to] to set a range of dates to filter.
createdAt[to]
string Must be used with createdAt[from], Filters results between a range of dates
updatedAt[from]
string Filters result by the date set from til today. Can be used with updatedAt[to] to set a range of dates to filter.
updatedAt[to]
string Must be used with updatedAt[from], Filters results between a range of dates
draft
boolean This allows to request only draft orders
search
string Filters results by the number of the order



HEADERS

Key Datatype
Curl
curl -X GET 'https://api.ecartapi.com/api/v2/orders?limit=Max.250&createdAt[from]=2020-06-24&createdAt[to]=2020-06-24&updatedAt[from]=2020-06-24&updatedAt[to]=2020-06-24&draft=true&search=string' -H 'Authorization: access_token'

ENDPOINTS