轻易云
注册体验

领星ERP提交货件配送服务接口

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

提交货件配送服务

POST/amzStaServer/openapi/inbound-shipment/setDeliveryService
加工厂
{
  "operation": {
    "method": "POST",
    "path": "/amzStaServer/openapi/inbound-shipment/setDeliveryService"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 1,
    "text": ""
  },
  "requestExample": "curl --location 'https://openapi.lingxing.com/amzStaServer/openapi/inbound-shipment/setDeliveryService?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    \"shipmentDistributionInfo\": [{\n        \"alphaCode\": \"CY0001\",\n        \"alphaName\": \"CY0001-00\",\n        \"declaredAmount\": 288,\n        \"declaredCode\": \"申报价值货币\",\n        \"deliveryWindowOptionId\": \"\",\n        \"endDate\": \"2022-12-22\",\n        \"freightClass\": \"货物等级\",\n        \"palletList\": [{\n            \"height\": 5,\n            \"length\": 6,\n            \"lengthUnit\": \"CM\",\n            \"quantity\": 10,\n            \"stackability\": \"\",\n            \"weight\": 20,\n            \"weightUnit\": \"LB\",\n            \"width\": \"宽\"\n        }],\n        \"shipingTime\": \"2022-11-10\",\n        \"shipmentId\": \"货件单号\",\n        \"shippingMode\": \"SPD\",\n        \"shippingSolution\": \"USE_YOUR_OWN_CARRIER\",\n        \"startDate\": \"2022-11-22\",\n        \"transportationOptionId\": \"CY0003\",\n        \"transportationMode\": 1\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】
2shipmentDistributionInfo货件配送信息array<object>—必填货件配送信息
2.1alphaCode承运方式编码string—必填承运方式编码
2.2alphaName承运方式名称string—必填承运方式名称
2.3declaredAmount申报价值number—可选申报价值
2.4declaredCode申报价值货币string—可选申报价值货币
2.5deliveryWindowOptionId送达时间IDstring—必填送达时间ID
2.6endDate送达时段-结束时间string—必填送达时段-结束时间:(北京时间) 备注:格式:YYYY-MM-DD
2.7freightClass货物等级string—可选货物等级
2.8palletList帕托信息array<object>—可选帕托信息
2.8.1height高number—可选高
2.8.2length长number—可选长
2.8.3lengthUnit长度单位(IN-英制string—可选长度单位(IN-英制,CM-公制)
2.8.4quantity数量integer—可选数量
2.8.5stackability是否可堆叠string—可选是否可堆叠
2.8.6weight单个重量number—可选单个重量
2.8.7weightUnit重量单位(LB-磅string—可选重量单位(LB-磅,KG-千克)
2.8.8width宽number—可选宽
2.9shipingTime发货时间string—必填发货时间:(北京时间) 备注:格式:YYYY-MM-DD
2.10shipmentId货件单号string—必填货件单号
2.11shippingModeshippingModestring—必填货件类型(GROUND_SMALL_PARCEL代表小包裹快递(SPD)、FREIGHT_LTL代表汽运零担(LTL))
2.12shippingSolutionshippingSolutionstring—必填承运人(USE_YOUR_OWN_CARRIER代表其他承运人、AMAZON_PARTNERED_CARRIER代表亚马逊合作承运人)
2.13shipperContactshipperContactobject—可选联系人信息(当发货地址国家与收货地址国家不一致并且选择亚马逊合作承运人时必填)
2.13.1shipperName联系人名称string—必填联系人名称
2.13.2email联系人邮箱string—必填联系人邮箱
2.13.3phoneNumber联系人电话string—必填联系人电话
2.14startDate送达时段-开始时间string—必填送达时段-开始时间:(北京时间) 备注:格式:YYYY-MM-DD
2.15transportationOptionId承运方式IDstring—必填承运方式ID
2.16transportationMode运输方式integer—可选运输方式:1-陆运,2-海运,3-空运
3sid领星店铺IDinteger—必填领星店铺ID,对应查询亚马逊店铺列表接口对应字段【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/setDeliveryService),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

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