Update Shipment

info

You can only make calls to this endpoint if your shipment has not been finalized, which means the status of your shipment validation should be 'failure'.

This endpoint serves the purpose of fixing any errors that may have occurred during the creation step of your shipment. The list of errors can be obtained by querying the validation section through the GET endpoint.

To initiate an update for your shipment, you'll need two key components:

  1. Shipment ID: This identifier is crucial for specifying the shipment you wish to update.
  2. New JSON Object: A new JSON object is required to represent the updated shipment. The structure of this object should mirror that used in the creation of shipments, following the same format.

Example API Request

PUT https://api.quayconnect.io/v2/shipments/shipment-id/update
Headers:
Authorization: Bearer your-access-token
Content-Type: application/json

Request Body:
See the details here

If the update process is successful, you will receive a unique shipment identifier as confirmation.