/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"
}
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | inboundPlanId | STA任务编号 | string | — | Required | STA任务编号,对应创建STA任务接口对应字段【inboundPlanId】 |
| 2 | shipmentIdList | 发货信息 | array<object> | — | Required | 发货信息:array,注意需提供所有货件单号的发货时间,生成所有货件的承运方式 |
| 2.1 | palletList | 帕托信息 | array<object> | — | Optional | 帕托信息:如果修改了帕托信息需要重新生成承运方式 |
| 2.1.1 | height | 高 | number | — | Required | 高 |
| 2.1.2 | length | 长 | number | — | Required | 长 |
| 2.1.3 | lengthUnit | 长度单位(IN-英制 | string | — | Required | 长度单位(IN-英制,CM-公制) |
| 2.1.4 | quantity | 数量 | integer | — | Required | 数量 |
| 2.1.5 | stackability | stackability | string | — | Required | 是否可堆叠(STACKABLE、NON_STACKABLE) |
| 2.1.6 | weight | 单个重量 | number | — | Required | 单个重量 |
| 2.1.7 | weightUnit | 重量单位(LB-磅 | string | — | Required | 重量单位(LB-磅,KG-千克) |
| 2.1.8 | width | 宽 | number | — | Required | 宽 |
| 2.2 | shipingTime | 发货时间 | string | — | Required | 发货时间:如果修改了发货时间需要重新生成承运方式 格式:yyyy-MM-dd |
| 2.3 | shipmentId | 货件id | string | — | Required | 货件id |
| 3 | sid | 亚马逊店铺sid | integer | — | Required | 亚马逊店铺sid,对应查询亚马逊店铺列表接口对应字段【sid】 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | errorDetails | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | requestId | 请求链路id | string | — | Required | 请求链路id |
| 5 | responseTime | 响应时间 | string | 2020-05-18 11:23:47 | Required | 响应时间 |
| 6 | data | 响应数据 | object | — | Required | 响应数据 |
| 6.1 | operationId | 操作id | string | — | Required | 操作id |
The 生成承运方式 API (/amzStaServer/openapi/inbound-shipment/generateTransportList) of 领星ERP is curated by the API asset management module of the Qeasy Cloud data integration platform and kept in sync with 领星ERP version updates.
Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.