Update a shipment
This operation allows for updating properties of a shipment including label_type, reference, payment, options and metadata. It is not for editing the parcels of a shipment.
Path parameters
Request body
The shipment label file type.
{
"currency": "USD",
"insurance": 100.00,
"cash_on_delivery": 30.00,
"dangerous_good": true,
"declared_value": 150.00,
"sms_notification": true,
"email_notification": true,
"email_notification_to": "shipper@mail.com",
"hold_at_location": true,
"paperless_trade": true,
"preferred_service": "fedex_express_saver",
"shipment_date": "2020-01-01", # TODO: deprecate
"shipping_date": "2020-01-01T00:00",
"shipment_note": "This is a shipment note",
"signature_confirmation": true,
"saturday_delivery": true,
"is_return": true,
"doc_files": [
{
"doc_type": "commercial_invoice",
"doc_file": "base64 encoded file",
"doc_name": "commercial_invoice.pdf",
"doc_format": "pdf",
}
],
"doc_references": [
{
"doc_id": "123456789",
"doc_type": "commercial_invoice",
}
],
}
</details>
The shipment reference
User metadata for the shipment
Response
A unique identifier
Specifies the object type
The shipment tracking url
The carriers services requested for the shipment.<br/> Please consult the reference for specific carriers services.<br/> Note that this is a list because on a Multi-carrier rate request you could specify a service per carrier.
{
"currency": "USD",
"insurance": 100.00,
"cash_on_delivery": 30.00,
"dangerous_good": true,
"declared_value": 150.00,
"sms_notification": true,
"email_notification": true,
"email_notification_to": "shipper@mail.com",
"hold_at_location": true,
"paperless_trade": true,
"preferred_service": "fedex_express_saver",
"shipment_date": "2020-01-01", # TODO: deprecate
"shipping_date": "2020-01-01T00:00",
"shipment_note": "This is a shipment note",
"signature_confirmation": true,
"saturday_delivery": true,
"is_return": true,
"doc_files": [
{
"doc_type": "commercial_invoice",
"doc_file": "base64 encoded file",
"doc_name": "commercial_invoice.pdf",
"doc_format": "pdf",
}
],
"doc_references": [
{
"doc_id": "123456789",
"doc_type": "commercial_invoice",
}
],
}
</details>
The shipment reference
The shipment label file type.
The list of configured carriers you wish to get rates from.<br/> Note that the request will be sent to all carriers in nothing is specified
The attached tracker id
The shipment creation datetime.<br/> Date Format: YYYY-MM-DD HH:MM:SS.mmmmmmz
User metadata for the shipment
The current Shipment status
The shipment carrier
The shipment carrier configured identifier
The shipment tracking number
The shipment carrier system identifier
provider specific metadata
The selected service
The shipment selected rate.
Specified whether it was created with a carrier in test mode
The shipment label URL
The shipment invoice URL
Changes
No recorded changes to this endpoint across all 1 revision of this API.