FlavorCloud Partner API Documentation
  1. Shipments
FlavorCloud Partner API Documentation
  • Authentication
    • Get Auth Token
      POST
  • Rates
    • Get Rates
      POST
  • Shipments
    • Create Shipments
      POST
    • Get Shipments
      GET
    • Cancel Shipments
      PUT
  • Tracking
    • Get Tracking Detail
      GET
  • Classifications
    • Get Classification
      POST
  • Landed Cost
    • Get Landed Cost
      POST
  • Webhooks
    • Subscribe Webhooks
      POST
    • Unsubscribe Webhooks
      POST
  • Invoices
    • Get Invoice Detail
      GET
    • Get Invoices
      GET
  1. Shipments

Cancel Shipments

PUT
/CancelShipment
Shipments
Cancel an existing shipment using the ShipmentID.

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
Customer key
ShipmentID
string 
required
ShipmentID
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
The unique id for the shipment that can be used to retrieve it later
Example
{
    "ShipmentID": "string"
}
🟠401Authentication Error
🟠422Validation Error
🔴500Error Response
Modified at 2025-04-28 20:49:09
Previous
Get Shipments
Next
Get Tracking Detail
Built with