Update a Shipment Exception
Update an existing Shipment Exception
Path parameters
-
shipment_exception_id parameter
Body
-
Additional properties are allowed.
PATCH /shipment_exceptions/{shipment_exception_id}
curl \
-X PATCH https://api.arta.io/shipment_exceptions/{shipment_exception_id} \
-H "Content-Type: application/json" \
-H "Authorization: ARTA_APIKey s0e1t2e3c4a5s6t7r8o9n10o11m12y" \
-d '{"shipment_exception":{"status":"resolved","hold_until":"2023-08-15"}}'
Request example
{
"shipment_exception": {
"status": "resolved",
"hold_until": "2023-08-15"
}
}
Response examples (200)
{
"id": "d686ad3b-33fd-454c-a7aa-94b1ecbc539f",
"type": "held_at_customs",
"source": "api",
"status": "new",
"created_at": "2023-05-26T19:33:19.693833",
"hold_until": null,
"package_id": 4366794,
"resolution": null,
"updated_at": "2023-05-26T19:33:19.693833",
"shipment_id": "a5cbb58c-43ab-4658-9999-98a33b0070d5",
"exception_type_label": null
}
Response examples (404)
# Headers
content-type: application/json
x-arta-request-id: FkBjuxbwLLTx4RoAARkx
# Payload
{
"errors": {
"detail": "string"
}
}