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

      获取订单详情接口

      POST
      /api/order/getorderinfo
      获取订单详细信息,可以获取运费、计费重、分区、跟踪号和面单

      请求参数

      Body 参数application/json

      示例
      {
          "user_code": "YOTOTEST",
          "token": "vVTrLw3LNw7/zKTnBPH9wg==",
          "order_number": "AL0019221CN"
      }

      请求示例代码

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

      返回响应

      🟢200成功
      application/json
      Body

      示例
      {
          "code": 200,
          "msg": "获取成功",
          "data": {
              "order_number": "OR125412451315",
              "reference_order_number": "YT1201645156",
              "tracking_number": "XT001234546",
              "shipping_fee": 20.3,
              "fee_weight": 0.567,
              "order_status": "待收货",
              "total_declare_value": 10,
              "ship_channel_code": "TJXZ001",
              "zone": "TJ",
              "client_weight": 0.5,
              "tax_id": "",
              "sale_link": "https://yellow-import.name/",
              "length": 13.5,
              "width": 12,
              "height": 11.2,
              "recipient_name": "ALLEN",
              "recipient_company": "",
              "recipient_address1": "quis ex irure mollit",
              "recipient_address2": "anim",
              "recipient_address3": "",
              "recipient_country": "TJ",
              "recipient_state": "test",
              "recipient_city": "test",
              "recipicent_zip": "08451",
              "recipient_phone": "022 6464 3654",
              "recipient_email": "lm1md2.i0k86@qq.com",
              "door_no": "",
              "label1": "https://test.gjxlh.com/test.pdf",
              "label2": "",
              "label3": "",
              "invoice_url": "",
              "battery_type": 1,
              "items": [
                  {
                      "sku": "Duis",
                      "quantity": 2,
                      "declare_name_cn": "玩具",
                      "declare_name_en": "TOY",
                      "declare_value": 10,
                      "hs_code": "45210000",
                      "weight": 0.2
                  },
                  {
                      "sku": "enim",
                      "quantity": 1,
                      "declare_name_cn": "钢笔",
                      "declare_name_en": "PEN",
                      "declare_value": 8,
                      "hs_code": "7700120000",
                      "weight": 1
                  }
              ]
          }
      }
      修改于 2025-11-07 09:50:36
      上一页
      直接获取面单接口
      下一页
      塔向获取自提点接口
      Built with