Restore shipments
Changed onRestores one or more shipments that are on hold. Each restored shipment returns to the pending status and its hold_until_date is cleared. You can restore up to 500 shipments at once.
Shipments that cannot be restored — because they are not found or are not on hold — are reported in errors, and the remaining shipments are still restored. If only some of the shipments were restored, the response status is 207. If none of them could be restored, the response status is 404 when at least one shipment was not found, or 400 otherwise, and shipment_ids is empty.
To restore a single shipment, use Restore a shipment.
Request
- Base URL: https://api.shipengine.com
- URL: https://api.shipengine.com/v1/shipments/restore
- Auth: API key in header API-Key
Request body
Example request
{
"shipment_ids": [
"se-202902255",
"se-202902256"
]
}Response
The request was a success.
Example response
{
"shipment_ids": [
"se-202902255",
"se-202902256"
],
"errors": [
{
"error_source": "shipengine",
"error_type": "validation",
"error_code": "invalid_field_value",
"message": "Body of request cannot be null.",
"carrier_id": "se-28529731",
"carrier_code": "dhl_express",
"field_name": "shipment.ship_to.phone_number"
}
],
"request_id": "aa3d8e8e-462b-4476-9618-72db7f7b7009"
}Changes
- ▲
the
/request property's minLength was increased from0to1 - ▲
added the pattern
^se(-[a-z0-9]+)+$to the request property/ - ▲
the
/request property type changed from no type tostring - ▲
the
/response's property type changed from no type toobjectfor status - ▲
the
/response's property type changed from no type toobjectfor status - ▲
the
/response's property type changed from no type toobjectfor status - ▲
the
/response's property type changed from no type toobjectfor status - ▲
the
/response's property type changed from no type toobjectfor status - ▲
the
/response's property type changed from no type tostringfor status - ▲
the
/response's property type changed from no type tostringfor status - ●
removed from the
/request propertyallOflist - ●
the
/request property's maxLength was set to25 - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
added the optional property
//to the response with the status - ○
removed from the
/response propertyallOflist for the response status - ○
removed from the
/response propertyallOflist for the response status - ○
removed from the
/response propertyallOflist for the response status - ○
removed from the
/response propertyallOflist for the response status - ○
removed from the
/response propertyallOflist for the response status - ○
removed from the
/response propertyallOflist for the response status - ○
removed from the
/response propertyallOflist for the response status - ○
the
/response's property pattern^se(-[a-z0-9]+)+$was added for the status - ○
the
/response's property pattern^se(-[a-z0-9]+)+$was added for the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status - ○
added the required property
//to the response with the status
- ▲
- ○
endpoint added
- ○