4-1. 批量创建客户专线订单

获取邮递服务

地址: GET  http://test.birdsystem.com/client/delivery-service?consignment_type=CLIENT_DIRECT&status=ACTIVE

暂时没有,需要的话,找客服设置

返回

{
    "total": 0,
    "data": [],
    "success": true,
    "moduleName": "client"
}

创建订单

URL https://test.birdsystem.com/client/consignment/Post-Pending-Consignment-With-Products-Json?type=client_direct
参数

[
  {
    "delivery_service_id" : "1",
    "delivery_package_size_id" : "1",
    "contact" : "abc",
    "address_line1" : "Sömmeringstr. 78",
    "city" : "Hördt",
    "county" : "Rheinland-Pfalz",
    "post_code" : "76771",
    "country_iso" : "DE",
    "telephone" : "0204342535",
    "sender_contact":"sender name",
    "sender_address_line1":"sender address",
    "sender_city":"sender city",
    "sender_post_code":"76771",
    "sender_telephone" : "0204342535",
    "sender_country_iso" : "FR",
    "packages" : [
      {
        "reference" : "1",
        "length" : "3",
        "width" : "2",
        "depth" : "1",
        "weight" : "1",

        "products" : [
          {
            "name" : "light",
            "commodity_code" : "hscode",
            "quantity" : "2",
            "price" : "3",
            "price_customs_export" : "3"
          }
        ]
      },
      {
        "reference" : "1",
        "length" : "3",
        "width" : "2",
        "depth" : "1",
        "weight" : "1",

        "products" : [
          {
            "name" : "light",
            "commodity_code" : "hscode",
            "quantity" : "2",
            "price" : "3",
            "price_customs_export" : "3",
            "net_weight" : "3",
            "origin_country_iso" : "CN"
          },
          {
            "name" : "light2",
            "commodity_code" : "hscode2",
            "quantity" : "2",
            "price" : "3",
            "price_customs_export" : "3",
            "net_weight" : "3",
            "origin_country_iso" : "CN"
          }
        ]
      }
    ]
  },
  {
    "delivery_service_id" : "1",
    "delivery_package_size_id" : "1",
    "contact" : "abc",
    "address_line1" : "Sömmeringstr. 78",
    "city" : "Hördt",
    "county" : "Rheinland-Pfalz",
    "post_code" : "76771",
    "country_iso" : "DE",
    "telephone" : "0204342535",
    
    "sender_contact":"sender name",
    "sender_address_line1":"sender address",
    "sender_city":"sender city",
    "sender_post_code":"76771",
    "sender_telephone" : "0204342535",
    "sender_country_iso" : "FR",

    "packages" : [
      {
        "reference" : "1",
        "length" : "3",
        "width" : "2",
        "depth" : "1",
        "weight" : "1",

        "products" : [
          {
            "name" : "light",
            "commodity_code" : "hscode",
            "quantity" : "2",
            "price" : "3",
            "price_customs_export" : "3",
            "net_weight" : "3"
          }
        ]
      }
    ]
  }
]

通过api传入的尺寸单位为cm, 重量单位为kg