Void a shipment label
POST/v1/proxy/shipping/:carrier_name/cancel
Cancel a shipment and the label previously created
Request
Path Parameters
Possible values: [allied_express
, allied_express_local
, amazon_shipping
, aramex
, asendia_us
, australiapost
, boxknight
, bpost
, canadapost
, canpar
, chronopost
, colissimo
, dhl_express
, dhl_parcel_de
, dhl_poland
, dhl_universal
, dicom
, dpd
, dpdhl
, easypost
, easyship
, eshipper
, fedex
, fedex_ws
, freightcom
, generic
, geodis
, hay_post
, laposte
, locate2u
, nationex
, purolator
, roadie
, royalmail
, sapient
, seko
, sendle
, tge
, tnt
, ups
, usps
, usps_international
, usps_wt
, usps_wt_international
, zoom2u
]
- application/json
Body
required
The shipment identifier returned during creation.
The selected shipment service
The shipment carrier_id for specific connection selection.
options
object
Advanced carrier specific cancellation options.
Default value: [object Object]
Advanced carrier specific cancellation options.
Responses
- 202
- 400
- 424
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
messages
object[]
The list of note or warning messages
The error or warning message
The message code
details
object
any additional details
any additional details
The targeted carrier
The targeted carrier name (unique identifier)
confirmation
object
Operation performed
Specify whether the operation was successful
The operation carrier
The targeted carrier's name (unique identifier)
{
"messages": [
{
"message": "string",
"code": "string",
"details": {},
"carrier_name": "string",
"carrier_id": "string"
}
],
"confirmation": {
"operation": "string",
"success": true,
"carrier_name": "string",
"carrier_id": "string"
}
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
errors
object[]
The list of API errors
The error or warning message
The message code
details
object
any additional details
any additional details
{
"errors": [
{
"message": "string",
"code": "string",
"details": {}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
messages
object[]
The list of error messages
The error or warning message
The message code
details
object
any additional details
any additional details
The targeted carrier
The targeted carrier name (unique identifier)
{
"messages": [
{
"message": "string",
"code": "string",
"details": {},
"carrier_name": "string",
"carrier_id": "string"
}
]
}