- Authentication
- Rates
- Shipments
- Tracking
- Batches
- Classifications
- Customer
- Landed Cost
- Manifest
- Webhooks
- Invoices
Cancel Shipments
PUT
/CancelShipment
Shipments
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
CustomerKey
string
optional
ShipmentID
string
required
Example
{
"ShipmentID": "m1jlce8egkf"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://partnerapi.flavorcloud.com/CancelShipment' \
--header 'Content-Type: application/json' \
--data-raw '{
"ShipmentID": "m1jlce8egkf"
}'
Responses
🟢200Cancel Shipment Response
application/json
Body
ShipmentID
string
required
Example
{
"ShipmentID": "string"
}
🟠401Authentication Error
🟠422Validation Error
🔴500Error Response
Modified at 2025-04-28 20:49:09