/amzStaServer/openapi/inbound-shipment/generateTransportList{
"operation": {
"method": "POST",
"path": "/amzStaServer/openapi/inbound-shipment/generateTransportList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": "curl --location 'https://openapi.lingxing.com/amzStaServer/openapi/inbound-shipment/generateTransportList?access_token=value×tamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n \"inboundPlanId\": \"wf0a914e89-d126-4ed9-a093-2078289fed05\",\n \"shipmentIdList\": [{\n \"palletList\": [{\n \"height\": \"高\",\n \"length\": \"长\",\n \"lengthUnit\": \"长度单位(IN-英制,CM-公制)\",\n \"quantity\": \"数量\",\n \"stackability\": \"是否可堆叠(STACKABLE、NON_STACKABLE)\",\n \"weight\": \"单个重量\",\n \"weightUnit\": \"重量单位(LB-磅,KG-千克)\",\n \"width\": \"宽\"\n }],\n \"shipingTime\": \"发货时间:如果修改了发货时间需要重新生成承运方式\",\n \"shipmentId\": \"货件id\"\n }],\n \"sid\": 1\n}'",
"responseExample": {
"code": 0,
"message": "操作成功",
"errorDetails": [],
"requestId": "3b3d867e7d014971a580549f107c8c5a.1732773886069",
"responseTime": "2024-11-28T14:04:46.069",
"data": {
"operationId": "操作id"
}
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | inboundPlanId | STA任务编号 | string | — | 必填 | STA任务编号,对应创建STA任务接口对应字段【inboundPlanId】 |
| 2 | shipmentIdList | 发货信息 | array<object> | — | 必填 | 发货信息:array,注意需提供所有货件单号的发货时间,生成所有货件的承运方式 |
| 2.1 | palletList | 帕托信息 | array<object> | — | 可选 | 帕托信息:如果修改了帕托信息需要重新生成承运方式 |
| 2.1.1 | height | 高 | number | — | 必填 | 高 |
| 2.1.2 | length | 长 | number | — | 必填 | 长 |
| 2.1.3 | lengthUnit | 长度单位(IN-英制 | string | — | 必填 | 长度单位(IN-英制,CM-公制) |
| 2.1.4 | quantity | 数量 | integer | — | 必填 | 数量 |
| 2.1.5 | stackability | stackability | string | — | 必填 | 是否可堆叠(STACKABLE、NON_STACKABLE) |
| 2.1.6 | weight | 单个重量 | number | — | 必填 | 单个重量 |
| 2.1.7 | weightUnit | 重量单位(LB-磅 | string | — | 必填 | 重量单位(LB-磅,KG-千克) |
| 2.1.8 | width | 宽 | number | — | 必填 | 宽 |
| 2.2 | shipingTime | 发货时间 | string | — | 必填 | 发货时间:如果修改了发货时间需要重新生成承运方式 格式:yyyy-MM-dd |
| 2.3 | shipmentId | 货件id | string | — | 必填 | 货件id |
| 3 | sid | 亚马逊店铺sid | integer | — | 必填 | 亚马逊店铺sid,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | errorDetails | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | requestId | 请求链路id | string | — | 必填 | 请求链路id |
| 5 | responseTime | 响应时间 | string | 2020-05-18 11:23:47 | 必填 | 响应时间 |
| 6 | data | 响应数据 | object | — | 必填 | 响应数据 |
| 6.1 | operationId | 操作id | string | — | 必填 | 操作id |
领星ERP的接口:生成承运方式(/amzStaServer/openapi/inbound-shipment/generateTransportList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。