a84d4905fdbb
latestOpenAPI 3.1.02026-08-143874115.7 MBShipments
Update Shipment
Updates a shipment's tracking number and re-tracks it with the carrier.
patch/shipments/{id}
Request body
Example request
{
"tracking_number": "9400111899223456789012"
}Response
shipment updated
Example response
{
"account_id": "biz_xxxxxxxxxxxxxx",
"carrier": "ups",
"checkpoints": [
{
"location": "PHILADELPHIA, PA",
"message": "Picked up",
"status": "in_transit",
"timestamp": "2026-01-01T12:00:00.000Z"
}
],
"created_at": "2026-01-01T12:00:00.000Z",
"id": "ship_xxxxxxxxxxxxxx",
"payment_id": "pay_xxxxxxxxxxxxxx",
"status": "in_transit",
"tracking_number": "1Z999AA10123456784",
"tracking_url": "https://track.aftership.com/xxxxxxxxxxxxxxxxxx",
"updated_at": "2026-01-01T12:00:00.000Z"
}