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:warehousereferenceNo
订单唯一编码 | 区分不同订单用
枚举: | B2C=小包直邮(此处为该值) Fulfillment=仓库一件代发
枚举
DDU DDP
枚举: | 退件 销毁 枚举: | 退件 销毁
trackingNo | String | 80 | 包裹跟踪号 |
KG
G LB
M
'keepShipService': xxx boolean 是/否 'xxId':xxx
商品编号 | itemDescEn | String |
|
请求样例
1、"ordertype":"Fulfillment"
| 代码块 |
|---|
[
{
"facilitybusinessCode": "Australian WarehouseB0900919",
"channelCodefacility": "AU testALT4300",
"channelOptionchannelCode": "ZYMD-SKU-UPS",
"referenceNochannelOption": "TestA00001",
"orderTypereferenceNo": "FulfillmentNX_{{$timestamp}}",
"platformorderType": "eBayFulfillment",
"remarkoriginPortCode": "testremark",
"consigneeinjectPortCode": {"",
"addressCodeplatform": "11113eBay",
"addressLine1incoterm": "street9230",
"addressLine2collectionType": "8349hao",
null,
"addressLine3isInsurance": "345shi",
"cityisSignature": "testcity",
"company"remark": "testcompanytestremark1234567890",
"isNeedConfirm": false,
"countryCodeextendData": "us",{
"districtextend": "testdistrict",null
"email},
"purchaseOrderNo": "testemail@123.comtest2026",
"extendDataconsignee": null,{
"nameaddressCode": "MackAU POST",
"phoneaddressLine1": "36247938384 address1 ",
"stateaddressLine2": "teststate address2 ",
"taxIdaddressLine3": "testtaxid address3 ",
"taxId1city": "testtaxid1 city ",
"zipCodecompany": "8238juej" testcompany 测试 ",
}, "parcelscountryCode": [
"AU",
{ "district": " district",
"referenceNoemail": "12 123456789@12.cn ",
"referenceNo1extendData": ""null,
"referenceNo2name": "", 迈克尔 杰克逊 ",
"consignmentIdphone": "", 1551234 56781234 ",
"trackingNostate": " state ",
"descriptionEntaxId": " testtaxid ",
"descriptiontaxId1": "testtaxid1",
"zipCode": " 8238 juej "dangerousGoods":
false, },
"batteryTypeshipper": "false",
{
"weightaddressLine1": 1.245"",
"weightUnit": null,
"addressLine2": "",
"lengthaddressLine3": "",
"widthcity": "",
"heightcompany": "",
"dimensionUnitcountryCode": "CM",
"invoiceCurrencyCodedistrict": null"",
"invoiceValueemail": "12.22",
"transactionCurrencyextendData": "USD"null,
"transactionAmountname": "5.12",
"shippingInstructionphone": "",
"sortCodestate": "",
"extendDatataxId": {"",
"taxId1": "",
"keepShipService": false "zipCode": ""
},
"returnAddress": {
"items": [ "addressLine1": "",
"addressLine2": "",
{ "addressLine3": "",
"quantitycity": "1",
"company": "",
"skucountryCode": "SKG",
"district": "",
}, "email": "",
{"extendData": null,
"name": "",
"quantityphone": "2",
"returnOption": "",
"skustate": "TESTcommodity",
"zipCode": ""
} },
"parcels": [
] {
} ] },
{
"facility"referenceNo": "Australian Warehouse123",
"channelCode": "AU test", "channelOptionreferenceNo1": "",
"referenceNo": "TestA00002", "orderTypereferenceNo2": "Fulfillment",
"platform": "eBay",
"remarkconsignmentId": "testremark",
"consignee": { "addressCode"trackingNo": "11113{{$timestamp}}",
"addressLine1label": "street9230http:\/\/erp-huanan.oss-cn-shenzhen.aliyuncs.com\/html2pdf\/ec\/pdf\/2023\/04\/10\/8ed24f790c86a1b950ab89d6fd473c4d.pdf",
"addressLine2labelName": "8349haotestfile.pdf",
"addressLine3labelType": "345shi0",
"citydescriptionEn": "testcity",
"companydescription": "testcompany",
"countryCodedangerousGoods": "us"false,
"districtbatteryType": "testdistrictfalse",
"emailweight": "testemail@123.com"null,
"extendDataweightUnit": null,
"namelength": "Mack",
"phonewidth": "36247938384",
"stateheight": "teststate",
"taxIddimensionUnit": "testtaxid",null,
"taxId1invoiceCurrencyCode": "testtaxid1"null,
"zipCodeinvoiceValue": "8238juej12",
}, "parcelstransactionCurrency": ["usd",
{ "referenceNo"transactionAmount": "5.12",
"referenceNo1shippingInstruction": "",
"referenceNo2sortCode": "",
"consignmentIdattachments":[
"", "trackingNo": "", {
"descriptionEn": "", "attachName": "1234567890",
"description": "", "dangerousGoodsattachData": false"JVBERi0xLjQKJeLjz9MKMiAwIG9iago8PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDQ4Pj5zdHJlYW0KeJwr5HIK4TI2UzCxVAhJ4XIN4QrkKlQwVDAAQgiZnKugH5FmqOCSrxDIBQDhfAnBCmVuZHN0cmVhbQplbmRvYmoKNCAwIG9iago8PC9Db250ZW50cyAyIDAgUi9UeXBlL1BhZ2UvUmVzb3VyY2VzPDwvUHJvY1NldCBbL1BERiAvVGV4dCAvSW1hZ2VCIC9JbWFnZUMgL0ltYWdlSV0vWE9iamVjdDw8L1hmMSAxIDAgUj4+Pj4vUGFyZW50IDMgMCBSL01lZGlhQm94WzAgMCAxNDIgODVdPj4KZW5kb2JqCjEgMCBvYmoKPDwvU3VidHlwZS9Gb3JtL0ZpbHRlci9GbGF0ZURlY29kZS9UeXBlL1hPYmplY3QvTWF0cml4WzEgMCAwIDEgMCAwXS9Gb3JtVHlwZSAxL1Jlc291cmNlczw8L1Byb2NTZXRbL1BERi9UZXh0L0ltYWdlQi9JbWFnZUMvSW1hZ2VJXS9Gb250PDwvRjEgNSAwIFI+Pi9YT2JqZWN0PDwvWGYxIDYgMCBSPj4+Pi9MZW5ndGggMTgzL0JCb3hbMCAwIDE0MiA4NV0+PnN0cmVhbQp4nHWOSwvCMBCE95xfMUc9mGbz6OMqVsGLFHPwrrYgVKn6/3FTFIoow+4OyebLDGoZlUEZEE8yF1z45OqoGjWMZbGVi03yMLqojPMwSW/PrG1AcNpYHHtkh5axuqFJYB43GT7XAd4h9ipbM+SzVo0M3Ds1o5oi7YjJikpy0h0ZquSEZSZZqf08XuRVl8JN2LnVhuH4Ay+/4E8602Ps19+AYHWw4PwfgCmXLF6U0rFk4wnoBcqeOrAKZW5kc3RyZWFtCmVuZG9iago1IDAgb2JqCjw8L1N1YnR5cGUvVHlwZTAv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it": null],
"lengthextendData": "",{
"widthkeepShipService": "",false
"height": ""},
"dimensionUnititems": [
"CM", "invoiceCurrencyCode": null, {
"invoiceValue": "12.22", "extendData": null,
"transactionCurrency": "USD", "transactionAmounthsCode": "5.12",
"shippingInstruction": "", "itemDesc": "",
"sortCode": "", "itemDescEn": "extendData":,
{ "keepShipServiceitemNumber": false"",
}, "matertial": "",
"items": [ "originCountryCode": "",
{ "quantitypicture": "1",
"skuquantity": "SKG2",
} "quantityUnit": "",
{ "salesURL": "",
"quantitysku": "2testals001",
"skuunitPrice": "TESTcommodity",
} "usage": "",
] }"weight": null
] } ] |
2、"ordertype":"B2C"
| 代码块 |
|---|
[ { } "facility": "B2C321", "channelCode": "UBI.CN2US.AC.GENERAL.LIGHT"], "channelOption": "B2Cchanneloption", "referenceNoinsurance": "XB03091",[ "orderType": "B2C", "originPortCode": "", { "injectPortCode": "", "platform": "eBay", "incoterminsuranceAmount": "DDP"null, "collectionType": "Pick up", "isInsuranceinsuranceCurrencyCode": null, "isSignature": null, "remark": "testremark", "insuranceType": null, "extendData": { "extend": null "beneficiaryType": null, }, "consignee": { "addressCodebeneficiary": null, "addressLine1": "testaddressline1", "addressLine2beneficiaryId": "8349hao"null, "addressLine3": "345shi", "cityextendData": "testcity",null "company": "testcompany", } "countryCode": "us", ] "district": "testdistrict", } "email": "testemail@123.com", ], "extendDatacollectionInfo": null,{ "namedate": "testconsigneename", "phoneaddressLine1": "36247938384", "stateaddressLine2": "teststate", "taxIdaddressLine3": "testtaxid", "taxId1city": "testtaxid1", "zipCodecompany": "8238juej", }, "shippercountryCode": {"", "addressLine1district": "", "addressLine2email": "", "addressLine3extendData": ""null, "cityname": "", "companyphone": "", "countryCodestate": "us", "districtzipCode": "", } } ] |
2、"
...
ordertype":
...
"B2C"
...
| 代码块 |
|---|
[ { "businessCode":"B0900919", "extendDatafacility": null"B2C321", "namechannelCode": "UBI.CN2US.AC.GENERAL.LIGHT", "phone": "", "channelOption": "B2Cchanneloption", "statereferenceNo": "XB03094", "taxIdorderType": "B2C", "taxId1originPortCode": "", "zipCodeinjectPortCode": "", }"platform": "eBay", "returnAddressincoterm": { "DDP", "addressLine1collectionType": "Drop off", "addressLine2isInsurance": ""false, "addressLine3isSignature": ""false, "cityremark": "testremark", "companyextendData": "",{ "countryCodeextend": "",null }, "district "consignee": "",{ "emailaddressCode": ""null, "extendDataaddressLine1": null"testaddressline1", "nameaddressLine2": "8349hao", "phoneaddressLine3": "345shi", "returnOptioncity": "testcity", "statecompany": "testcompany", "zipCodecountryCode": "us", },"district": "testdistrict", "parcelsemail": ["testemail@123.com", { "extendData": null, "referenceNoname": "PARCEL030933testconsigneename", "referenceNo1phone": "36247938384", "referenceNo2state": "teststate", "consignmentIdtaxId": "testtaxid", "trackingNotaxId1": "testtaxid1", "descriptionEnzipCode": "descriptionen8238juej", }, "descriptionshipper": "description",{ "dangerousGoodsaddressLine1": true"", "batteryTypeaddressLine2": true, "", "weightaddressLine3": 1.245, "", "weightUnitcity": null, "", "lengthcompany": "25", "widthcountryCode": "26us", "heightdistrict": "27", "dimensionUnitemail": "CM", "extendData": null, "invoiceCurrencyCodename": "USD", "invoiceValue": 2.5"phone": "", "transactionCurrencystate": "USD", "transactionAmounttaxId": "5.12", "shippingInstructiontaxId1": "", "sortCodezipCode": "", }, "extendDatareturnAddress": { "addressLine1": "", "keepShipService": false "addressLine2": "", }, "addressLine3": "", "itemscity": ["", "company": "", { "countryCode": "", "extendDatadistrict": null"", "hsCode"email": "111", "extendData": null, "itemDescname": "desc", "phone": "", "itemDescEnreturnOption": "descen", "state": "", "itemNumberzipCode": "1", }, "parcels": [ "material": "testmatertial", { "originCountryCodereferenceNo": "cnPARCEL0323002", "picture"referenceNo1": "", "quantity"referenceNo2": "1", "quantityUnit"consignmentId": "个", "salesURL"trackingNo": "testsalesurl", "sku"descriptionEn": "QWdescriptionen", "unitPrice"description": "2description", "dangerousGoods": true, "usage": "testusage", "batteryType": true, "weight": ""1.245, "weightUnit": null, } ]"length": "25", "insurancewidth": ["26", "height": "27", { "dimensionUnit": null, "insuranceAmount "invoiceCurrencyCode": "USD", "invoiceValue": 12.5, "insuranceCurrencyCode": "", "transactionCurrency": null, "insuranceTypetransactionAmount": "", null, "beneficiaryTypeshippingInstruction": "", "beneficiarysortCode": "", "extendData": { "beneficiaryId": "", "keepShipService": false "extendData": null }, } "items": [ ] { } ], "collectionextendData": { null, "date": "2023-03-09", "addressLine1hsCode": "testaddress1111", "addressLine2": "testaddress2", "addressLine3itemDesc": "testaddress3desc", "city": "testcity", "companyitemDescEn": "testcompanydescen", "countryCode": "us", "districtitemNumber": "testdistrict1", "email": "testemail@123.com", "extendDatamaterial": null"testmaterial", "name": "testname", "phoneoriginCountryCode": "phonecn", "state": "teststate", "zipCodepicture": "123456", } }, { "facilityquantity": "B2C3211", "channelCode": "UBI.CN2US.AC.GENERAL.LIGHT", "channelOptionquantityUnit": "B2Cchanneloption个", "referenceNo": "XB03091", "orderTypesalesURL": "B2Ctestsalesurl", "originPortCode": "", "injectPortCodesku": "QW", "platform": "eBay", "incoterm": "DDP", "collectionTypeunitPrice": "Pick up21", "isInsurance": null, "isSignature": null, "remarkusage": "testremarktestusage", "extendData": { "extendweight": null"12" }, "consignee": { } "addressCode": null, ], "addressLine1": "testaddressline1", "insurance": [ "addressLine2": "8349hao", "addressLine3": "345shi", { "city": "testcity", "companyinsuranceAmount": "testcompany12", "countryCode": "us", "districtinsuranceCurrencyCode": "testdistrictusd", "email": "testemail@123.com", "insuranceType"extendData": null, "name": "testconsigneename", "phonebeneficiaryType": "36247938384"null, "state": "teststate", "taxIdbeneficiary": "testtaxid"null, "taxId1": "testtaxid1", "zipCodebeneficiaryId": "8238juej" null, }, "shipperextendData": {null "addressLine1": "", } "addressLine2": "", ] "addressLine3": "", } "city": "", ], "companycollection": "",{ "countryCodedate": "us2023-03-09", "districtaddressLine1": "testaddress1", "emailaddressLine2": "testaddress2", "extendDataaddressLine3": null"testaddress3", "namecity": "testcity", "phonecompany": "testcompany", "statecountryCode": "us", "taxIddistrict": "testdistrict", "taxId1email": "testemail@123.com", "zipCodeextendData": ""null, }, "returnAddressname": {"testname", "addressLine1phone": "phone", "addressLine2state": "teststate", "addressLine3zipCode": "123456", } } "city] |
返回样例
成功样例
1、"ordertype":
...
"Fulfillment"
...
| 代码块 |
|---|
[ { "companycode": "0", "countryCodedata": "",{ "districtorderNo": "C12283230322000025O", "emailreferenceNo": "TestA00001", "extendData": null}, "nameerrors": "", "phonemessage": "", "returnOptionmessageId": "", "statesuccess": ""true, "zipCodewarnList": "" }, },{ "parcelscode": ["0", "data": { "referenceNoorderNo": "PARCEL030934C12283230322000026O", "referenceNo1referenceNo": "TestA00002", }, "referenceNo2errors": "", "message": "", "consignmentIdmessageId": "", "success": true, "trackingNowarnList": "", } ] |
2、"ordertype":"B2C"
| 代码块 |
|---|
[ { "code": "0", "data": { "orderNo": "UBI2303230008", "referenceNo": "XB03094" }, "descriptionEnerrors": "descriptionen", "description"message": "", "messageId": "description", "dangerousGoods"success": true, "warnList": "" "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"
| 代码块 |
|---|
[
{
"code": "0",
"data": {
"orderNo": "C12283230322000025O",
"referenceNo": "TestA00001"
},
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
},
{
"code": "0",
"data": {
"orderNo": "C12283230322000026O",
"referenceNo": "TestA00002"
},
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
}
] |
2、"ordertype":"B2C"
| 代码块 |
|---|
[
{
"code":"0",
"data":{
"orderNo":"C12283230322000026O",
"referenceNo":"TestA00002"
},
"errors":"",
"message":"",
"messageId":"",
"success":true,
"warnList":""
}
] |
}
] |
失败样例
1、"ordertype":"Fulfillment"
| 代码块 |
|---|
[ { "code": "0005", "data": "TestA00001", "errors": [ { 1、 [{ "code": "6009040005", "data": { "orderNo": "", "referenceNo": "test-0022-1" }, "errors": [{ "code": "600906", "message": "referenceNowarehouseServiceName:TestA00001,Already existsqudao1 ,Does not exist in the systemshipperAddressCode:code0001" }], "message": "paramter error", "messageId": "", "success": false } ] 2、 [ ],{ "messagecode": "paramter error0005", "messageIddata": "",{ "success": false, "warnListorderNo": "" }, { "codereferenceNo": "0005NX_1703583922", "data": "TestA00002"}, "errors": [ { "code": "6009040020", "message": "referenceNo:TestA00002,Already exists in the systemOperation Error: Operation Error: When the file type is a label,the warehouse supports uploading file format: pdf" } ], "message": "paramter error", "messageId": "", "success": false, "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": "" } |
...
}
] |
| 附件 |
|---|