Delete shipment
DELETE/shipments/:shipment_id
Delete a shipment with the specified ID and stop tracking it.
Only the shipment ID can be provided. Deleting a shipment by tracking code is not supported.
Request
Path Parameters
ID of the shipment.
Responses
- 200
- 401
- 402
- 404
- 429
Shipment deleted and tracking stopped.
The API token in the request is missing or is invalid. See the Error responses page for more details.
- application/json
- Schema
- Example (from schema)
Schema
error
object
HTTP status code of the error.
Human-readable message describing the error.
Optional machine-readable code providing details about some 4xx
errors.
{
"error": {
"status": 0,
"message": "string",
"code": "string"
}
}
No active plan for the account or plan doesn't allow API/endpoint usage. See the Error responses page for more details.
- application/json
- Schema
- Example (from schema)
Schema
error
object
HTTP status code of the error.
Human-readable message describing the error.
Optional machine-readable code providing details about some 4xx
errors.
{
"error": {
"status": 0,
"message": "string",
"code": "string"
}
}
The requested resource does not exist. See the Error responses page for more details.
- application/json
- Schema
- Example (from schema)
Schema
error
object
HTTP status code of the error.
Human-readable message describing the error.
Optional machine-readable code providing details about some 4xx
errors.
{
"error": {
"status": 0,
"message": "string",
"code": "string"
}
}
The API rate limit has been exceeded. See the Error responses page for more details.
- application/json
- Schema
- Example (from schema)
Schema
error
object
HTTP status code of the error.
Human-readable message describing the error.
Optional machine-readable code providing details about some 4xx
errors.
{
"error": {
"status": 0,
"message": "string",
"code": "string"
}
}