-
开发者必读
批量创建二程出库单
POST https://eu-openapi.chukou1.cn:87/v1/outboundOrders/multiple
½Ó¿Ú˵Ã÷: 每个客户的不同PackageId第一次提交视作新增订单;如果数据改动后再次提交,视作修改订单(取消原订单,重新生成一个新的订单)
批量创建二程出库单,然后需要获取出库单状态,判断是否创建成功
Http 200 - 提交成功
Http 400 - 提交的数据有误,请检查ÊäÈë²ÎÊý
Body Parameters
Ãû³Æ ÀàÐÍ ¸ñʽҪÇó ÊÇ·ñ±ØÐë ÃèÊö ʾÀýÖµ WarehouseId string ³¤¶È: 0 ~ 30
±ØÐë
仓库Id
US
Packages Collection of Package None.
±ØÐë
出库包裹信息,不超过20个包裹
Channel string None.
发货规则,用于客户自提指定发货规则或者carrier
FedEx
SubmitLater boolean None.
是否稍后提审,默认是false
false
{ "WarehouseId": "sample string 1", "Packages": [ { "PackageId": "sample string 1", "PreSale": true, "ShipmentId": "sample string 2", "ServiceCode": "sample string 3", "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" }, "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" } ], "ExportsInfo": { "EoriCode": "sample string 1", "Country": "sample string 2", "Province": "sample string 3", "City": "sample string 4", "Street1": "sample string 5", "Street2": "sample string 6", "Postcode": "sample string 7", "Contact": "sample string 8", "Company": "sample string 9", "Phone": "sample string 10", "Email": "sample string 11" }, "ImportsInfo": { "EoriCode": "sample string 1", "Country": "sample string 2", "Province": "sample string 3", "City": "sample string 4", "Street1": "sample string 5", "Street2": "sample string 6", "Postcode": "sample string 7", "Contact": "sample string 8", "Company": "sample string 9", "Phone": "sample string 10", "Email": "sample string 11" }, "SellPrice": 4, "SellPriceCurrency": "sample string 5", "Remark": "sample string 6", "SalesPlatform": "sample string 7", "ImportTrackingNumber": "sample string 8", "VatCode": "sample string 9", "CodAmount": 10, "ImportLabel": "sample string 11", "IsCreateNewOrder": true }, { "PackageId": "sample string 1", "PreSale": true, "ShipmentId": "sample string 2", "ServiceCode": "sample string 3", "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" }, "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" } ], "ExportsInfo": { "EoriCode": "sample string 1", "Country": "sample string 2", "Province": "sample string 3", "City": "sample string 4", "Street1": "sample string 5", "Street2": "sample string 6", "Postcode": "sample string 7", "Contact": "sample string 8", "Company": "sample string 9", "Phone": "sample string 10", "Email": "sample string 11" }, "ImportsInfo": { "EoriCode": "sample string 1", "Country": "sample string 2", "Province": "sample string 3", "City": "sample string 4", "Street1": "sample string 5", "Street2": "sample string 6", "Postcode": "sample string 7", "Contact": "sample string 8", "Company": "sample string 9", "Phone": "sample string 10", "Email": "sample string 11" }, "SellPrice": 4, "SellPriceCurrency": "sample string 5", "Remark": "sample string 6", "SalesPlatform": "sample string 7", "ImportTrackingNumber": "sample string 8", "VatCode": "sample string 9", "CodAmount": 10, "ImportLabel": "sample string 11", "IsCreateNewOrder": true } ], "Channel": "sample string 2", "SubmitLater": true }
·µ»Ø½á¹û
Ãû³Æ ÀàÐÍ ¸ñʽҪÇó ÊÇ·ñ±ØÐë ÃèÊö ʾÀýÖµ PackageId string None.
包裹Id
Success boolean None.
是否成功
Message string None.
错误消息
ErrorCode string None.
错误代码
[ { "PackageId": "sample string 1", "Success": true, "Message": "sample string 3", "ErrorCode": "sample string 4" }, { "PackageId": "sample string 1", "Success": true, "Message": "sample string 3", "ErrorCode": "sample string 4" } ]