描述
查询头程大包订单
路径
| HTTP Verb | URL |
|---|---|
| POST | /api/supplier-service/v1/b2b/orderDetail |
请求头样例
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个订单。
样例:
|
请求字段
| 字段名称 | 是否必填 | 类型 | 备注 |
|---|---|---|---|
trackingNos | M | List<String> | 订单编号,建议不超过100个 |
返回样例
{
"code": "0",
"data": [
{
"aggregator": 18606,
"aggregatorName": "Shanghai Xiongda International Logistics Co., Ltd",
"boxList": [
{
"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 14:28:51",
"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": "jerryxu@walltechsystem.com",
"modifiedBy": 5796,
"modifiedName": "jerryxu@walltechsystem.com",
"operation": "/act/order/receivableTax/save",
"orderDraftId": "",
"orderNo": "XD2412260005",
"orderSource": "",
"overseasWarehouseType": 2,
"packingDetails": "",
"pclTrays": [],
"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": "",
"shipper": 18420,
"shipperName": "SammyTest(XD TEST)",
"singleWeight": "",
"siteId": 1,
"sku": "skutest001",
"skuNameEn": "",
"skuNameLocal": "",
"subOrderNo": "",
"sysProductId": "",
"sysProductVO": "",
"thirdSkuNo": "",
"url": "",
"warehouseBoxNo": "",
"weightUnit": ""
}
],
"productionParty": "",
"referenceNo": "Gerry20241226000003",
"remark": "",
"salesId": 63891,
"selfTitleDeclaration": "",
"settlementId": "",
"shipper": 18420,
"shipperAddress": "",
"shipperAddressId": "",
"shipperBizName": "",
"shipperCode": "",
"shipperContactName": "",
"shipperEmail": "",
"shipperId": 18420,
"shipperName": "SammyTest(XD TEST)",
"shipperPhone": "",
"shipperWarehouseCode": "",
"shippingCode": "",
"siteId": 1,
"status": 0,
"type": 1,
"useShipperWarehouseCode": "",
"useWarehouseCode": "",
"warehouseCode": "SCK4",
"warehouseReceivingArea": ""
}
],
"errors": "",
"message": "",
"messageId": "",
"success": true,
"warnList": ""
}
字段
字段 | 数据类型 | 长度 | 必填性 | 描述 |
| code | ||||
| message | ||||
| data | Object | |||
| 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=保上架 不填写时默认为无 | |
| status | Integer | M | 订单状态 130:"待入库" 133: "已入库" 155: "已核重 160: "待装箱" 200: "待出库" 220: "运输中" 300: "已签收" | |
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 |
| width | O | 宽 | |
| length | O | 长 | |
| height | O | 高 | |
| totalBoxCount | O | 商品总箱数 | |
| totalProductCount | O | 商品总PCS数 |
{
"code":"600224",
"data":"",
"errors":"",
"message":"Client Reference No are duplicate",
"messageId":"",
"success":false,
"warnList":""
}