Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

获取邮递服务

Include Page
获取客户专线订单邮递服务
获取客户专线订单邮递服务

创建订单

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

Code Block
collapsetrue
[
  {
    "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

Table of Contents