Update a Shipment
Occasionally you may need to update a shipment's details after you've created the shipment but before shippign it. For instance, the package's size and weight have changed since you created the original shipment, or you may realize you didn't add necessary customs declarations.
Requirements
- The request URL must include the
shipment_id
(available from the create a shipment response, or you can get a shipment by key to find yourshipment_id
). - You'll need the
ship_to
and either theship_from
orwarehouse_id
properties. - You'll need any of the other properties you wish to update.
See Update Shipment By ID in our API reference for the full body schema.
Example Shipment Update Request & Response
In this example, we'll update the size and weight of a shipment. You can add the same parameters used in Size & Weight to update the shipment.
PUT /v1/shipments/:shipment_id
Example Response