Logo
Ecartapi.com Public API Documentation

Get all orders

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

Request to consult All Amazon orders.

Information about shipping address and customer might be incomplete.

By default this request will fetch only the merchant fulfillable orders (to comply with the use case of creating shipments) if you require all of the order information you must make the Get a single order request

Returns orders created or updated during the time frame indicated by the specified parameters. You can also apply a range of filtering criteria to narrow the list of orders returned. If age next token is present, that will be used to retrieve the orders instead of other criteria.

Amazon has different channels to define the type of orders MFN orders are the only ones available to do fulfillments via third party carriers the rest of the orders Amazon handles them internally

Find more information about the ecommerce resource.

 

Body PARAM

Curl
curl -X GET 'https://api.ecartapi.com/api/v2/orders?createdAt[from]=Date. [YYYY-MM-DD]&createdAt[to]=Date. [YYYY-MM-DD]&updatedAt[from]=Date. [YYYY-MM-DD]&updatedAt[to]=Date. [YYYY-MM-DD]&status[ecartapi=String. [pending,shipped,cancelled,on_hold,partially_fulfilled]&status[status]=String. [Pending, Shipped, Canceled,Unshipped,PartiallyShipped]&limit=Integer. [1...100]&page=String. [Page token value]&channel=String [ALL, MFN]' -H 'Authorization: access_token'

ENDPOINTS

    Key Datatype Required Description 
    createdAt[from]
    string Filter orders by range. Requires createdAt[to]. Set the lower treshold.
    createdAt[to]
    string Filter orders by range. Requires createdAt[from]. Set the upper treshold.
    updatedAt[from]
    string Filter orders by range. Requires updatedAt[to]. Set the lower treshold.
    updatedAt[to]
    string Filter orders by range. Requires updatedAt[from]. Set the upper treshold.
    status[ecartapi
    string Filter by ecartapi's order general status.
    status[status]
    string Filter by Amazon's order general status
    limit
    string Default value: 50. The maximum number of documents returned in the response