This endpoint updates shipment details. Only shipments with status “label_created” can be modified. Once picked up, use the cancel endpoint to void.
Authentication
This endpoint requires a valid API key with shipments:write
permissions.
Authorization: Bearer YOUR_API_KEY
Path Parameters
The unique identifier of the shipment
Request Body
New scheduled ship date (ISO 8601)
Update signature requirement
Update Saturday delivery option
Update insurance optionsShow Insurance properties
Response
Returns the updated shipment object.
curl --location --request PUT 'https://api.stateset.com/v1/shipments/ship_0901f083-aa1c-43c5-af5c-0a9d2fc64e30' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data-raw '{
"ship_date": "2024-01-21T08:00:00Z",
"service_type": "express",
"insurance": {
"enabled": true,
"amount": 20000
}
}'
{
"id": "ship_0901f083-aa1c-43c5-af5c-0a9d2fc64e30",
"object": "shipment",
"status": "label_created",
"updated_at": "2024-01-19T16:00:00Z",
"ship_date": "2024-01-21T08:00:00Z",
"carrier": "ups",
"service_type": "express",
"rate": {
"amount": 2850,
"currency": "USD",
"estimated_delivery_date": "2024-01-22T18:00:00Z"
},
"insurance": {
"enabled": true,
"amount": 20000,
"currency": "USD"
}
}