List Shipments
Returns a paginated list of shipments for an account.
Query parameters
The account to list shipments for. Defaults to the acting account.
Filter to shipments with this delivery status.
Only shipments fulfilling these payments, each prefixed pay_. Repeat the parameter to pass several, up to 100 per request — one paginated list covers all of them.
[ "pay_xxxxxxxxxxxxxx" ]
Return shipments created before this ISO 8601 timestamp.
Return shipments created after this ISO 8601 timestamp.
The field to sort by.
The sort direction.
Number of results to return from the start of the range.
Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.
Number of results to return from the end of the range.
Return results before this cursor. Use page_info.start_cursor from the previous response to fetch the previous page.
Response
excludes the created_after boundary row
Example response
{
"data": [
{
"account_id": "biz_xxxxxxxxxxxxxx",
"carrier": "ups",
"checkpoints": [
{
"location": "PHILADELPHIA, PA",
"message": "Picked up",
"status": "in_transit",
"timestamp": "2026-01-01T12:00:00.000Z"
}
],
"created_at": "2026-01-01T12:00:00.000Z",
"id": "ship_xxxxxxxxxxxxxx",
"payment_id": "pay_xxxxxxxxxxxxxx",
"status": "in_transit",
"tracking_number": "1Z999AA10123456784",
"tracking_url": "https://track.aftership.com/xxxxxxxxxxxxxxxxxx",
"updated_at": "2026-01-01T12:00:00.000Z"
}
],
"page_info": {
"start_cursor": "WyJjdXJzb3IiLDFd"
}
}Changes
Changed in 5 of the 74 revisions of this API.101222
- ▲
for the
queryrequest parameterfirst, default value20was addedrequest-parameter-default-value-added
- ●
for the
queryrequest parameterfirst, the max was set to100.00request-parameter-max-set
- ●
for the
queryrequest parameterlast, the max was set to100.00request-parameter-max-set
- ▲
- ○
added the required property
//to the response with the statusresponse-required-property-added
- ○
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
- ○
added the optional property
/to the response with the statusresponse-optional-property-added
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
for the
queryrequest parameterpayment_id, the type changed fromstringnulltoarrayrequest-parameter-type-changed
- ▲
the
//response's property format changed fromdate-timeto no format for statusresponse-property-type-changed
- ▲
the
//response's property format changed fromdate-timeto no format for statusresponse-property-type-changed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
- ●
deleted the
queryrequest parametercompany_idrequest-parameter-removed
- ●
deleted the
queryrequest parameteruser_idrequest-parameter-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
/from the response with the statusresponse-optional-property-removed
- ○
api operation id
listShipmentremoved and replaced withlistShipmentsapi-operation-id-removed
- ○
the security scope
payment:basic:readwas removed from the endpoint's security schemebearerAuthapi-security-scope-removed
- ○
added the new optional
headerrequest parameterApi-Version-Dateto all path's operationsnew-optional-request-default-parameter-to-existing-path
- ○
added the new optional
queryrequest parameteraccount_idnew-optional-request-parameter
- ○
added the new optional
queryrequest parametercreated_afternew-optional-request-parameter
- ○
added the new optional
queryrequest parametercreated_beforenew-optional-request-parameter
- ○
added the new optional
queryrequest parameterdirectionnew-optional-request-parameter
- ○
added the new optional
queryrequest parameterordernew-optional-request-parameter
- ○
added the new optional
queryrequest parameterstatusnew-optional-request-parameter
- ○
removed the non-success response with the status
response-non-success-status-removed
- ○
removed the non-success response with the status
response-non-success-status-removed
- ○
removed the non-success response with the status
response-non-success-status-removed
- ○
added the required property
//to the response with the statusresponse-required-property-added
- ○
added the required property
//to the response with the statusresponse-required-property-added
- ○
added the required property
//to the response with the statusresponse-required-property-added
- ○
added the required property
//to the response with the statusresponse-required-property-added
- ○
added the required property
//to the response with the statusresponse-required-property-added
This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ▲
removed the required property
//from the response with the statusresponse-required-property-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
Of the 74 revisions, 1 has no diff computed.