FASTRAC-DOC-API V2 (B2B API STAGING)
  1. Order API
FASTRAC-DOC-API V2 (B2B API STAGING)
  • Overview
  • Changelog V2
  • Region API
    • Province
      GET
    • City
      GET
    • District
      GET
    • Sub-District
      GET
    • Post Code
      GET
    • Search Region
      POST
  • Courier API
    • All Courier
      GET
    • Courier Service
      GET
  • Check Tariff API
    • Check Tariff (Express Delivery)
      POST
    • Check Tariff (Instant Delivery)
      POST
    • Calculate Multi Items
      POST
  • Order API
    • Order Express
      POST
    • Order Instant
      POST
    • Cancel Order
      POST
    • Tracking Order
      GET
    • Item Categories
      GET
  • Webhook API
    • Example Webhook payload
    • Set Webhook
      POST
    • Get Webhook
      GET
  • User API
    • Balance History
      POST
  • API-Tariff
  • API-Order
  1. Order API

Cancel Order

POST
/order/cancel
PropertyTypeRequiredNotes
courier_codestringtrue
awbstringtrue
cancel_reasonstringtruemin:5, max:150
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/order/cancel' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data-raw '{
    "courier_code":"paxel",
    "awb":"CO.FASTRAC-20241217-1-JP0M2J",
    "cancel_reason":"test cancelation"
}'
Response Response Example
404 - 404 - Not Found
{
    "success": false,
    "message": "An error occurred while placing an cancel"
}

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
Body Params application/json

Examples

Responses

🟠404404 - Not Found
application/json
Body

🟢200200 - Works fine.
Modified at 2025-08-22 03:44:57
Previous
Order Instant
Next
Tracking Order
Built with