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 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 代码块 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[
{
"facility": "Australian Warehouse",
"channelCode": "AU test",
"channelOption": "",
"referenceNo": "030919",
"orderType": "Fulfillment",
"originPortCode": "",
"injectPortCode": "",
"platform": "eBay",
"incoterm": "",
"collectionType": null,
"isInsurance": "",
"isSignature": "",
"remark": "testremark",
"extendData": {
"extend": null
},
"consignee": {
"addressCode": "11113",
"addressLine1": "street9230",
"addressLine2": "8349hao",
"addressLine3": "345shi",
"city": "testcity",
"company": "testcompany",
"countryCode": "us",
"district": "testdistrict",
"email": "testemail@123.com",
"extendData": null,
"name": "Mack",
"phone": "36247938384",
"state": "teststate",
"taxId": "testtaxid",
"taxId1": "testtaxid1",
"zipCode": "8238juej"
},
"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": "12",
"referenceNo1": "",
"referenceNo2": "",
"consignmentId": "",
"trackingNo": "",
"descriptionEn": "",
"description": "",
"dangerousGoods": false,
"batteryType": "false",
"weight": 1.245,
"weightUnit": "",
"length": "",
"width": "",
"height": "",
"dimensionUnit": "CM",
"invoiceCurrencyCode": "",
"invoiceValue": "12.22",
"transactionCurrency": "USD",
"transactionAmount": "5.12",
"shippingInstruction": "",
"sortCode": "",
"extendData": {
"keepShipService": false
},
"items": [
{
"extendData": null,
"hsCode": "",
"itemDesc": "",
"itemDescEn": "",
"itemNumber": "",
"matertial": "",
"originCountryCode": "",
"picture": "",
"quantity": "1",
"quantityUnit": "",
"salesURL": "",
"sku": "SKG",
"unitPrice": "",
"usage": "",
"weight": null
},
{
"extendData": null,
"hsCode": "",
"itemDesc": "",
"itemDescEn": "",
"itemNumber": "",
"matertial": "",
"originCountryCode": "",
"picture": "",
"quantity": "1",
"quantityUnit": "",
"salesURL": "",
"sku": "TESTcommodity",
"unitPrice": "",
"usage": "",
"weight": null
}
],
"insurance": [
{
"insuranceAmount": "",
"insuranceCurrencyCode": "",
"insuranceType": "",
"beneficiaryType": "",
"beneficiary": "",
"beneficiaryId": "",
"extendData": null
}
]
}
],
"collection": {
"date": "",
"addressLine1": "",
"addressLine2": "",
"addressLine3": "",
"city": "",
"company": "",
"countryCode": "",
"district": "",
"email": "",
"extendData": null,
"name": "",
"phone": "",
"state": "",
"zipCode": ""
}
},
{
"facility": "Australian Warehouse",
"channelCode": "AU test",
"channelOption": "",
"referenceNo": "030920",
"orderType": "Fulfillment",
"originPortCode": "",
"injectPortCode": "",
"platform": "eBay",
"incoterm": "",
"collectionType": null,
"isInsurance": "",
"isSignature": "",
"remark": "testremark",
"extendData": {
"extend": null
},
"consignee": {
"addressCode": "11113",
"addressLine1": "street9230",
"addressLine2": "8349hao",
"addressLine3": "345shi",
"city": "testcity",
"company": "testcompany",
"countryCode": "us",
"district": "testdistrict",
"email": "testemail@123.com",
"extendData": null,
"name": "Mack",
"phone": "36247938384",
"state": "teststate",
"taxId": "testtaxid",
"taxId1": "testtaxid1",
"zipCode": "8238juej"
},
"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": "12",
"referenceNo1": "",
"referenceNo2": "",
"consignmentId": "",
"trackingNo": "",
"descriptionEn": "",
"description": "",
"dangerousGoods": false,
"batteryType": "false",
"weight": 1.245,
"weightUnit": "",
"length": "",
"width": "",
"height": "",
"dimensionUnit": "CM",
"invoiceCurrencyCode": "",
"invoiceValue": "12.22",
"shippingInstruction": "",
"sortCode": "",
"extendData": null,
"items": [
{
"extendData": null,
"hsCode": "",
"itemDesc": "",
"itemDescEn": "",
"itemNumber": "",
"matertial": "",
"originCountryCode": "",
"picture": "",
"quantity": "1",
"quantityUnit": "",
"salesURL": "",
"sku": "SKG",
"unitPrice": "",
"usage": "",
"weight": null
},
{
"extendData": null,
"hsCode": "",
"itemDesc": "",
"itemDescEn": "",
"itemNumber": "",
"matertial": "",
"originCountryCode": "",
"picture": "",
"quantity": "1",
"quantityUnit": "",
"salesURL": "",
"sku": "TESTcommodity",
"unitPrice": "",
"usage": "",
"weight": null
}
],
"insurance": [
{
"insuranceAmount": "",
"insuranceCurrencyCode": "",
"insuranceType": "",
"beneficiaryType": "",
"beneficiary": "",
"beneficiaryId": "",
"extendData": null
}
]
}
],
"collection": {
"date": "",
"addressLine1": "",
四级字段 |
发件人网点 | B2C:shipper facilityFF:warehouse
referenceNo
订单唯一编码 | 区分不同订单用
订单类型 | 枚举: | B2C=小包直邮(此处为该值) Fulfillment=仓库一件代发
枚举
DDU DDP
枚举: | 退件 销毁 枚举: | 退件 销毁
trackingNo | String | 80 | 包裹跟踪号
weightUnit |
KG
G
CM(默认)
装运指示 | 会显示在部分渠道的面单上 | sortCode | String | 50 | 分拣码 | 会显示在部分渠道的面单上 | extendData | 拓展字段 拓展字段key-value(新增) 'keepShipService': xxx boolean 是/否 'xxId':xxx items | itemNumber | String | 128 | 商品编号 | itemDescEn | String | 255 | 商品英文描述 | itemDesc | String | 255 | 商品本地描述 | sku | String | 128 | SKU编码 | M | hsCode | String | 128 | 海关编码 | quantity | Integer | 11 | 商品数量 | M | quantityUnit | String | 10 | 商品数量单位 | unitPrice | decimal | 10,2 | 单价 | picture | String | 图片 | base64 | salesURL | String | 500 | 销售链接 | originCountryCode | String | 10 | 原产国二字代码 | 英文代码 | weight | BigDecimal | 10,3 | 重量 | usage | String | 255 | 用途 |
date |
String | 16 | 客户邮编 | extendData | 拓展字段 | |
请求样例
1、"ordertype":"Fulfillment"
|
请求样例
1、"ordertype":"Fulfillment"
| 代码块 |
|---|
[ { "addressLine2": "", "addressLine3": "", businessCode":"B0900919", "cityfacility": "ALT4300", "companychannelCode": "ZYMD-SKU-UPS", "countryCodechannelOption": "", "districtreferenceNo": "", "email": "", NX_{{$timestamp}}", "extendDataorderType": null"Fulfillment", "nameoriginPortCode": "", "phoneinjectPortCode": "", "stateplatform": "eBay", "zipCodeincoterm": "" , } } ] |
2、"ordertype":"B2C"
| 代码块 |
|---|
[ {"collectionType": null, "facilityisInsurance": "B2C321", "channelCodeisSignature": "UBI.CN2US.AC.GENERAL.LIGHT", "channelOptionremark": "B2Cchanneloptiontestremark1234567890", "referenceNoisNeedConfirm": "XB03091"false, "orderTypeextendData": "B2C", { "originPortCodeextend": null "", }, "injectPortCodepurchaseOrderNo": "test2026", "platformconsignee": "eBay", { "incotermaddressCode": "DDPAU POST", "collectionTypeaddressLine1": "Pick address1 up", "isInsurance": null, "addressLine2": " address2 ", "isSignature": null, "remarkaddressLine3": "testremark address3 ", "extendDatacity": { " city ", "extendcompany": null" testcompany 测试 ", }, "consigneecountryCode": {"AU", "addressCodedistrict": " nulldistrict", "addressLine1email": "testaddressline1 123456789@12.cn ", "addressLine2extendData": "8349hao"null, "name"addressLine3": "345shi: " 迈克尔 杰克逊 ", "cityphone": "testcity 1551234 56781234 ", "companystate": "testcompany state ", "countryCodetaxId": "us testtaxid ", "districttaxId1": "testdistricttesttaxid1", "emailzipCode": "testemail@123.com", 8238 juej " "extendData": null, }, "nameshipper": "testconsigneename",{ "phoneaddressLine1": "36247938384", "stateaddressLine2": "teststate", "taxIdaddressLine3": "testtaxid", "taxId1city": "testtaxid1", "zipCodecompany": "8238juej", }, "shippercountryCode": {"", "addressLine1district": "", "addressLine2email": "", "addressLine3extendData": ""null, "cityname": "", "companyphone": "", "countryCodestate": "us", "districttaxId": "", "emailtaxId1": "", "extendDatazipCode": null, "" }, "namereturnAddress": "",{ "phoneaddressLine1": "", "stateaddressLine2": "", "taxIdaddressLine3": "", "taxId1city": "", "zipCodecompany": "" , }, "returnAddresscountryCode": {"", "addressLine1district": "", "addressLine2email": "", "addressLine3extendData": ""null, "cityname": "", "companyphone": "", "countryCodereturnOption": "", "districtstate": "", "emailzipCode": "", }, "extendDataparcels": [ null, { "name": "", "phonereferenceNo": "123", "returnOptionreferenceNo1": "", "statereferenceNo2": "", "zipCodeconsignmentId": "", }, "trackingNo": "parcels": [{{$timestamp}}", {"label": "http:\/\/erp-huanan.oss-cn-shenzhen.aliyuncs.com\/html2pdf\/ec\/pdf\/2023\/04\/10\/8ed24f790c86a1b950ab89d6fd473c4d.pdf", "referenceNolabelName": "PARCEL030933testfile.pdf", "referenceNo1labelType": "0", "referenceNo2descriptionEn": "", "consignmentIddescription": "", "trackingNodangerousGoods": ""false, "descriptionEnbatteryType": "descriptionenfalse", "descriptionweight": "description"null, "dangerousGoodsweightUnit": truenull, "batteryTypelength": true"", "weightwidth": 1.245"", "weightUnitheight": null"", "lengthdimensionUnit": "25"null, "widthinvoiceCurrencyCode": "26"null, "heightinvoiceValue": "2712", "dimensionUnittransactionCurrency": "CMusd", "invoiceCurrencyCodetransactionAmount": "USD5.12", "invoiceValueshippingInstruction": 2.5"", "transactionCurrencysortCode": "USD", "transactionAmountattachments":[ "5.12", "shippingInstruction": "", { "sortCode": "", "attachName": "1234567890", "extendData": { "keepShipService": false"attachData": "JVBERi0xLjQKJeLjz9MKMiAwIG9iago8PC9GaWx0ZXIvRmxhdGVEZWNvZGUvTGVuZ3RoIDQ4Pj5zdHJlYW0KeJwr5HIK4TI2UzCxVAhJ4XIN4QrkKlQwVDAAQgiZnKugH5FmqOCSrxDIBQDhfAnBCmVuZHN0cmVhbQplbmRvYmoKNCAwIG9iago8PC9Db250ZW50cyAyIDAgUi9UeXBlL1BhZ2UvUmVzb3VyY2VzPDwvUHJvY1NldCBbL1BERiAvVGV4dCAvSW1hZ2VCIC9JbWFnZUMgL0ltYWdlSV0vWE9iamVjdDw8L1hmMSAxIDAgUj4+Pj4vUGFyZW50IDMgMCBSL01lZGlhQm94WzAgMCAxNDIgODVdPj4KZW5kb2JqCjEgMCBvYmoKPDwvU3VidHlwZS9Gb3JtL0ZpbHRlci9GbGF0ZURlY29kZS9UeXBlL1hPYmplY3QvTWF0cml4WzEgMCAwIDEgMCAwXS9Gb3JtVHlwZSAxL1Jlc291cmNlczw8L1Byb2NTZXRbL1BERi9UZXh0L0ltYWdlQi9JbWFnZUMvSW1hZ2VJXS9Gb250PDwvRjEgNSAwIFI+Pi9YT2JqZWN0PDwvWGYxIDYgMCBSPj4+Pi9MZW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biAKMDAwMDAwMTIzNCAwMDAwMCBuIAowMDAwMDAxNDg0IDAwMDAwIG4gCjAwMDAwMDE3MzcgMDAwMDAgbiAKMDAwMDAwMTc4MiAwMDAwMCBuIAp0cmFpbGVyCjw8L0luZm8gMTAgMCBSL0lEIFs8MTM5ZmM3ZTE3NTY3OWQ3MDI5YmMyYWVjNjZjYjdiMTQ+PGNmYzI3MjZjZjgzMGExYzhhYjYxNDcyMDE1ZjdkZGNmPl0vUm9vdCA5IDAgUi9TaXplIDExPj4Kc3RhcnR4cmVmCjE5MDUKJSVFT0YK", }, "attachType": "pdf" "items": [ } { ], "extendData": null, { "hsCodekeepShipService": "111",false "itemDesc": "desc", }, "itemDescEnitems": "descen",[ "itemNumber": "1",{ "matertialextendData": "testmatertial"null, "originCountryCodehsCode": "cn", "pictureitemDesc": "", "quantityitemDescEn": "1", "quantityUnititemNumber": "个", "salesURLmatertial": "testsalesurl", "skuoriginCountryCode": "QW", "unitPricepicture": "2", "usagequantity": "testusage2", "weightquantityUnit": "", } "salesURL": "", ], "sku": "testals001", "insurance": [ {"unitPrice": "", "insuranceAmountusage": "", "insuranceCurrencyCodeweight": "",null } "insuranceType": "", ], "beneficiaryType": "", "insurance": [ "beneficiary": "",{ "beneficiaryIdinsuranceAmount": ""null, "extendDatainsuranceCurrencyCode": null, } "insuranceType": null, ] "beneficiaryType": null, } ], "collectionbeneficiary": {: null, "date": "2023-03-09", "addressLine1beneficiaryId": "testaddress1"null, "addressLine2": "testaddress2", "addressLine3extendData": "testaddress3",null "city": "testcity", } "company": "testcompany", ] "countryCode": "us", } "district": "testdistrict", ], "emailcollectionInfo": "testemail@123.com",{ "extendDatadate": null"", "nameaddressLine1": "testname", "phoneaddressLine2": "phone", "stateaddressLine3": "teststate", "zipCodecity": "123456", } }"company": "", { "facilitycountryCode": "B2C321", "channelCodedistrict": "UBI.CN2US.AC.GENERAL.LIGHT", "channelOptionemail": "B2Cchanneloption", "referenceNoextendData": "XB03091",null, "orderTypename": "B2C", "originPortCodephone": "", "injectPortCodestate": "", "platformzipCode": "eBay", } } ] |
2、"
...
ordertype":
...
"
...
B2C"
| 代码块 |
|---|
[ { "collectionType "businessCode": "Pick upB0900919", "isInsurancefacility": null"B2C321", "channelCode": "isSignature": nullUBI.CN2US.AC.GENERAL.LIGHT", "remarkchannelOption": "testremarkB2Cchanneloption", "extendDatareferenceNo": {"XB03094", "extend": null"orderType": "B2C", }"originPortCode": "", "consigneeinjectPortCode": { "", "addressCodeplatform": null, "eBay", "addressLine1incoterm": "testaddressline1DDP", "addressLine2collectionType": "8349haoDrop off", "addressLine3isInsurance": "345shi", false, "cityisSignature": "testcity"false, "companyremark": "testcompanytestremark", "countryCodeextendData": "us",{ "districtextend": "testdistrict", null }, "emailconsignee": "testemail@123.com",{ "extendDataaddressCode": null, "nameaddressLine1": "testconsigneenametestaddressline1", "phoneaddressLine2": "362479383848349hao", "stateaddressLine3": "teststate345shi", "taxIdcity": "testtaxidtestcity", "taxId1company": "testtaxid1testcompany", "zipCodecountryCode": "8238juejus", }, "shipperdistrict": {"testdistrict", "addressLine1email": "testemail@123.com", "addressLine2extendData": ""null, "addressLine3name": "testconsigneename", "cityphone": "36247938384", "companystate": "teststate", "countryCodetaxId": "ustesttaxid", "districttaxId1": "testtaxid1", "emailzipCode": "8238juej", "extendData": null, }, "nameshipper": "",{ "phoneaddressLine1": "", "stateaddressLine2": "", "taxIdaddressLine3": "", "taxId1city": "", "zipCodecompany": "" , }, "returnAddresscountryCode": {"us", "addressLine1district": "", "addressLine2email": "", "addressLine3extendData": ""null, "cityname": "", "companyphone": "", "countryCodestate": "", "districttaxId": "", "emailtaxId1": "", "extendDatazipCode": null,"" }, "namereturnAddress": "",{ "phoneaddressLine1": "", "returnOptionaddressLine2": "", "stateaddressLine3": "", "zipCodecity": "" , }, "parcelscompany": ["", { "countryCode": "", "referenceNodistrict": "PARCEL030934", "referenceNo1email": "", "referenceNo2extendData": "", null, "consignmentIdname": "", "trackingNophone": "", "descriptionEnreturnOption": "descriptionen", "descriptionstate": "description", "zipCode": "dangerousGoods": true, }, "batteryTypeparcels": true,[ { "weight": 1.245, "weightUnitreferenceNo": null"PARCEL0323002", "lengthreferenceNo1": "25", "widthreferenceNo2": "26", "heightconsignmentId": "27", "dimensionUnittrackingNo": "CM", "invoiceCurrencyCodedescriptionEn": "USDdescriptionen", "invoiceValuedescription": 2.5"description", "transactionCurrencydangerousGoods": "USD"true, "transactionAmountbatteryType": "5.12"true, "shippingInstructionweight": ""1.245, "sortCodeweightUnit": ""null, "extendDatalength": { "25", "keepShipServicewidth": false"26", }"height": "27", "itemsdimensionUnit": [ null, "invoiceCurrencyCode": "USD", { "invoiceValue": 12.5, "extendDatatransactionCurrency": null, "transactionAmount": null, "hsCode": "111", "shippingInstruction": "", "itemDescsortCode": "desc", "extendData": { "itemDescEn": "descen", "keepShipService": false "itemNumber": "1", }, "matertialitems": "testmatertial", [ "originCountryCode": "cn", { "pictureextendData": ""null, "quantityhsCode": "1111", "quantityUnititemDesc": "个desc", "salesURLitemDescEn": "testsalesurldescen", "skuitemNumber": "QW1", "unitPricematerial": "2testmaterial", "usageoriginCountryCode": "testusagecn", "weightpicture": "", } "quantity": "1", { "quantityUnit": "个", "extendDatasalesURL": null"testsalesurl", "hsCodesku": "111QW", "itemDescunitPrice": "desc21", "itemDescEnusage": "descentestusage", "itemNumberweight": "112", } "matertial": "testmatertial", ], "originCountryCode": "cninsurance", : [ { "picture": "", "quantityinsuranceAmount": "112", "quantityUnitinsuranceCurrencyCode": "个usd", "salesURLinsuranceType": "testsalesurl"null, "skubeneficiaryType": "QW"null, "unitPricebeneficiary": "2"null, "usagebeneficiaryId": "testusage"null, "weightextendData": ""null } ], } "insurance": [ ], "collection": { { "date": "2023-03-09", "insuranceAmountaddressLine1": "testaddress1", "addressLine2": "testaddress2", "insuranceCurrencyCodeaddressLine3": "testaddress3", "insuranceTypecity": "testcity",, "company": "testcompany", "beneficiaryTypecountryCode": "us", "district": "testdistrict", "beneficiaryemail": "testemail@123.com", "extendData": null, "beneficiaryIdname": "testname", "extendData"phone": null"phone", "state": "teststate", } "zipCode": "123456" } ] } ] |
返回样例
成功样例
1、"ordertype":"Fulfillment"
| 代码块 |
|---|
[ { } ]"code": "0", "collectiondata": { "dateorderNo": "2023-03-09C12283230322000025O", "addressLine1referenceNo": "testaddress1",TestA00001" }, "addressLine2errors": "testaddress2", "addressLine3message": "testaddress3", "citymessageId": "testcity", "success": true, "companywarnList": "testcompany" }, { "countryCodecode": "us0", "districtdata": "testdistrict",{ "emailorderNo": "testemail@123.comC12283230322000026O", "extendDatareferenceNo": null, "TestA00002" }, "nameerrors": "testname", "phonemessage": "phone", "statemessageId": "teststate", "zipCode": "123456"success": true, }"warnList": "" } ] |
返回样例
成功样例
1、2、"ordertype":"FulfillmentB2C"
| 代码块 |
|---|
[ { "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": "" } |
...
}
] |
| 附件 |
|---|