版本比较

标识

  • 该行被添加。
  • 该行被删除。
  • 格式已经改变。

描述

查询头程大包订单

...

路径consigneeAeoCode

HTTP VerbURL
POST

/api/supplier-service/v1/b2b/orderDetail

deliveryMode


请求头样例


代码块
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

...

字段名称是否必填类型备注
trackingNos
MList<String>订单编号,建议不超过100个订单号,建议不超过30个


返回样例


代码块
{
    "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": ""
}
  


字段

字段

数据类型
长度

描述

必填性codemessage
code

描述

String0:成功, 其他:失败
messageStringcode不为"0"时,显示错误信息
dataObject
data[i].id
20
Long
M
订单id
data[i].orderNoString
50M订单号。订单id和订单号2选1必填,都填了以id为主。

shipperId

10

M

订单所属发货人

channelCode

64

M

服务渠道代码:接口23.获取服务列表

inspectionWarehouse

100

O

揽收仓地址代码

collectionType

1

M

揽收方式

1-自送到仓

2-上门揽收

referenceNo

50

M

客户订单参考号

customsClearanceTypeInteger1M

报关类型:

0-不需要报关

1-一般贸易报关

2-买单报关

platformOrderNumber

50

O

平台参考号

isCommercialInspection

Boolean

O

是否商检

true=是

false=否

不传值时默认为否

insuranceType

1

M

投保类型

0=无

1=保签收

2=保上架

不填写时默认为无

statusIntegerM

订单状态
0: "已创建" 

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=否

不传值时默认为否

salesIdIntegerO销售人员userIdcsIdsList<Integer>O客服人员userIdsettlementIdIntegerO结算人员userId
departmentName
StringO部门名称

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

widthOlengthOheightOtotalBoxCountO商品总箱数totalProductCountO
订单号
data[i].aggregatorInteger集成商id
data[i].channelCodeString服务代码
data[i].channelIdInteger服务ID
data[i].channelNameString服务名称
data[i].shipperIdInteger订单所属发货人
data[i].collectionDateDateTime揽收时间,格式:yyyy-MM-dd HH:mm:ss
data[i].collectionTypeInteger揽收方式,1:自送到仓,2:上面揽收
data[i].consigneeAddressIdString收件人地址id
data[i].consigneeAeoCodeString境外收货人
data[i].consigneeBizNameString收件人公司名称
data[i].consigneeEmailString收件人邮箱
data[i].consigneeNameString收件人姓名
data[i].consigneePhoneString收件人电话
data[i].consigneeAddressObject收件地址
data[i].consigneeAddress[j].addressLine1String地址第一行
data[i].consigneeAddress[j].addressLine2String地址第二行
data[i].consigneeAddress[j].addressLine3String地址第三行
data[i].consigneeAddress[j].cityString城市
data[i].consigneeAddress[j].countryString国家二字码
data[i].consigneeAddress[j].postCodeString邮编
data[i].consigneeAddress[j].stateString
data[i].shipperAddressIdString收件人地址id
data[i].shipperBizNameString收件人公司名称
data[i].shipperEmailString收件人邮箱
data[i].shipperContactNameString收件人姓名
data[i].shipperPhoneString收件人电话
data[i].shipperAddressObject地址
data[i].shipperAddress[j].addressLine1String地址第一行
data[i].shipperAddress[j].addressLine2String地址第二行
data[i].shipperAddress[j].addressLine3String地址第三行
data[i].shipperAddress[j].cityString城市
data[i].shipperAddress[j].countryString国家二字码
data[i].shipperAddress[j].postCodeString邮编
data[i].shipperAddress[j].stateString
data[i].customsClearanceTypeInteger清关方式
data[i].dateCreatedDateTime订单创建时间,格式:yyyy-MM-dd HH:mm:ss
data[i].dateModifiedDateTime订单修改时间,格式:yyyy-MM-dd HH:mm:ss
data[i].declareValueDecimal申报价值
data[i].deliveryModeInteger派送模式,1:海外仓,2:私人地址,3: 亚马逊仓
data[i].departmentNameString部门名称
data[i].destinationString目的国二字码,如:CN
data[i].etdDateTime预计开航日,格式:yyyy-MM-dd HH:mm:ss
data[i].inboundTimeDateTime入库时间,格式:yyyy-MM-dd HH:mm:ss
data[i].inspectionWarehouseString揽收仓地址代码
data[i].insuranceAmountDecimal保险金额
data[i].insuranceCurrencyString保险币种
data[i].insuranceTypeInteger

投保类型:0: 无,1: 保签收,2: 保上架;

data[i].isBatteryBoolean是否带电
data[i].isCommercialInspectionBoolean是否商检
data[i].isMagnetBoolean是否带磁
data[i].isSimpleBoolean是否为简单方式添加
data[i].isTaxRefundBoolean是否退税
data[i].overseasWarehouseTypeInteger海外仓类型,2: 海外仓FBA,0: 海外仓其他, 1:集货仓
data[i].platformOrderNumberString平台参考号
data[i].platformSourceString平台来源
data[i].csIdsList<Integer>客服id数组
data[i].csNamesList<String>客服名称数组
data[i].remarkString订单备注
data[i].salesIdInteger订单销售
data[i].salesUserNameString销售姓名
data[i].settlementIdInteger结算人Id
data[i].statusInteger

订单状态

0: 已创建

130: 待入库

133: 已入库

155: 已核重 

160: 待装箱

200: 待出库

220: 运输中

300: 已签收

data[i].warehouseCodeStringFBA仓库编码
data[i].warehouseReceivingArea

data[i].boxListList<Object>订单附件列表
data[i].boxList[j].boxNoString箱序号
data[i].boxList[j].boxQtyInteger申报箱数
data[i].boxList[j].boxQtyActualInteger实际箱数
data[i].boxList[j].actualGrossWeightDecimal实际毛重
data[i].boxList[j].amazonInternalCodeStringFBA ID
data[i].boxList[j].amazonStoreShipmentCodeStringPO Number
data[i].boxList[j].dimensionUnitString尺寸单位: CM
data[i].boxList[j].girthDecimal围长:长+2(宽+高)
data[i].boxList[j].heightActualDecimal实际高度
data[i].boxList[j].heightDeclaredDecimal申报高度
data[i].boxList[j].lengthActualDecimal实际长度
data[i].boxList[j].lengthDeclaredDecimal申报长度
data[i].boxList[j].sysBoxNoString系统箱号
data[i].boxList[j].volumeActualDecimal实际体积
data[i].boxList[j].volumeDeclaredDecimal申报体积
data[i].boxList[j].volumeUnitString体积单位,如:CBM
data[i].boxList[j].weightActualDecimal实际重量
data[i].boxList[j].weightDeclaredDecimal申报重量
data[i].boxList[j].weightUnitString重量单位,如:KG
data[i].boxList[j].widthActualDecimal

实际宽度

data[i].boxList[j].widthDeclaredDecimal申报宽度
data[i].boxList[j].idLong箱子系统id
data[i].productListObject订单商品信息
data[i].productList[j].boxNoString箱序号
data[i].productList[j].boxIdLong箱id
data[i].productList[j].exportUnitValueDecimal申报单价
data[i].productList[j].exportUnitValueCurrencyString 申报价值币种
data[i].productList[j].grossWeightDecimal总毛重
data[i].productList[j].amazonInternalCodeStringFBA ID
data[i].productList[j].amazonStoreShipmentCodeStringPO Number
data[i].productList[j].imageString图片id

data[i].productList[j].productUsage

String

用途(英文)

data[i].productList[j].skuNameLocal

String

品名(中文)

data[i].productList[j].skuNameEn

String

品名(英文)

data[i].productList[j].originCountry

String

品牌(英文)

data[i].productList[j].productMaterialString材质(英文)
data[i].productList[j].modelString型号
data[i].productList[j].productQtyInteger商品每箱数量
data[i].productList[j].registeredWeightDecimal总净重
data[i].productList[j].skuString商品编码
data[i].productList[j].heightDecimal高 (单位:CM)
data[i].productList[j].widthDecimal宽 (单位:CM)
data[i].productList[j].lengthDecimal长 (单位:CM)
data[i].productList[j].volumeDecimal体积 (单位:CBM)
data[i].productList[j].totalExportUnitValueDecimal总申报价值
data[i].productList[j].urlString销售链接
data[i].productList[j].totalBoxCountInteger商品总箱数
data[i].productList[j].totalProductCountInteger商品总PCS数






代码块
{
	"code":"600224",
	"data":"",
	"errors":"",
	"message":"Client Reference No are duplicate",
	"messageId":"",
	"success":false,
	"warnList":""
}

...