Endpoint
Authorization header.
Request Body
All filters are passed as JSON in the request body.integer
default:"1"
Page number for paginated results. Starts at
1.integer
default:"25"
Number of records to return per page. Maximum value is
10000. When export is true, this limit applies to the exported file as well.string
Filter by tracking number using a partial match. For example,
"1Z9999" matches any tracking number containing that string.string
Filter by house number using an exact match.
string
Filter by customer user code using an exact match.
string
Filter by shipper name using a partial match (e.g.,
"Amazon" matches "Amazon Fulfillment").string
Filter by customer first name using a partial match.
string
Filter by customer last name using a partial match.
string
Filter results to packages belonging to a specific courier, identified by their courier ID.
string
Filter results to packages shipped via a specific carrier, identified by their carrier ID.
string
Return only packages with an entry date on or after this date. Format:
YYYY-MM-DD.string
Return only packages with an entry date on or before this date. Format:
YYYY-MM-DD.boolean
Set to
true to receive a file download instead of a JSON response. When enabled, the response will be a binary file attachment.string
The format of the exported file. Accepted values:
csv (default) or xlsx. Only relevant when export is true.Example Request
Response
Success Response
Response Fields
string
Indicates the outcome of the request. Will be
"success" on a valid response.string
A human-readable summary, including the total number of records matched.
array
Array of package objects matching the supplied filters.
object
Pagination and aggregate metadata.
File Export
Setexport: true in the request body to download the filtered results as a file instead of receiving JSON. The response will include the appropriate Content-Disposition header and a binary file payload.
- CSV Export
- XLSX Export
Dispatch Queue Action
Sending"action": "queue_dispatch" in the request body queues the matched packages for synchronisation with your external system. You may specify packages explicitly via a package_ids array, or let the endpoint derive the set from your active filters.
Once queued, packages are picked up and synced automatically. No further action is required on your part after a successful
queue_dispatch response.Role-Based Access
Courier role users can only retrieve packages that belong to their own courier account. Attempts to filter by a
courierID outside their account are ignored and scoped back automatically.