...
| 代码块 |
|---|
POST /services/shipper/orders HTTP/1.1 Host: http://cfs-qa.etowertech.com/ Content-Type: application/json Accept: application/json Authorization:WallTech etotest8xkIIphLnbkjRACNj4P:pc9H97D-_b2_TSCVvNj81A X-WallTech-Date:Tue, 02 Aug 2022 06:43:37 GMT |
请求样例
使用JSON列表格式拼接订单号数据进行查询,最多支持单次查询30个订单。
样例:
|
返回样例
| 代码块 |
|---|
{
"id" : 1869622930850316288,
"overseasWarehouseTypecode": "20",
"typedata":1, [
"isEdit":false, {
"inspectionWarehouse":"沪东揽收仓", "collectionType":2, "customsClearanceTypeaggregator":"0", 18606,
"shipperId":12283, "platformOrderNumberboxList":"1",
"referenceNo":"Test",
"etd":"2022-10-05",
"insuranceType":"0",
"insuranceCurrency":"USD",
"insuranceAmount":0,
"isTaxRefund":true,
"isCommercialInspection":true,
"isBattery":true,
"isMagnet":true,
"declareValue":"",
"channelCode": "test001",
"remark":"1",
"useShipperWarehouseCode":false,
"shipperWarehouseCode":"",
"shipperContactName":"openapi",
"shipperPhone":"15000695273",
"collectionDate":"2022-10-27",
"shipperAddress":{
"country":"CN",
"postCode":"postcode [
{
"aRowNum": 0,
"actualGrossWeight": 2.0,
"aggregator": 18606,
"aggregatorName": "Shanghai Xiongda International Logistics Co., Ltd",
"amazonInternalCode": "",
"amazonStoreShipmentCode": "",
"billingParty": 18420,
"billingPartyName": "SammyTest(XD TEST)",
"boxNo": "12",
"boxQty": 2,
"boxQtyActual": 2,
"calcuUnitPriceCdf": "",
"calcuUnitPriceCny": "",
"calcuUnitPriceUsd": "",
"channelCode": "gerryshao@walltechsystem.cn",
"channelGroup": "gerryshao@walltechsystem.cn",
"channelId": 944,
"createdAccount": "gerryshao@walltechsystem.cn",
"createdBy": 2383,
"createdName": "gerryshao@walltechsystem.cn",
"dateCreated": "2024-12-26 10:23:18",
"dateModified": "2024-12-26 10:23:18",
"dimensionUnit": "cm",
"girth": 138.0,
"heightActual": 24.0,
"heightDeclared": 11.0,
"id": "1872105879655022592",
"imperialHeightDeclared": "",
"imperialLengthDeclared": "",
"imperialWeightDeclared": "",
"imperialWidthDeclared": "",
"importUnitValue": "",
"importUnitValueCurrency": "",
"lengthActual": 24.0,
"lengthDeclared": 3.0,
"locationActualStockNum": "",
"locationId": "",
"locationName": "",
"model": "",
"modifiedAccount": "gerryshao@walltechsystem.cn",
"modifiedBy": 2383,
"modifiedName": "gerryshao@walltechsystem.cn",
"netWeight": "",
"operation": "/order/add",
"orderId": "1872105879613079552",
"orderNo": "XD2412260005",
"originalBoxNo": "",
"packageType": "",
"packagingAttributes": "",
"paoWeight": "",
"pclProductDTOList": "",
"purchasePriceCny": "",
"purchaseRemark": "",
"referenceNo": "Gerry20241226000003",
"remark": "",
"rowNum": "",
"shipper": 18420,
"shipperName": "SammyTest(XD TEST)",
"singleVolume": "",
"singleWeight": "",
"siteId": 1,
"sku": "",
"skuNameEn": "",
"skuNameLocal": "",
"splitAmountFee": "",
"subOrderNo": "",
"sysBoxNo": "B18606241226000005S",
"volumeActual": "",
"volumeDeclared": 330.0,
"volumeUnit": "cbm",
"weightActual": 1.0,
"weightDeclared": 2.0,
"weightUnit": "KG",
"widthActual": 42.0,
"widthDeclared": 5.0
}
],
"channelCode": "gerryshao@walltechsystem.cn",
"channelId": 944,
"collectionDate": "",
"collectionType": 1,
"consigneeAddress": {
"addressLine1": "6001 S AUSTIN RD",
"addressLine2": "",
"addressLine3": "",
"aggregator": "",
"aggregatorName": "",
"city": "STOCKTON",
"country": "US",
"createdBy": "",
"createdName": "",
"creatorAccount": "",
"dateCreated": "",
"dateModified": "",
"district": "",
"modifiedAccount": "",
"modifiedBy": "",
"modifiedName": "",
"operation": "",
"postCode": "95215",
"siteId": 1,
"state": "CA",
"uuid": "4os31r_BjCZ-0bdFn4vBwJevdow"
},
"consigneeAddressId": "4os31r_BjCZ-0bdFn4vBwJevdow",
"consigneeAeoCode": "",
"consigneeBizName": "FBA",
"consigneeEmail": "",
"consigneeName": "1",
"consigneePhone": "1",
"createdAccount": "gerryshao@walltechsystem.cn",
"createdBy": 2383,
"createdName": "gerryshao@walltechsystem.cn",
"csIds": "",
"customsClearanceType": 2,
"dateCreated": "2024-12-26 10:23:18",
"dateModified": "2024-12-26 10:23:18",
"declareValue": 84.0,
"delBox": "",
"delProduct": "",
"deliveryMode": 2,
"departmentName": "",
"destination": "",
"etd": "",
"id": "1872105879613079552",
"inspectionWarehouse": "",
"insuranceAmount": 0,
"insuranceCurrency": "",
"insuranceType": 0,
"isBattery": false,
"isCommercialInspection": false,
"isMagnet": false,
"isSimple": false,
"isTaxRefund": false,
"manifestList": "",
"modifiedAccount": "gerryshao@walltechsystem.cn",
"modifiedBy": 2383,
"modifiedName": "gerryshao@walltechsystem.cn",
"operation": "/order/add",
"orderDraftId": "",
"orderNo": "XD2412260005",
"orderSource": "",
"overseasWarehouseType": 2,
"platformOrderNumber": "",
"platformSource": "",
"portOfDepartureCode": "",
"portOfDepartureName": "",
"portOfDepartureType": "",
"productList": [
{
"aRowNum": 0,
"actualHscode": "",
"aggregator": 18606,
"aggregatorName": "Shanghai Xiongda International Logistics Co., Ltd",
"amazonInternalCode": "",
"amazonStoreShipmentCode": "",
"billingParty": 18420,
"billingPartyName": "SammyTest(XD TEST)",
"boxId": "1872105879655022592",
"boxNo": "12",
"boxQty": "",
"brand": "",
"calcuUnitPriceCdf": "",
"calcuUnitPriceCny": "",
"calcuUnitPriceUsd": "",
"channelCode": "gerryshao@walltechsystem.cn",
"channelGroup": "gerryshao@walltechsystem.cn",
"channelId": 944,
"createdAccount": "gerryshao@walltechsystem.cn",
"createdBy": 2383,
"createdName": "gerryshao@walltechsystem.cn",
"dateCreated": "2024-12-26 10:23:18",
"dateModified": "2024-12-26 10:23:18",
"destinationCountry": "",
"exportUnitValue": 21.0,
"exportUnitValueCurrency": "USD",
"grossWeight": "",
"grossWeightActual": "",
"grossWeightForB2bOrder": "",
"hscode": "",
"id": "1872105879659216896",
"image": "",
"importUnitValue": "",
"importUnitValueCurrency": "",
"locationId": "",
"locationName": "",
"model": "",
"modifiedAccount": "gerryshao@walltechsystem.cn",
"modifiedBy": 2383,
"modifiedName": "gerryshao@walltechsystem.cn",
"operation": "/order/add",
"orderId": "1872105879613079552",
"orderNo": "XD2412260005",
"originCountry": "",
"packagingAttributes": "",
"productMaterial": "",
"productQty": 2,
"productSourceCountry": "",
"productUnit": "",
"productUsage": "",
"referenceNo": "Gerry20241226000003",
"registeredWeight": "",
"rowNum": "",
"state":"上海", "cityshipper":"上海市", 18420,
"district":"杨浦区", "addressLine1shipperName": "line1SammyTest(XD TEST)",
"addressLine2":"line2", "addressLine3singleWeight": "",
"collectionDate":"2022-10-27" }, "warehouseCodesiteId":"abcfbaccc" 1,
"useWarehouseCode":true, "consigneeName":"shouname",
"consigneePhone":"15000695273", "consigneeBizNamesku": "alexskutest001",
"consigneeEmail":"shouemail", "consigneeAddress":{ "countryskuNameEn": "CN",
"postCode "skuNameLocal": "shoupost",
"state":"北京", "citysubOrderNo": "北京市",
"district":"西城区", "addressLine1sysProductId": "addline1",
"addressLine2":"" }, "boxListsysProductVO":[ "",
{ "boxNothirdSkuNo": "box1",
"weightDeclared":18.8, "url": "",
"lengthDeclared":18.8, "widthDeclared":18.8, "warehouseBoxNo": "",
"heightDeclared":18.8, "declareDataweightUnit": "",
"boxQty":3,}
"weightActual":18.8],
"lengthActualproductionParty":18.8 "",
"widthActualreferenceNo":18.8 "Gerry20241226000003",
"heightActualremark":18.8 "",
"boxQtyActualsalesId":3 63891,
"amazonInternalCodeselfTitleDeclaration": "6",
"subOrderNosettlementId": "7",
"amazonStoreShipmentCodeshipper":"8" 18420,
"remarkshipperAddress": "9",
} ]"shipperAddressId": "",
"productList":[ {"shipperBizName": "",
"boxNoshipperCode": "box1",
"skushipperContactName": "sku1",
"hscodeshipperEmail": "300",
"imageshipperId":"" 18420,
"exportUnitValueshipperName": "100SammyTest(XD TEST)",
"skuNameEnshipperPhone": "pinmingEN",
"productQtyshipperWarehouseCode": "200",
"skuNameLocalshippingCode": "pinmingZH",
"brandsiteId":"pinpai" 1,
"modeltype":"xinghao" 1,
"productMaterialuseShipperWarehouseCode": "caizhi",
"productUsageuseWarehouseCode": "yongtu",
"exportUnitValueCurrencywarehouseCode": "USDSCK4",
"urlwarehouseReceivingArea": "http://bai","
}
],
"amazonStoreShipmentCodeerrors": "ponumber",
"message": "",
"amazonInternalCodemessageId": "fbaid",
"success": true,
} ]"warnList": ""
} |
字段
字段 | 数据类型 | 长度 | 必填性 | 描述 |
| id | 20 | M | 订单id | |
| orderNo | String | 50 | M | 订单号。订单id和订单号2选1必填,都填了以id为主。 |
shipperId | 10 | M | 订单所属发货人 | |
channelCode | 64 | M | 服务渠道代码:接口23.获取服务列表 | |
inspectionWarehouse | 100 | O | 揽收仓地址代码 | |
collectionType | 1 | M | 揽收方式 1-自送到仓 2-上门揽收 | |
referenceNo | 50 | M | 客户订单参考号 | |
| customsClearanceType | Integer | 1 | M | 报关类型: 0-不需要报关 1-一般贸易报关 2-买单报关 |
platformOrderNumber | 50 | O | 平台参考号 | |
isCommercialInspection | Boolean | O | 是否商检 true=是 false=否 不传值时默认为否 | |
insuranceType | 1 | M | 投保类型 0=无 1=保签收 2=保上架 不填写时默认为无 | |
insuranceAmount | (8,2) | C | 保险金额 非负数,小数点后两位 当投保类型不等于1时必填 | |
insuranceCurrency | 8 | C | 保险币种 当投保类型不等于1时必填 | |
isBattery | Boolean | O | 是否带电 true=是 false=否 不传值时默认为否 | |
isMagnet | Boolean | O | 是否带磁 true=是 false=否 不传值时默认为否 | |
| salesId | Integer | O | 销售人员userId | |
| csIds | List<Integer> | O | 客服人员userId | |
| settlementId | Integer | O | 结算人员userId | |
departmentName | String | O | 部门名称 | |
remark | 255 | O | 备注 | |
collectionDate | yyyy-MM-dd | C | 揽收日期 当揽收方式为上门揽收时必填 精确到日 | |
shipperContactName | 512 | C | 揽收联系人 当揽收方式为上门揽收时必填 | |
shipperPhone | 50 | C | 电话 | |
shipperAddress | 揽收地址容器 | |||
shipperAddress.country | 10 | C | 国家/地区 当揽收方式为上门揽收时必填 接口填写国家二字代码 | |
shipperAddress.state | 64 | O | 省/州 | |
shipperAddress.city | 64 | C | 城市 当揽收方式为上门揽收时必填 | |
shipperAddress.postCode | 64 | O | 邮编 | |
shipperAddress.addressLine1 | 512 | C | 地址第一行 当揽收方式为上门揽收时必填 | |
shipperAddress.addressLine2 | 512 | O | 地址第二行 | |
useWarehouseCode | Boolean | M | 是否使用地址簿数据 接口中填写”true,false“ | |
overseasWarehouseType | 1 | M | 海外仓类型 1=其他地址 2=FBA仓 | |
warehouseCode | 255 | C | FBA仓库编码(FBA下单)/地址代码(其他下单) 当海外仓类型为FBA仓时必填 | |
consigneeName | 512 | O | 收件人姓名 | |
consigneeBizName | 512 | O | 收件人公司 | |
consigneePhone | 50 | O | 电话 | |
consigneeEmail | 512 | O | 邮箱 | |
consigneeAddress | 揽收地址容器 | |||
consigneeAddress.country | 10 | C | 国家/地区 填写国家二字代码 当不使用地址簿数据时必填 | |
consigneeAddress.state | 64 | O | 省/州 | |
consigneeAddress.city | 64 | C | 城市 当不使用地址簿数据时必填 | |
consigneeAddress.postCode | 64 | O | 邮编 | |
consigneeAddress.addressLine1 | 512 | C | 地址第一行 当不适用地址簿数据时必填 | |
consigneeAddress.addressLine2 | 512 | O | 地址第二行 | |
boxList | 箱数据容器 | |||
boxNo | 128 | M | 箱序号 | |
boxQty | 6 | M | 箱数 必须填写正整数 | |
weightDeclared | (8,3) | M | 单箱毛重(KG) 正数 限制小数点后三位 | |
lengthDeclared | (8,2) | M | 单箱长(CM) 正数 限制小数点后两位 | |
widthDeclared | (8,2) | M | 单箱宽(CM) 正数 限制小数点后两位 | |
heightDeclared | (8,2) | M | 单箱高(CM) 正数 限制小数点后两位 | |
boxQtyActual | 6 | M | 实际箱数 必须填写正整数 | |
weightActual | (8,3) | M | 实际单箱毛重(KG) 正数 限制小数点后三位 | |
lengthActual | (8,2) | M | 实际单箱长(CM) 正数 限制小数点后两位 | |
widthActual | (8,2) | M | 实际单箱宽(CM) 正数 限制小数点后两位 | |
heightActual | (8,2) | M | 实际单箱高(CM) 正数 限制小数点后两位 | |
amazonInternalCode | 200 | O | FBA ID | |
amazonStoreShipmentCode | 200 | O | PO Number | |
subOrderNo | 32 | O | 子单号 | |
remark | 255 | O | 箱子备注 | |
productList | 商品容器 | |||
boxNo | 128 | M | 箱序号 必须与材积中传输的箱序号由同样值 | |
sku | 128 | M | SKU编码 | |
hscode | 64 | O | 海关编码 | |
skuNameEn | 255 | O | 品名(英文) | |
productMaterial | 128 | O | 材质(英文) | |
productUsage | 128 | O | 用途(英文) | |
brand | 50 | O | 品牌(英文) |
exportUnitValue | M | (10,2) | 申报单价 正数 限制小数点后三位 |
productQty | M | (11,0) | 正整数 |
url | O | 4000 | 销售链接 |
model | O | 128 | 型号 |
image | O | Base64 | 图片 |
amazonInternalCode | O | 200 | PO Number |
amazonStoreShipmentCode | O | 200 | FBA ID |
| 代码块 |
|---|
{
"code":"600224",
"data":"",
"errors":"",
"message":"Client Reference No are duplicate",
"messageId":"",
"success":false,
"warnList":""
} |
...