POST
/
shipping
/
query

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-site-context
string
required

The x-site-context header is a JSON object that contains information about the source you wish to pull from. The mandatory account is the 24 character identifier found in Copilot. The channel (Sales channel ID), stage (environment name), and date attributes can be used to further narrow the scope of your data source.

Body

application/json

Filter criteria

sortBy
string
default: createdAtrequired

Sorting criteria

filters
object
required
limit
integer
default: 10

Ending record number (from the offset number) in the response. When no value is provided, the default value is 10.

offset
integer
default: 0

Starting number of the record (within the total number of records) in the response. Offset is zero-based. That is, the 10th record is at offset 9 starting from the 0th record. When no value is provided, the default value is 0

sortDirection
enum<string>
default: asc

Sorting direction - ascending or descending

Available options:
asc,
desc

Response

200 - application/json

Pagination details

count
integer

Total number of records

limit
integer

Ending record number (from the offset number) in the response. When no value is provided, the default value is 10

offset
integer

Starting number of the record (within the total number of records) in the response. Offset is zero-based. That is, the 10th record is at offset 9 starting from the 0th record. When no value is provided, the default value is 0