-
开发者必读
创建二程自提单
POST http://openapi.ck1info.com/v1/ladingOrders
接口说明: 创建自提单,然后需要获取自提单状态,判断是否创建成功
Http 201 - 提交成功
Http 200 - 订单已存在,忽略当前提交的订单
Http 400 - 提交的数据有误,请检查输入参数
Body Parameters
名称 类型 格式要求 是否必须 描述 示例值 OrderNo string 长度: 0 ~ 30
必须
自提单号
YY20190524U000001US
ShipmentId string 满足正则: ^[a-zA-Z0-9\-_]*$
长度: 0 ~ 50
必须
参考号 相同参考号只能下一个单,重复下单将被忽略
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.....
{ "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.