全球运通对外接口
    全球运通对外接口
    • 下单预报接口
      POST
    • 轨迹查询接口
      POST
    • 直接获取面单接口
      GET
    • 获取订单详情接口
      POST
    • 塔向获取自提点接口
      POST
    • 订单取消接口
      POST

      轨迹查询接口

      POST
      /api/order/customergetorderroute

      请求参数

      Body 参数application/json

      示例
      {
          "user_code": "YOTOTEST",
          "token": "vVTrLw3LNw7/zKTnBPH9wg==",
          "number": [
              "BEK9975POST"
          ],
          "lang": "zh"
      }

      请求示例代码

      Shell
      Java
      Go
      PHP
      Python
      HTTP
      请求示例请求示例
      Shell
      Java
      Go
      PHP
      curl --location --request POST 'https://tms-test.gjxlh.com/api/order/customergetorderroute' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "user_code": "YOTOTEST",
          "token": "vVTrLw3LNw7/zKTnBPH9wg==",
          "number": [
              "BEK9975POST"
          ],
          "lang": "zh"
      }'

      返回响应

      🟢200成功
      application/json
      Body

      示例
      {
          "code": 200,
          "msg": "请求成功",
          "data": [
              {
                  "status": "success",
                  "msg": "轨迹获取成功",
                  "trackContent": {
                      "bsc_numbe": "BEK9975POST",
                      "ori_channel": "TJZX01",
                      "ori_number": "BEK9975POSTCU",
                      "ori_country": "CN",
                      "dest_country": "TJ",
                      "track_status": "待预报",
                      "in_date": 1761559689000,
                      "events": [
                          {
                              "on_time": 1761559689000,
                              "location": null,
                              "content": "【霍尔果斯】海关清关完成,下一站到达总仓"
                          },
                          {
                              "on_time": 1761557545000,
                              "location": null,
                              "content": "【霍尔果斯】包裹已从中转站发出,等待海关清关"
                          },
                          {
                              "on_time": 1761547412000,
                              "location": null,
                              "content": "【中国集货仓】包裹已发出,下一站霍尔果斯中转站"
                          },
                          {
                              "on_time": 1761547336000,
                              "location": null,
                              "content": "【中国集货仓】已经收到包裹"
                          },
                          {
                              "on_time": 1761545998000,
                              "location": null,
                              "content": "订单创建成功"
                          }
                      ]
                  }
              }
          ]
      }
      修改于 2025-12-18 03:28:02
      上一页
      下单预报接口
      下一页
      直接获取面单接口
      Built with