GKE OPEN API
  1. Waybill Module
GKE OPEN API
  • Integration Guide
  • Basic Module
    • Get Token
    • Get Service List
    • PCCC Query
  • Waybill Module
    • Create Order
      POST
    • Print Label
      POST
    • Query Order
      POST
    • Cancel Order
      POST
    • Intercept Order
      POST
    • Cancel Intercept
      POST
    • Order Confirm
      POST
    • Update Weight
      POST
    • Update Label
      POST
    • Get POD
      POST
    • Query Charges
      POST
    • Query Order Track
      POST
  • Container & Batche
    • Create Container
    • Cancel Container
    • Print Container label
    • Scan Form
    • Get Scan Form Result
    • Manifest
    • Get Manifest Result
    • Update Flight info
  • Other materials
    • Waybill Tracking Nodes and Status Description
  1. Waybill Module

Cancel Order

POST
cancel/label/
Call this API to cancel a waybill. Waybills that have already been received into the warehouse or confirmed cannot be canceled directly and require manual review approval.
Return to guide

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Example
{
    "cancel_type": "2",
    "num_type": 2,
    "num": "HGE2601070000047"
}

Request Code Samples

Shell
HTTP
Python
Java
PHP
Go
C
C#
JavaScript
Swift
Dart
Objective-C
Ruby
OCaml
R
Request Request Example
Shell
HTTP
Python
Java
curl --location --request POST 'cancel/label/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cancel_type": "2",
    "num_type": 2,
    "num": "HGE2601070000047"
}'

Responses

🟢200OK
application/json
Body

Examples
{
    "code": 200,
    "success": true,
    "detail": "Cancellation successful",
    "data": {
        "customer_order_num": "P10001-20260106161432",
        "order_num": "HGE2601060000113",
        "tracking_num": "800916518732"
    }
}
🟠400Bad Request
🟠401Unauthorized
🟠404Not Found
🔴500Internal Server Error
Previous
Query Order
Next
Intercept Order