Get orders

get
/orders

Get order results with multiple orders.

source_ids[]
string

Each element should be less than 32 characters. Count of the elements should be less than 50. Every source_id should be used as an independent query param, as the following url example shows: https: //api.aftership.com/commerce/2024-07/orders?source_ids[]=5247009653041&source_ids[]=5081836323059

limit
integer

The maximum number of results to show on a page. Default is 10.

>= 1<= 50
page
integer

Current page of the collection. Default is 1.

>= 1<= 200
sort
string

Sort the results list by the given value. Default is '-source_created_at' .

Allowed values:
-source_created_at+source_created_at-source_updated_at+source_updated_at
Example:
-source_created_at
as-store-id
string
required

The unique store identifier is generated by AfterShip. You can obtain this id by making a GET /stores call to get existing stores or a POST /stores to create a new store.

Auth
:
Parameters
:
:
:
:
: