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

Query Order

POST
query/order/
Call this API to retrieve all information for a waybill.
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
{
    "num_type": 2,
    "num": "HGE2601050000285"
}

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 'query/order/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "num_type": 2,
    "num": "HGE2601050000285"
}'

Responses

🟢200OK
application/json
Body

Examples
{
    "code": 200,
    "success": true,
    "detail": "success",
    "data": {
        "customer_order_num": "P10006-20260108182516",
        "order_num": "HGE260108000022E",
        "tracking_num": "",
        "delivery_carrier": "",
        "service_code": "P10006",
        "order_remark": "",
        "is_confirm_label": false,
        "ship_date": "",
        "need_track": "",
        "is_overseas_return": false,
        "is_signature": false,
        "shipper_info": {
            "full_name": "Allen Jin Gned",
            "first_name": "Allen",
            "middle_name": "Jin",
            "last_name": "Gned",
            "company": "company_name",
            "phone": "+1 12345678",
            "mobile": "+1 102345678",
            "email": "contact_email",
            "country": "US",
            "postcode": "90001",
            "province": "CA",
            "city": "Los Angeles",
            "region": "region",
            "street": "street",
            "address": "453-429 E 71st St",
            "house_no": "13",
            "tax_id": "TAX12345678",
            "creds_type": "PCCC",
            "creds_id": "P12345678910",
            "creds_issuing_code": "code",
            "creds_issuing_name": "name",
            "creds_issuing_date": "2021-12-13",
            "creds_birthday": "1985-12-12"
        },
        "consignee_info": {
            "full_name": "Allen Jin Gned",
            "first_name": "Allen",
            "middle_name": "Jin",
            "last_name": "Gned",
            "company": "company_name",
            "phone": "+1 12345678",
            "mobile": "+1 102345678",
            "email": "contact_email",
            "country": "US",
            "postcode": "90001",
            "province": "CA",
            "city": "Los Angeles",
            "region": "region",
            "street": "street",
            "address": "453-429 E 71st St",
            "house_no": "13",
            "tax_id": "TAX12345678",
            "creds_type": "PCCC",
            "creds_id": "P12345678910",
            "creds_issuing_code": "code",
            "creds_issuing_name": "name",
            "creds_issuing_date": "2021-12-13",
            "creds_birthday": "1985-12-12"
        },
        "return_info": {},
        "parcel_list": [
            {
                "parcel_num": "53",
                "weight": 0.001,
                "length": 0.1,
                "width": 0.1,
                "height": 0.1,
                "item_list": [
                    {
                        "export_declared": "书包",
                        "export_hscode": "3926 9033",
                        "export_price": 1.112,
                        "export_price_currency": "CNY",
                        "import_declared": "bag",
                        "import_hscode": "3926 9033",
                        "import_price": 1.15,
                        "import_price_currency": "USD",
                        "qty": 1,
                        "sale_currency": "USD",
                        "sale_price": 1.57,
                        "sale_link": "https://punctual-cassava.org",
                        "sku": "SKU-12124",
                        "name": "bag",
                        "desc": "书包",
                        "desc_en": "Purple",
                        "brand": "Nike",
                        "model": "B125",
                        "remark": "H-A-0001",
                        "length": 0.23,
                        "width": 2.6,
                        "height": 3.6,
                        "weight": 1.678,
                        "material": "nylon",
                        "uses": "Personal use",
                        "manufacture_name": "",
                        "manufacture_mid": "12345",
                        "manufacture_code": "",
                        "manufacture_Identifier_type": "",
                        "manufacture_Identifier_num": "",
                        "manufacture_country": "CN",
                        "manufacture_state": "guangdong",
                        "manufacture_city": "shenzhen",
                        "manufacture_postcode": "518000",
                        "manufacture_address": "nanshan qianhai 888"
                    },
                    {
                        "export_declared": "书包",
                        "export_hscode": "3926 9033",
                        "export_price": 1.112,
                        "export_price_currency": "CNY",
                        "import_declared": "bag",
                        "import_hscode": "3926 9033",
                        "import_price": 1.15,
                        "import_price_currency": "USD",
                        "qty": 1,
                        "sale_currency": "USD",
                        "sale_price": 1.57,
                        "sale_link": "https://punctual-cassava.org",
                        "sku": "SKU-12124",
                        "name": "bag",
                        "desc": "书包",
                        "desc_en": "Purple",
                        "brand": "Nike",
                        "model": "B125",
                        "remark": "H-A-0001",
                        "length": 0.23,
                        "width": 2.6,
                        "height": 3.6,
                        "weight": 1.678,
                        "material": "nylon",
                        "uses": "Personal use",
                        "manufacture_name": "",
                        "manufacture_mid": "12345",
                        "manufacture_code": "",
                        "manufacture_Identifier_type": "",
                        "manufacture_Identifier_num": "",
                        "manufacture_country": "CN",
                        "manufacture_state": "guangdong",
                        "manufacture_city": "shenzhen",
                        "manufacture_postcode": "518000",
                        "manufacture_address": "nanshan qianhai 888"
                    }
                ]
            }
        ],
        "tax_info": {
            "mode": "2",
            "type": "IOSS",
            "num": "13545646132",
            "company": "Company Name",
            "country": "US",
            "address": "address address 12345"
        }
    }
}
🔴500Internal Server Error
🟠401Unauthorized
🟠400Bad Request
🟠404Not Found
Previous
Print Label
Next
Cancel Order