-
开发者必读
创建中国直发订单(包含箱子信息)
POST https://eu-openapi.chukou1.cn:87/v1/directExpressOrdersHaveBox
½Ó¿Ú˵Ã÷: 每个客户的不同PackageId第一次提交视作新增订单;如果数据改动后再次提交,视作修改订单
创建中国直发订单,然后调用【获取中国直发多箱订单状态】接口,【获取中国直发多箱订单状态】接口响应数据中的Status值为"Created",并且TrackingNumber有值,才算创建成功
Http 201 - 提交成功
Http 200 - 订单已存在,忽略当前提交的订单
Http 400 - 提交的数据有误,请检查ÊäÈë²ÎÊý
Body Parameters
Ãû³Æ ÀàÐÍ ¸ñʽҪÇó ÊÇ·ñ±ØÐë ÃèÊö ʾÀýÖµ PackageId string ³¤¶È: 0 ~ 50
Âú×ãÕýÔò: ^[a-zA-Z0-9\-_]*$
±ØÐë
包裹Id(第三方系统自定义Id,客户+包裹Id 具有唯一性)
SMT23015236489
Location string ³¤¶È: 0 ~ 20
±ØÐë
处理点 如不填则使用商家默认
GZ
ServiceCode string ³¤¶È: 0 ~ 30
±ØÐë
发货服务代码
CUE
ContainerInfos Collection of ContainerInfo None.
±ØÐë
箱子信息
ShipToAddress ShipToAddress None.
±ØÐë
收货地址,联系人
ShipperInfo ShipperInfo None.
发件人信息(如为FBA专线发往日本或者为DHL等快递类服务,请必填附加信息)
Custom string ³¤¶È: 0 ~ 1000
客户自定义,可以用于打印在地址标签Custom区域
bag-red
VatCode string None.
Vat号
Remark string ³¤¶È: 0 ~ 1000
备注
remark
{ "PackageId": "sample string 1", "Location": "sample string 2", "ServiceCode": "sample string 3", "ContainerInfos": [ { "CustomContainerNo": "sample string 1", "Weight": 2, "Length": 3, "Width": 4, "Height": 5, "SkuInfos": [ { "Sku": "sample string 1", "Picture": "sample string 2", "Charged": true, "ASINCode": "sample string 4", "ModelName": "sample string 5", "DeclareNameEN": "sample string 6", "DeclareNameCN": "sample string 7", "Quantity": 8, "DeclareValue": 9, "MaterialEN": "sample string 10", "MaterialCN": "sample string 11", "PurposeEN": "sample string 12", "PurposeCN": "sample string 13", "BrandName": "sample string 14", "Weight": 15, "Packing": "sample string 16", "HsCode": "sample string 17" }, { "Sku": "sample string 1", "Picture": "sample string 2", "Charged": true, "ASINCode": "sample string 4", "ModelName": "sample string 5", "DeclareNameEN": "sample string 6", "DeclareNameCN": "sample string 7", "Quantity": 8, "DeclareValue": 9, "MaterialEN": "sample string 10", "MaterialCN": "sample string 11", "PurposeEN": "sample string 12", "PurposeCN": "sample string 13", "BrandName": "sample string 14", "Weight": 15, "Packing": "sample string 16", "HsCode": "sample string 17" } ] }, { "CustomContainerNo": "sample string 1", "Weight": 2, "Length": 3, "Width": 4, "Height": 5, "SkuInfos": [ { "Sku": "sample string 1", "Picture": "sample string 2", "Charged": true, "ASINCode": "sample string 4", "ModelName": "sample string 5", "DeclareNameEN": "sample string 6", "DeclareNameCN": "sample string 7", "Quantity": 8, "DeclareValue": 9, "MaterialEN": "sample string 10", "MaterialCN": "sample string 11", "PurposeEN": "sample string 12", "PurposeCN": "sample string 13", "BrandName": "sample string 14", "Weight": 15, "Packing": "sample string 16", "HsCode": "sample string 17" }, { "Sku": "sample string 1", "Picture": "sample string 2", "Charged": true, "ASINCode": "sample string 4", "ModelName": "sample string 5", "DeclareNameEN": "sample string 6", "DeclareNameCN": "sample string 7", "Quantity": 8, "DeclareValue": 9, "MaterialEN": "sample string 10", "MaterialCN": "sample string 11", "PurposeEN": "sample string 12", "PurposeCN": "sample string 13", "BrandName": "sample string 14", "Weight": 15, "Packing": "sample string 16", "HsCode": "sample string 17" } ] } ], "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" }, "ShipperInfo": { "Contact": "sample string 1", "Phone": "sample string 2", "Email": "sample string 3", "Country": "sample string 4", "Province": "sample string 5", "City": "sample string 6", "Street1": "sample string 7", "Street2": "sample string 8", "Postcode": "sample string 9" }, "Custom": "sample string 4", "VatCode": "sample string 5", "Remark": "sample string 6" }
·µ»Ø½á¹û
None.