Manifest shipments
Learn how to use the Manifest Shipment endpoint in Shipments API to confirm and transmit shipment data to carriers for collection.
Manifesting overview
Once you’ve created a shipment and allocated it to a carrier service, you’re ready to manifest it. This section explains how to use the Manifest Shipment endpoint.
Rhe term “manifesting” refers to collating, formatting and transmitting shipment data to carriers. It is the final step of many Shipments workflows.
You can only manifest shipments that are in a state of allocated
, manifest_failed
, or ready_to_ship
. If you attempt to manifest a shipment that is not in one of these states then an error is returned.
Manifesting a shipment changes its state to manifested. At this point the carrier is aware of the shipment, and will collect it unless otherwise advised. In order to prevent the shipment being shipped, you would need to cancel it.
state
field indicates whether the shipment is manifesting or manifested.Manifesting a shipment
The Manifest Shipment endpoint enables you to manifest an individual shipment. To call Manifest Shipment, send a PUT
request to https://api.sorted.com/pro/shipments/{reference}/manifest
, where {reference}
is the unique reference for the shipment you want to manifest.
Once the Shipments platform has received the request, it attempts to manifest the specified shipment and returns a manifest_result
containing the following information:
- A unique reference for the manifest item.
- Details of the carrier and service that the shipment was manifested with.
- A message providing details of the result.
- The current state of the shipment as a result of the manifest operation. Ordinarily, this would be manifesting.
- A link to the generated manifest.
For full reference information on the Manifest Shipment endpoint, see the Shipment API reference.
Manifest shipment example
The example shows a successful request to manifest shipment sp_00673267200365953327505217421312.
`PUT https://api.sorted.com/pro/shipments/sp_00673267200365953327505217421312/manifest`
{
"results": [
{
"reference": "ma_00673536672211162995858760007680",
"carrier": {
"reference": "XPDI",
"name": "XPD International",
"service_reference": "XPDISU",
"service_name": "XPD International Supreme"
},
"message": "Shipment sp_00673267200365953327505217421312 manifested with XDP Worldwide successfully",
"state": "manifested",
"shipment_count": 1,
"_links": [
{
"href": "https://beta.sorted.com/pro/shipments/sp_00673267200365953327505217421312",
"rel": "shipment",
"reference": "sp_00673267200365953327505217421312",
"type": "shipment"
}
]
}
]
}
Next steps
- Learn how to generate and select delivery quotes: Manage shipment quotes
- Learn how to configure shipment groups: Manage shipment groups