- Shipment Order
- Shipment Processing
- Shipment Tracking
/ShipmentCancellation/markCancellation
POST
/ShipmentCancellation/markCancellation
Shipment Processing
Request
Body Params application/json
data
object
optional
clientShipmentReferenceNumber
string
optional
cancellationReason
string
optional
cancellationRequestTime
integer
optional
Example
{
"data": {
"clientShipmentReferenceNumber": "240905-a0e0-15b7"
},
"cancellationReason": "CNC",
"cancellationRequestTime": 1725591741302
}
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 POST '/ShipmentCancellation/markCancellation' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"clientShipmentReferenceNumber": "240905-a0e0-15b7"
},
"cancellationReason": "CNC",
"cancellationRequestTime": 1725591741302
}'
Responses
🟢200OK
application/json
Body
msg
string
optional
Example:
Shipment Cancellation details updated successfully
status
boolean
optional
Example:
true
statusCode
integer
optional
Example:
1004
Example
{
"msg": "Shipment Cancellation details updated successfully",
"status": true,
"statusCode": 1004
}
🟠400Bad Request
🟠401Unauthorized
🟠403Forbidden
🟠404Record Not Found
🔴500Server Error