Update Shipment

Find below more details on how you can update a shipment

Update Shipment

PATCH https://api-sandbox.shiplemon.com/v1/shipments/:id

Request Body

Name
Type
Description

metadata

object

You can update the metadata object with any key value pair. Accepted values are string, number and boolean

Important! you should include always the entire object that you want to update

Request

Example request body

curl -x POST https://api-sandbox.shiplemon.com/v1/shipments/:id  \
    -H "x-api-key: <YOUR_API_KEY>" \
    -H "Content-Type: application/json"  \
    -d '{
    "metadata": {
       "some_key_1": true,
       "some_key_2": "some value",
       "some_key_3": 3
       }
    }'

Response

Returns the updated shipment

Last updated