/amzStaServer/openapi/awd/inbound-shipment/detail{
"operation": {
"method": "POST",
"path": "/amzStaServer/openapi/awd/inbound-shipment/detail"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"requestExample": {
"shipmentId": "AWD20230715001",
"sid": 123456789
},
"responseExample": {
"code": 0,
"data": {
"awdDeliveredGoodsBO": {
"destinationAddressLine1": "456 Distribution Ave",
"destinationAddressLine2": "Building 3",
"destinationCity": "Phoenix",
"destinationCountryCode": "US",
"destinationPostalCode": "85001",
"destinationStateOrRegion": "AZ"
},
"awdDeliveredGoodsItemBOS": [
{
"asin": "B0ABCD1234",
"boxQuantity": "5",
"expiration": "2025-12-31",
"fnsku": "X000123ABC",
"height": 10.5,
"labelOwner": "SELF",
"length": 15.75,
"lengthUnit": "INCHES",
"msku": "ABC123",
"parentAsin": "B0PARENT12",
"prepCategory": "NONE",
"prepOwner": "SELF",
"productName": "Example Product",
"quantityInBox": "20",
"sku": "SKU12345",
"title": "Example Product Title",
"url": "https://example.com/product.jpg",
"weight": 12.3,
"weightUnit": "POUNDS",
"width": 8.25
}
],
"awdShippingAddressBO": {
"addressLine1": "123 Main St",
"addressLine2": "Suite 100",
"city": "Seattle",
"countryCode": "US",
"phoneNumber": "1234567890",
"postalCode": "98101",
"shipperName": "Example Shipper",
"stateOrProvinceCode": "WA",
"zone": "Downtown"
},
"carrierCode": "UPS",
"createByName": "API User",
"gmtCreate": "2023-07-15T10:00:00Z",
"gmtModified": "2023-07-15T14:30:00Z",
"orderId": "AWD20230715001",
"remark": "Fragile items, handle with care",
"shipBy": "2023-07-20",
"sid": 123456789,
"status": "IN_TRANSIT",
"trackingId": "1Z1234567890123456",
"warehouseReferenceId": "PHX5"
},
"message": "Success",
"error_details": [],
"request_id": "b2c3d4e5-f6g7-h8i9-j0k1-l2m3n4o5p6q7",
"response_time": "2023-07-15T15:45:30Z"
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | shipmentId | AWD入库货件单号 | string | — | 必填 | AWD入库货件单号 |
| 2 | sid | 店铺id | integer | — | 必填 | 店铺id,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | — | 可选 | 状态码,0成功 |
| 2 | data | data | object | — | 可选 | |
| 2.1 | awdDeliveredGoodsBO | 配送地址 | object | — | 可选 | 配送地址 |
| 2.1.1 | destinationAddressLine1 | 配送地址-详细街道地址1 | string | — | 可选 | 配送地址-详细街道地址1 |
| 2.1.2 | destinationAddressLine2 | 配送地址-详细街道地址2 | string | — | 可选 | 配送地址-详细街道地址2 |
| 2.1.3 | destinationCity | 配送地址-城市 | string | — | 可选 | 配送地址-城市 |
| 2.1.4 | destinationCountryCode | 配送地址-国家(地区) | string | — | 可选 | 配送地址-国家(地区) |
| 2.1.5 | destinationPostalCode | 配送地址-邮政编码 | string | — | 可选 | 配送地址-邮政编码 |
| 2.1.6 | destinationStateOrRegion | 配送地址-州/省/地区编码 | string | — | 可选 | 配送地址-州/省/地区编码 |
| 2.2 | awdDeliveredGoodsItemBOS | 发货商品 | array<object> | — | 可选 | 发货商品 |
| 2.2.1 | asin | asin | string | — | 可选 | asin |
| 2.2.2 | boxQuantity | 箱数 | string | — | 可选 | 箱数 |
| 2.2.3 | expiration | 有效期(yyyy-MM-dd) | string | — | 可选 | 有效期(yyyy-MM-dd) |
| 2.2.4 | fnsku | fnsku | string | — | 可选 | fnsku |
| 2.2.5 | height | 箱子高 | number | — | 可选 | 箱子高 |
| 2.2.6 | labelOwner | 标签类型(AMAZON | string | — | 可选 | 标签类型(AMAZON,SELF,NULL) |
| 2.2.7 | length | 箱子长 | number | — | 可选 | 箱子长 |
| 2.2.8 | lengthUnit | 长度单位(INCHES-英制 | string | — | 可选 | 长度单位(INCHES-英制, CENTIMETERS-公制) |
| 2.2.9 | msku | msku | string | — | 可选 | msku |
| 2.2.10 | parentAsin | 父asin | string | — | 可选 | 父asin |
| 2.2.11 | prepCategory | 预处理类别 | string | — | 可选 | 预处理类别:ADULT:成人;HANGER:悬挂在衣架上的服装;TEXTILE:服装、面料、毛绒玩具和纺织品;BABY:母婴用品;FRAGILE:易碎品;LIQUID:液体(未存放在玻璃容器中);PERFORATED:打孔包装;GRANULAR:粉末、球状或颗粒状物品;SHARP:尖利物品;SMALL:小号;SET:套装销售;NONE:无需进行预处理;FC_Provided:亚马逊指定分类(创建时不可主动选择,创建AWD入库任务后若亚马逊接口有要求才可选择。该选项代表预处理分类由亚马逊指定,不可修改。您可前往后台,在创建STA任务页面该商品的包装详情处,查看具体分类名称。) |
| 2.2.12 | prepOwner | 预处理提供方(AMAZON | string | — | 可选 | 预处理提供方(AMAZON,SELF,NULL) |
| 2.2.13 | productName | 品名 | string | — | 可选 | 品名 |
| 2.2.14 | quantityInBox | 单箱数量 | string | — | 可选 | 单箱数量 |
| 2.2.15 | sku | sku | string | — | 可选 | sku |
| 2.2.16 | title | 标题 | string | — | 可选 | 标题 |
| 2.2.17 | url | 图片url | string | — | 可选 | 图片url |
| 2.2.18 | weight | 箱子重量 | number | — | 可选 | 箱子重量 |
| 2.2.19 | weightUnit | 重量单位(POUNDS-磅 | string | — | 可选 | 重量单位(POUNDS-磅,KILOGRAMS-千克) |
| 2.2.20 | width | 箱子宽 | number | — | 可选 | 箱子宽 |
| 2.3 | awdShippingAddressBO | 发货地址 | object | — | 可选 | 发货地址 |
| 2.3.1 | addressLine1 | 发货地址-详细街道地址1 | string | — | 可选 | 发货地址-详细街道地址1 |
| 2.3.2 | addressLine2 | 发货地址-详细街道地址2 | string | — | 可选 | 发货地址-详细街道地址2 |
| 2.3.3 | city | 发货地址-城市 | string | — | 可选 | 发货地址-城市 |
| 2.3.4 | countryCode | 发货地址-国家(地区) | string | — | 可选 | 发货地址-国家(地区) |
| 2.3.5 | phoneNumber | 发货地址-电话号码 | string | — | 可选 | 发货地址-电话号码 |
| 2.3.6 | postalCode | 发货地址-邮箱编码 | string | — | 可选 | 发货地址-邮箱编码 |
| 2.3.7 | shipperName | 发货地址-发货方名称 | string | — | 可选 | 发货地址-发货方名称 |
| 2.3.8 | stateOrProvinceCode | 发货地址-州/省/地区编码 | string | — | 可选 | 发货地址-州/省/地区编码 |
| 2.3.9 | zone | 发货地址-区 | string | — | 可选 | 发货地址-区 |
| 2.4 | carrierCode | 承运方式 | string | — | 可选 | 承运方式 |
| 2.5 | createByName | 创建人名称 | string | — | 可选 | 创建人名称 |
| 2.6 | gmtCreate | 创建时间 | string | — | 可选 | 创建时间 |
| 2.7 | gmtModified | 更新时间 | string | — | 可选 | 更新时间 |
| 2.8 | orderId | AWD入库任务号 | string | — | 可选 | AWD入库任务号 |
| 2.9 | stockOrderId | 备货单号 | string | — | 可选 | 备货单号 |
| 2.10 | remark | 备注 | string | — | 可选 | 备注 |
| 2.11 | shipBy | 发货时间 | string | — | 可选 | 发货时间 |
| 2.12 | sid | 领星店铺ID | integer | — | 可选 | 领星店铺ID |
| 2.13 | status | 货件状态 | string | — | 可选 | 货件状态:CREATED:已创建;SHIPPED:已发货;IN_TRANSIT:运输中;RECEIVING:接收中;DELIVERED:已送达;CLOSED:已关闭;CANCELLED:已取消 |
| 2.14 | trackingId | 跟踪编码 | string | — | 可选 | 跟踪编码 |
| 2.15 | warehouseReferenceId | 物流中心编码 | string | — | 可选 | 物流中心编码 |
| 3 | message | 提示信息 | string | — | 可选 | 提示信息 |
| 4 | error_details | 错误信息 | array<any> | — | 可选 | 错误信息 |
| 5 | request_id | 请求链路id | array<any> | — | 可选 | 请求链路id |
| 6 | response_time | 响应时间 | string | — | 可选 | 响应时间 |
领星ERP的接口:查询AWD入库货件详情(/amzStaServer/openapi/awd/inbound-shipment/detail),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。