FM_APIs
  1. Shipment Processing
FM_APIs
  • Shipment Order
    • /shipmentorder
      POST
  • Shipment Processing
    • /RTS/markRTS
      POST
    • /shipmentDetails/labelLink
      POST
    • /RTS/bulkMarkRTS
      POST
    • /ShipmentCancellation/markCancellation
      POST
    • /orderProcessing/printLabel
      POST
    • /orderProcessing/printInvoice
      POST
    • /orderProcessing/searchOrders
      POST
  • Shipment Tracking
    • /ClientOrderIn/orderTrackingDetails
      GET
    • /ClientOrderIn/eventDetails
      GET
    • /api/shipmentTracking/{awbNumber}
      GET
  1. Shipment Processing

/ShipmentCancellation/markCancellation

POST
/ShipmentCancellation/markCancellation
Shipment Processing
The API allows marking shipment as cancelled

Request

Body Params application/json
data
object 
optional
Object containing shipment reference details.
clientShipmentReferenceNumber
string 
optional
The unique reference number for the client shipment.
cancellationReason
string 
optional
Reason code for cancellation.
cancellationRequestTime
integer 
optional
The timestamp when the cancellation is requested.
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
Successful response indicating shipment cancellation details were updated.
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
Previous
/RTS/bulkMarkRTS
Next
/orderProcessing/printLabel
Built with