invoiceCurrencyCode
接口说明
创建直邮小包订单
路径
HTTP Verb | URL |
|---|---|
| Post | qa: https://cfs-qa.etowertech.com/api/supplier-service/ /v1/openApi/packetOrder/b2c/createOrders |
...
请求头样例
POST /v1/openApi/packetOrder/b2c/createOrders HTTP/1.1 Host: http://cfs-qa.etowertech.com/ Content-Type: application/json |
请求字段(request)
| Table Filter | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
四级字段 |
发件人网点 | B2C:shipper facilityFF:warehouse
referenceNo
订单唯一编码 | 区分不同订单用
订单类型 | 枚举: | B2C=小包直邮(此处为该值) Fulfillment=仓库一件代发
枚举
DDU DDP
拓展字段 |
枚举: | 退件 销毁 枚举: | 退件 销毁
trackingNo | String | 80 | 包裹跟踪号
KG
G LB
invoiceCurrencyCode | String
M
'keepShipService': xxx boolean 是/否 'xxId':xxx
商品编号 | itemDescEn
sku | String | 128 |
String | 255 | 商品本地描述 |
8,2 |
年月日 |
|
请求样例
1、"ordertype":"Fulfillment"
| 代码块 |
|---|
[
{
"businessCode":"B0900919",
"facility": "Australian WarehouseALT4300",
"channelCode": "AU testZYMD-SKU-UPS",
"channelOption": "",
"referenceNo": "030919NX_{{$timestamp}}",
"orderType": "Fulfillment",
"originPortCode": "",
"injectPortCode": "",
"platform": "eBay",
"incoterm": "",
"collectionType": null,
"isInsurance": "",
"isSignature": "",
"remark": "testremark"testremark1234567890",
"isNeedConfirm": false,
"extendData": {
"extend": null
},
"purchaseOrderNo":"test2026",
"consignee": {
"addressCode": "11113AU POST",
"addressLine1": "street9230 address1 ",
"addressLine2": "8349hao address2 ",
"addressLine3": "345shi address3 ",
"city": "testcity city ",
"company": " testcompany 测试 ",
"countryCode": "usAU",
"district": "testdistrict district",
"email": "testemail@123 123456789@12.comcn ",
"extendData": null,
"name": "Mack 迈克尔 杰克逊 ",
"phone": "36247938384 1551234 56781234 ",
"state": "teststate state ",
"taxId": " testtaxid ",
"taxId1": "testtaxid1",
"zipCode": "8238juej 8238 juej "
},
"shipper": {
"addressLine1": "",
"addressLine2": "",
"addressLine3": "",
"city": "",
"company": "",
"countryCode": "",
"district": "",
"email": "",
"extendData": null,
"name": "1",
"phone": "",
"state": "",
"taxId": "",
"taxId1": "",
"zipCode": ""
},
"returnAddress": {
"addressLine1": "",
"addressLine2": "",
"addressLine3": "",
"city": "",
"company": "",
"countryCode": "",
"district": "",
"email": "",
"extendData": null,
"name": "",
"phone": "",
"returnOption": "",
"state": "",
"zipCode": ""
},
"parcels": [
{
"referenceNo": "12123",
"referenceNo1": "",
"referenceNo2": "",
"consignmentId": "",
"trackingNo": "{{$timestamp}}",
"descriptionEnlabel": "http:\/\/erp-huanan.oss-cn-shenzhen.aliyuncs.com\/html2pdf\/ec\/pdf\/2023\/04\/10\/8ed24f790c86a1b950ab89d6fd473c4d.pdf",
"descriptionlabelName": "testfile.pdf",
"dangerousGoodslabelType": false"0",
"batteryTypedescriptionEn": "false",
"weightdescription": 1.245"",
"weightUnitdangerousGoods": ""false,
"lengthbatteryType": "false",
"widthweight": ""null,
"heightweightUnit": ""null,
"dimensionUnitlength": "CM",
"invoiceCurrencyCodewidth": "",
"invoiceValueheight": "12.22",
"transactionCurrency": "USD",
"transactionAmountdimensionUnit": "5.12"null,
"shippingInstructioninvoiceCurrencyCode": ""null,
"sortCodeinvoiceValue": "12",
"extendDatatransactionCurrency": {"usd",
"keepShipService": false"transactionAmount": "5.12",
}"shippingInstruction": "",
"itemssortCode": ["",
"attachments":[
{ {
"extendData": null,
"hsCodeattachName": "1234567890",
"itemDescattachData": "",
JVBERi0xLjQKJeLjz9MKMiAwIG9iago8PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDQ4Pj5zdHJlYW0KeJwr5HIK4TI2UzCxVAhJ4XIN4QrkKlQwVDAAQgiZnKugH5FmqOCSrxDIBQDhfAnBCmVuZHN0cmVhbQplbmRvYmoKNCAwIG9iago8PC9Db250ZW50cyAyIDAgUi9UeXBlL1BhZ2UvUmVzb3VyY2VzPDwvUHJvY1NldCBbL1BERiAvVGV4dCAvSW1hZ2VCIC9JbWFnZUMgL0ltYWdlSV0vWE9iamVjdDw8L1hmMSAxIDAgUj4+Pj4vUGFyZ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lYXRpb25EYXRlKEQ6MjAyMzA5MTExOTE1NDIrMDgnMDAnKS9Qcm9kdWNlcihpVGV4dCAyLjEuNyBieSAxVDNYVCk+PgplbmRvYmoKeHJlZgowIDExCjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwMDI4OSAwMDAwMCBuIAowMDAwMDAwMDE1IDAwMDAwIG4gCjAwMDAwMDE2NzQgMDAwMDAgbiAKMDAwMDAwMDEyOSAwMDAwMCBuIAowMDAwMDAwNzA3IDAwMDAwIG4gCjAwMDAwMDA4MzEgMDAwMDAgbiAKMDAwMDAwMTIzNCAwMDAwMCBuIAowMDAwMDAxNDg0IDAwMDAwIG4gCjAwMDAwMDE3MzcgMDAwMDAgbiAKMDAwMDAwMTc4MiAwMDAwMCBuIAp0cmFpbGVyCjw8L0luZm8gMTAgMCBSL0lEIFs8MTM5ZmM3ZTE3NTY3OWQ3MDI5YmMyYWVjNjZjYjdiMTQ+PGNmYzI3MjZjZjgzMGExYzhhYjYxNDcyMDE1ZjdkZGNmPl0vUm9vdCA5IDAgUi9TaXplIDExPj4Kc3RhcnR4cmVmCjE5MDUKJSVFT0YK",
"itemDescEnattachType": "pdf",
}
"itemNumber": "", ],
"materialextendData": "",{
"keepShipService": false
"originCountryCode": "", },
"picture": "", "items": [
"quantity": "1", {
"quantityUnitextendData": ""null,
"salesURLhsCode": "",
"skuitemDesc": "SKG",
"unitPriceitemDescEn": "",
"usageitemNumber": "",
"weightmatertial": null"",
}, {"originCountryCode": "",
"extendDatapicture": null"",
"hsCodequantity": "2",
"itemDescquantityUnit": "",
"itemDescEnsalesURL": "",
"itemNumbersku": "testals001",
"matertialunitPrice": "",
"originCountryCodeusage": "",
"pictureweight": "",null
}
"quantity": "1", ],
"quantityUnit": "", "insurance": [
"salesURL": "",{
"skuinsuranceAmount": "TESTcommodity"null,
"unitPriceinsuranceCurrencyCode": ""null,
"usageinsuranceType": ""null,
"weightbeneficiaryType": null,
} "beneficiary": null,
],
"insurancebeneficiaryId": [null,
{ "extendData": null
"insuranceAmount": "", }
]
"insuranceCurrencyCode": "", }
],
"insuranceTypecollectionInfo": "",{
"date": "",
"beneficiaryTypeaddressLine1": "",
"addressLine2": "",
"beneficiaryaddressLine3": "",
"city": "",
"beneficiaryIdcompany": "",
"countryCode": "",
"extendDatadistrict": null"",
"email": "",
} "extendData": null,
] "name": "",
} "phone": "",
], "collectionstate": {"",
"datezipCode": "",
}
}
] |
2、"
...
ordertype":
...
"B2C"
...
| 代码块 |
|---|
[ "addressLine2{ "businessCode": "B0900919", "addressLine3facility": "B2C321", "citychannelCode": "UBI.CN2US.AC.GENERAL.LIGHT", "companychannelOption": "B2Cchanneloption", "countryCodereferenceNo": "XB03094", "districtorderType": "B2C", "emailoriginPortCode": "", "extendDatainjectPortCode": null"", "name"platform": "eBay", "phoneincoterm": "DDP", "statecollectionType": "Drop off", "zipCodeisInsurance": ""false, } }, {"isSignature": false, "facilityremark": "Australian Warehousetestremark", "channelCodeextendData": { "AU test", "channelOptionextend": "",null "referenceNo": "030920"}, "orderTypeconsignee": "Fulfillment",{ "originPortCodeaddressCode": "",null, "injectPortCodeaddressLine1": "testaddressline1", "platformaddressLine2": "eBay8349hao", "incotermaddressLine3": "345shi", "collectionTypecity": null"testcity", "isInsurancecompany": "testcompany", "isSignaturecountryCode": "us", "remarkdistrict": "testremarktestdistrict", "extendDataemail": {"testemail@123.com", "extendextendData": null, }, "consigneename": {"testconsigneename", "addressCodephone": "1111336247938384", "addressLine1state": "street9230teststate", "addressLine2taxId": "8349haotesttaxid", "addressLine3taxId1": "345shitesttaxid1", "cityzipCode": "testcity",8238juej" }, "companyshipper": "testcompany",{ "countryCodeaddressLine1": "us", "districtaddressLine2": "testdistrict", "emailaddressLine3": "testemail@123.com", "extendDatacity": null"", "namecompany": "Mack", "phonecountryCode": "36247938384us", "statedistrict": "teststate", "taxIdemail": "testtaxid", "taxId1extendData": "testtaxid1"null, "zipCodename": "8238juej" , }, "shipperphone": {"", "addressLine1state": "", "addressLine2taxId": "", "addressLine3taxId1": "", "cityzipCode": "", }, "companyreturnAddress": "",{ "countryCodeaddressLine1": "", "districtaddressLine2": "", "emailaddressLine3": "", "extendDatacity": null"", "namecompany": "1", "phonecountryCode": "", "statedistrict": "", "taxIdemail": "", "taxId1extendData": ""null, "zipCodename": "" , }, "returnAddressphone": {"", "addressLine1returnOption": "", "addressLine2state": "", "addressLine3zipCode": "", }, "city "parcels": "", [ { "company": "", "countryCodereferenceNo": "PARCEL0323002", "districtreferenceNo1": "", "emailreferenceNo2": "", "extendDataconsignmentId": null"", "nametrackingNo": "", "phonedescriptionEn": "descriptionen", "returnOptiondescription": "description", "statedangerousGoods": ""true, "zipCodebatteryType": ""true, }, "parcelsweight": [ 1.245, {"weightUnit": null, "referenceNolength": "1225", "referenceNo1width": "26", "referenceNo2height": "27", "consignmentIddimensionUnit": ""null, "trackingNoinvoiceCurrencyCode": "USD", "descriptionEninvoiceValue": ""12.5, "descriptiontransactionCurrency": ""null, "dangerousGoodstransactionAmount": falsenull, "batteryTypeshippingInstruction": "false", "weightsortCode": 1.245"", "weightUnitextendData": "",{ "lengthkeepShipService": "",false "width": ""}, "heightitems": "",[ "dimensionUnit": "CM", { "invoiceCurrencyCode": "", "extendData": null, "invoiceValue": "12.22", "shippingInstructionhsCode": "111", "sortCodeitemDesc": "desc", "extendData "itemDescEn": null"descen", "items": [ "itemNumber": "1", {"material": "testmaterial", "extendDataoriginCountryCode": null"cn", "hsCodepicture": "", "itemDescquantity": "1", "itemDescEnquantityUnit": "个", "itemNumbersalesURL": "testsalesurl", "materialsku": "QW", "originCountryCodeunitPrice": "21", "pictureusage": "testusage", "quantityweight": "112", } "quantityUnit": "", ], "salesURL": "", "insurance": [ "sku": "SKG",{ "unitPriceinsuranceAmount": "12", "usageinsuranceCurrencyCode": "usd", "weightinsuranceType": null, }, "beneficiaryType": null, { "beneficiary": null, "extendDatabeneficiaryId": null, "hsCodeextendData": "", null } "itemDesc": "", ] } "itemDescEn": "", ], "collection": { "itemNumberdate": "2023-03-09", "addressLine1": "testaddress1", "matertialaddressLine2": "testaddress2", "addressLine3": "testaddress3", "originCountryCodecity": "testcity", "company": "testcompany", "picturecountryCode": "us", "district": "testdistrict", "quantityemail": "1testemail@123.com", "extendData": null, "quantityUnitname": "testname", "phone": "phone", "salesURLstate": "teststate", "zipCode": "123456" } "sku } ] |
返回样例
成功样例
1、"ordertype":
...
"
...
Fulfillment"
| 代码块 |
|---|
[ { "unitPrice"code": "0", "data": { "usageorderNo": "C12283230322000025O", "referenceNo": "TestA00001" }, "weight": null "errors": "", "message": "", } "messageId": "", ]"success": true, "insurance"warnList": ["" }, { "code": "0", { "data": { "insuranceAmountorderNo": "C12283230322000026O", "insuranceCurrencyCode"referenceNo": "TestA00002", }, "insuranceType"errors": "", "message": "", "beneficiaryType"messageId": "", "success": true, "beneficiarywarnList": "", "beneficiaryId": "", "extendData": null } ] } ], "collection": { "date": "", "addressLine1": "", "addressLine2": "", "addressLine3": "", "city": "", "company": "", "countryCode": "", "district": "", "email": "", "extendData": null, "name": "", "phone": "", "state": "", "zipCode": "" } } ] |
2、"ordertype":"B2C"
| 代码块 |
|---|
[
{
"facility": "B2C321",
"channelCode": "UBI.CN2US.AC.GENERAL.LIGHT",
"channelOption": "B2Cchanneloption",
"referenceNo": "XB03091",
"orderType": "B2C",
"originPortCode": "",
"injectPortCode": "",
"platform": "eBay",
"incoterm": "DDP",
"collectionType": "Pick up",
"isInsurance": null,
"isSignature": null,
"remark": "testremark",
"extendData": {
"extend": null
},
"consignee": {
"addressCode": null,
"addressLine1": "testaddressline1",
"addressLine2": "8349hao",
"addressLine3": "345shi",
"city": "testcity",
"company": "testcompany",
"countryCode": "us",
"district": "testdistrict",
"email": "testemail@123.com",
"extendData": null,
"name": "testconsigneename",
"phone": "36247938384",
"state": "teststate",
"taxId": "testtaxid",
"taxId1": "testtaxid1",
"zipCode": "8238juej"
},
"shipper": {
"addressLine1": "",
"addressLine2": "",
"addressLine3": "",
"city": "",
"company": "",
"countryCode": "us",
"district": "",
"email": "",
"extendData": null,
"name": "",
"phone": "",
"state": "",
"taxId": "",
"taxId1": "",
"zipCode": ""
},
"returnAddress": {
"addressLine1": "",
"addressLine2": "",
"addressLine3": "",
"city": "",
"company": "",
"countryCode": "",
"district": "",
"email": "",
"extendData": null,
"name": "",
"phone": "",
"returnOption": "",
"state": "",
"zipCode": ""
},
"parcels": [
{
"referenceNo": "PARCEL030933",
"referenceNo1": "",
"referenceNo2": "",
"consignmentId": "",
"trackingNo": "",
"descriptionEn": "descriptionen",
"description": "description",
"dangerousGoods": true,
"batteryType": true,
"weight": 1.245,
"weightUnit": null,
"length": "25",
"width": "26",
"height": "27",
"dimensionUnit": "CM",
"invoiceCurrencyCode": "USD",
"invoiceValue": 2.5,
"transactionCurrency": "USD",
"transactionAmount": "5.12",
"shippingInstruction": "",
"sortCode": "",
"extendData": {
"keepShipService": false
},
"items": [
{
"extendData": null,
"hsCode": "111",
"itemDesc": "desc",
"itemDescEn": "descen",
"itemNumber": "1",
"material": "testmatertial",
"originCountryCode": "cn",
"picture": "",
"quantity": "1",
"quantityUnit": "个",
"salesURL": "testsalesurl",
"sku": "QW",
"unitPrice": "2",
"usage": "testusage",
"weight": ""
}
],
"insurance": [
{
"insuranceAmount": "",
"insuranceCurrencyCode": "",
"insuranceType": "",
"beneficiaryType": "",
"beneficiary": "",
"beneficiaryId": "",
"extendData": null
}
]
}
],
"collection": {
"date": "2023-03-09",
"addressLine1": "testaddress1",
"addressLine2": "testaddress2",
"addressLine3": "testaddress3",
"city": "testcity",
"company": "testcompany",
"countryCode": "us",
"district": "testdistrict",
"email": "testemail@123.com",
"extendData": null,
"name": "testname",
"phone": "phone",
"state": "teststate",
"zipCode": "123456"
}
},
{
"facility": "B2C321",
"channelCode": "UBI.CN2US.AC.GENERAL.LIGHT",
"channelOption": "B2Cchanneloption",
"referenceNo": "XB03091",
"orderType": "B2C",
"originPortCode": "",
"injectPortCode": "",
"platform": "eBay",
"incoterm": "DDP",
"collectionType": "Pick up",
"isInsurance": null,
"isSignature": null,
"remark": "testremark",
"extendData": {
"extend": null
},
"consignee": {
"addressCode": null,
"addressLine1": "testaddressline1",
"addressLine2": "8349hao",
"addressLine3": "345shi",
"city": "testcity",
"company": "testcompany",
"countryCode": "us",
"district": "testdistrict",
"email": "testemail@123.com",
"extendData": null,
"name": "testconsigneename",
"phone": "36247938384",
"state": "teststate",
"taxId": "testtaxid",
"taxId1": "testtaxid1",
"zipCode": "8238juej"
},
"shipper": {
"addressLine1": "",
"addressLine2": "",
"addressLine3": "",
"city": "",
"company": "",
"countryCode": "us",
"district": "",
"email": "",
"extendData": null,
"name": "",
"phone": "",
"state": "",
"taxId": "",
"taxId1": "",
"zipCode": ""
},
"returnAddress": {
"addressLine1": "",
"addressLine2": "",
"addressLine3": "",
"city": "",
"company": "",
"countryCode": "",
"district": "",
"email": "",
"extendData": null,
"name": "",
"phone": "",
"returnOption": "",
"state": "",
"zipCode": ""
},
"parcels": [
{
"referenceNo": "PARCEL030934",
"referenceNo1": "",
"referenceNo2": "",
"consignmentId": "",
"trackingNo": "",
"descriptionEn": "descriptionen",
"description": "description",
"dangerousGoods": true,
"batteryType": true,
"weight": 1.245,
"weightUnit": null,
"length": "25",
"width": "26",
"height": "27",
"dimensionUnit": "CM",
"invoiceCurrencyCode": "USD",
"invoiceValue": 2.5,
"transactionCurrency": "USD",
"transactionAmount": "5.12",
"shippingInstruction": "",
"sortCode": "",
"extendData": {
"keepShipService": false
},
"items": [
{
"extendData": null,
"hsCode": "111",
"itemDesc": "desc",
"itemDescEn": "descen",
"itemNumber": "1",
"material": "testmatertial",
"originCountryCode": "cn",
"picture": "",
"quantity": "1",
"quantityUnit": "个",
"salesURL": "testsalesurl",
"sku": "QW",
"unitPrice": "2",
"usage": "testusage",
"weight": ""
},
{
"extendData": null,
"hsCode": "111",
"itemDesc": "desc",
"itemDescEn": "descen",
"itemNumber": "1",
"matertial": "testmatertial",
"originCountryCode": "cn",
"picture": "",
"quantity": "1",
"quantityUnit": "个",
"salesURL": "testsalesurl",
"sku": "QW",
"unitPrice": "2",
"usage": "testusage",
"weight": ""
}
],
"insurance": [
{
"insuranceAmount": "",
"insuranceCurrencyCode": "",
"insuranceType": "",
"beneficiaryType": "",
"beneficiary": "",
"beneficiaryId": "",
"extendData": null
}
]
}
],
"collection": {
"date": "2023-03-09",
"addressLine1": "testaddress1",
"addressLine2": "testaddress2",
"addressLine3": "testaddress3",
"city": "testcity",
"company": "testcompany",
"countryCode": "us",
"district": "testdistrict",
"email": "testemail@123.com",
"extendData": null,
"name": "testname",
"phone": "phone",
"state": "teststate",
"zipCode": "123456"
}
}
] |
返回样例
成功样例
1、"ordertype":"Fulfillment"
| 代码块 |
|---|
{ } ] |
2、"ordertype":"B2C"
| 代码块 |
|---|
[ { "code": "0", "data": { "orderNo": "UBI2303230008", "datareferenceNo": {"XB03094" }, "errors": "", "message": "", "messageId": "", "success": true, "warnList": "" } ] |
失败样例
2、1、"ordertype":"B2CFulfillment"
| 代码块 |
|---|
1、 [{ "code": "00005", "data": { "orderNo": "", "datareferenceNo": { "test-0022-1" }, "errors": "", "message[{ "code": "600906", "messageId "message": ""warehouseServiceName:qudao1 ,Does not exist in the shipperAddressCode:code0001"success": true }], "warnList "message": "" } |
失败样例
1、"ordertype":"Fulfillment"
| 代码块 |
|---|
{ "codeparamter error", "messageId": "0", "data "success": {false }] "030920": 2、 [ { { "code": "0005", "codedata": "600904",{ "messageorderNo": "referenceNo:030920",Already exists in the system" "referenceNo": "NX_1703583922" } ]}, "030919errors": [ { "code": "6009040020", "message": "referenceNo:030919,Already exists inOperation Error: Operation Error: When the system"file type is a label,the warehouse supports uploading file format: pdf" } } ] }, ], "errors": "", "message": "paramter error", "messageId": "", "success": truefalse, "warnList": "" } } ] |
2、"ordertype":"B2C"
| 代码块 |
|---|
[ { "code": "00005", "data": {"XB03094", "XB03091errors": [ { "code": "600222", "message": "referenceNo:PARCEL030934XB03094 field value already exists and cannot be repeated" }, { "code":"700094", ] }, "errorsmessage": "Multiple business codes are not allowed for the same order" } ], "message": "paramter error", "messageId": "", "success": truefalse, "warnList": "" } |
...
}
] |
| 附件 |
|---|