守务国际TMS对接文档
    • 创建订单
      POST
    • 获取面单
      POST
    • 订单查询
      POST
    • 物流轨迹查询
      POST
    • 取消订单
      POST
    • 渠道列表
      POST

      创建订单

      测试环境
      http://test-xdcs.shshouwu.com
      测试环境
      http://test-xdcs.shshouwu.com
      POST
      http://test-xdcs.shshouwu.com
      /api/freight/order/Merchant/createOrder

      请求参数

      Header 参数

      Body 参数application/json

      示例
      {
          "address": "*******",
          "address2": "******",
          "cityName": "ROHNERT PARK",
          "countryName": "US",
          "height": 1,
          "insuranceFee": 0,
          "length": 1,
          "receiverEmail": "******@qq.com",
          "mobile": "+*******",
          "orderItemList": [
              {
                  "customsCode": "6305390000",
                  "itemCnDesc": "迷你棉绒滚筒行程尺寸",
                  "itemEnDesc": "Mini Lint Roller Stroke Dimensions",
                  "itemName": "迷你棉绒滚筒行程尺寸",
                  "itemNo": "Mini Lint Roller Stroke Dimensions",
                  "price": 9.32,
                  "quantity": 1,
                  "asinCode": "*******",
                  "merchantPid": "*******",
                  "manufacturerPid": "*******",
                  "standardPid": "*******"
              }
          ],
          "orderNo": "*******",
          "postcode": "*****",
          "receiverName": "********",
          "registrationNumber": "IM4420001405",
          "restricted": false,
          "routeCode": "P523678",
          "shipper": {
              "shipperAddress": "上海市松江区**********",
              "shipperCity": "Shanghai",
              "shipperCountryCode": "CN",
              "shipperMobile": "*******",
              "shipperName": "***",
              "shipperPostcode": "200000",
              "shipperState": "Shanghai",
              "shipperTelephone": "*******"
          },
          "stateName": "CA",
          "warehouseName": "",
          "weight": 0.18,
          "width": 1
      }

      请求示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location 'http://test-xdcs.shshouwu.com/api/freight/order/Merchant/createOrder' \
      --header 'x-app-id: 2442983288' \
      --header 'x-app-secret: 58f5683b7cf63412106ba683c7f060174' \
      --header 'x-request-time: 1739762920002' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "address": "*******",
          "address2": "******",
          "cityName": "ROHNERT PARK",
          "countryName": "US",
          "height": 1,
          "insuranceFee": 0,
          "length": 1,
          "receiverEmail": "******@qq.com",
          "mobile": "+*******",
          "orderItemList": [
              {
                  "customsCode": "6305390000",
                  "itemCnDesc": "迷你棉绒滚筒行程尺寸",
                  "itemEnDesc": "Mini Lint Roller Stroke Dimensions",
                  "itemName": "迷你棉绒滚筒行程尺寸",
                  "itemNo": "Mini Lint Roller Stroke Dimensions",
                  "price": 9.32,
                  "quantity": 1,
                  "asinCode": "*******",
                  "merchantPid": "*******",
                  "manufacturerPid": "*******",
                  "standardPid": "*******"
              }
          ],
          "orderNo": "*******",
          "postcode": "*****",
          "receiverName": "********",
          "registrationNumber": "IM4420001405",
          "restricted": false,
          "routeCode": "P523678",
          "shipper": {
              "shipperAddress": "上海市松江区**********",
              "shipperCity": "Shanghai",
              "shipperCountryCode": "CN",
              "shipperMobile": "*******",
              "shipperName": "***",
              "shipperPostcode": "200000",
              "shipperState": "Shanghai",
              "shipperTelephone": "*******"
          },
          "stateName": "CA",
          "warehouseName": "",
          "weight": 0.18,
          "width": 1
      }'

      返回响应

      🟢200成功
      application/json
      Bodyapplication/json

      示例
      {
          "result": {
              "code": 0
          },
          "data": {
              "orderNo": "******",
              "transhipNo": "******",
              "waybillNo": "***********"
          }
      }
      🔴500错误
      修改于 2026-10-19 04:27:00
      下一页
      获取面单
      Built with