轻易云
注册体验

领星ERP生成承运方式接口

所属平台
领星ERP
类型
WebAPI
作用
EXECUTE
接口版本
1.0
适配器
\Adapter\LingXing\LXExecuteAdapter
授权方式
OTHER
描述
FBA / FBA货件(STA) · POST · 请求参数 14 个(必填 13) · 响应参数 7 个 · 限流令牌桶容量 1
更新日期
2026-11-21

生成承运方式

POST/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&timestamp=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"
    }
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1inboundPlanIdSTA任务编号string—必填STA任务编号,对应创建STA任务接口对应字段【inboundPlanId】
2shipmentIdList发货信息array<object>—必填发货信息:array,注意需提供所有货件单号的发货时间,生成所有货件的承运方式
2.1palletList帕托信息array<object>—可选帕托信息:如果修改了帕托信息需要重新生成承运方式
2.1.1height高number—必填高
2.1.2length长number—必填长
2.1.3lengthUnit长度单位(IN-英制string—必填长度单位(IN-英制,CM-公制)
2.1.4quantity数量integer—必填数量
2.1.5stackabilitystackabilitystring—必填是否可堆叠(STACKABLE、NON_STACKABLE)
2.1.6weight单个重量number—必填单个重量
2.1.7weightUnit重量单位(LB-磅string—必填重量单位(LB-磅,KG-千克)
2.1.8width宽number—必填宽
2.2shipingTime发货时间string—必填发货时间:如果修改了发货时间需要重新生成承运方式 格式:yyyy-MM-dd
2.3shipmentId货件idstring—必填货件id
3sid亚马逊店铺sidinteger—必填亚马逊店铺sid,对应查询亚马逊店铺列表接口对应字段【sid】

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码,0 成功
2message消息提示stringsuccess必填消息提示
3errorDetails错误信息array<any>—必填错误信息
4requestId请求链路idstring—必填请求链路id
5responseTime响应时间string2020-05-18 11:23:47必填响应时间
6data响应数据object—必填响应数据
6.1operationId操作idstring—必填操作id

领星ERP的接口:生成承运方式(/amzStaServer/openapi/inbound-shipment/generateTransportList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。