创建二程自提单


POST https://eu-openapi.chukou1.cn/v1/ladingOrders
½Ó¿Ú˵Ã÷: 创建自提单,然后需要获取自提单状态,判断是否创建成功
Http 201 - 提交成功
Http 200 - 订单已存在,忽略当前提交的订单
Http 400 - 提交的数据有误,请检查

ÊäÈë²ÎÊý

Body Parameters
Ãû³ÆÀàÐ͸ñʽҪÇóÊÇ·ñ±ØÐëÃèÊöʾÀýÖµ
OrderNo string

³¤¶È: 0 ~ 30

±ØÐë

自提单号

YY20190524U000001US

ShipmentId string

³¤¶È: 0 ~ 50

Âú×ãÕýÔò: ^[a-zA-Z0-9\-_]*$

±ØÐë

参考号 相同参考号只能下一个单,重复下单将被忽略

MN006T0005

ReservationDate string

ʱ¼ä¸ñʽ: 2015-11-04T15:00:00Z

预约提货时间

WarehouseId string

³¤¶È: 0 ~ 30

±ØÐë

仓库Id

US

ServiceCode string

³¤¶È: 0 ~ 30

±ØÐë

发货服务代码

USRLE

ShipToAddress ShipToAddress

None.

±ØÐë

收货地址,联系人

PackageItems Collection of BatchPackageItem

None.

±ØÐë

包裹信息

ImportLabel string

None.

导入标签(Base64 编码),允许pdf文件

JVBERi0xLjQKJeLjz9MKMSAwIG9i.....

ÊäÈë²ÎÊýµÄjsonÐÎʽ
{
  "OrderNo": "sample string 1",
  "ShipmentId": "sample string 2",
  "ReservationDate": "sample string 3",
  "WarehouseId": "sample string 4",
  "ServiceCode": "sample string 5",
  "ShipToAddress": {
    "TaxId": "sample string 1",
    "HouseNumber": "sample string 2",
    "RecipientBirthday": "sample string 3",
    "IDNumber": "sample string 4",
    "BankCardLast4digits": "sample string 5",
    "PaymentType": "sample string 6",
    "IssuingInstitution": "sample string 7",
    "Taxfree": "sample string 8",
    "DutyParagraph": "sample string 9",
    "Contact": "sample string 10",
    "Phone": "sample string 11",
    "Email": "sample string 12",
    "Country": "sample string 13",
    "Province": "sample string 14",
    "City": "sample string 15",
    "Street1": "sample string 16",
    "Street2": "sample string 17",
    "Postcode": "sample string 18"
  },
  "PackageItems": [
    {
      "Skus": [
        {
          "Sku": "sample string 1",
          "StorageNo": "sample string 2",
          "Quantity": 3,
          "ProductName": "sample string 4",
          "Price": 5,
          "PlatformItemId": "sample string 6",
          "PlatformTransactionId": "sample string 7",
          "HsCode": "sample string 8"
        },
        {
          "Sku": "sample string 1",
          "StorageNo": "sample string 2",
          "Quantity": 3,
          "ProductName": "sample string 4",
          "Price": 5,
          "PlatformItemId": "sample string 6",
          "PlatformTransactionId": "sample string 7",
          "HsCode": "sample string 8"
        }
      ]
    },
    {
      "Skus": [
        {
          "Sku": "sample string 1",
          "StorageNo": "sample string 2",
          "Quantity": 3,
          "ProductName": "sample string 4",
          "Price": 5,
          "PlatformItemId": "sample string 6",
          "PlatformTransactionId": "sample string 7",
          "HsCode": "sample string 8"
        },
        {
          "Sku": "sample string 1",
          "StorageNo": "sample string 2",
          "Quantity": 3,
          "ProductName": "sample string 4",
          "Price": 5,
          "PlatformItemId": "sample string 6",
          "PlatformTransactionId": "sample string 7",
          "HsCode": "sample string 8"
        }
      ]
    }
  ],
  "ImportLabel": "sample string 6"
}

·µ»Ø½á¹û

None.