Qeasy Cloud
Get Started

领星ERP 提交货件配送服务 API

Platform
领星ERP
Type
WebAPI
Effect
EXECUTE
API Version
1.0
Adapter
\Adapter\LingXing\LXExecuteAdapter
Auth Mode
OTHER
Description
FBA / FBA货件(STA) · POST · 请求参数 30 个(必填 16) · 响应参数 7 个 · 限流令牌桶容量 1
Updated At
2026-11-21

提交货件配送服务

POST/amzStaServer/openapi/inbound-shipment/setDeliveryService
Factory
{
  "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"
    }
  }
}

Request Parameters

No.FieldNameTypeDefaultRequiredDescription
1inboundPlanIdSTA任务编号string—RequiredSTA任务编号,对应创建STA任务接口对应字段【inboundPlanId】
2shipmentDistributionInfo货件配送信息array<object>—Required货件配送信息
2.1alphaCode承运方式编码string—Required承运方式编码
2.2alphaName承运方式名称string—Required承运方式名称
2.3declaredAmount申报价值number—Optional申报价值
2.4declaredCode申报价值货币string—Optional申报价值货币
2.5deliveryWindowOptionId送达时间IDstring—Required送达时间ID
2.6endDate送达时段-结束时间string—Required送达时段-结束时间:(北京时间) 备注:格式:YYYY-MM-DD
2.7freightClass货物等级string—Optional货物等级
2.8palletList帕托信息array<object>—Optional帕托信息
2.8.1height高number—Optional高
2.8.2length长number—Optional长
2.8.3lengthUnit长度单位(IN-英制string—Optional长度单位(IN-英制,CM-公制)
2.8.4quantity数量integer—Optional数量
2.8.5stackability是否可堆叠string—Optional是否可堆叠
2.8.6weight单个重量number—Optional单个重量
2.8.7weightUnit重量单位(LB-磅string—Optional重量单位(LB-磅,KG-千克)
2.8.8width宽number—Optional宽
2.9shipingTime发货时间string—Required发货时间:(北京时间) 备注:格式:YYYY-MM-DD
2.10shipmentId货件单号string—Required货件单号
2.11shippingModeshippingModestring—Required货件类型(GROUND_SMALL_PARCEL代表小包裹快递(SPD)、FREIGHT_LTL代表汽运零担(LTL))
2.12shippingSolutionshippingSolutionstring—Required承运人(USE_YOUR_OWN_CARRIER代表其他承运人、AMAZON_PARTNERED_CARRIER代表亚马逊合作承运人)
2.13shipperContactshipperContactobject—Optional联系人信息(当发货地址国家与收货地址国家不一致并且选择亚马逊合作承运人时必填)
2.13.1shipperName联系人名称string—Required联系人名称
2.13.2email联系人邮箱string—Required联系人邮箱
2.13.3phoneNumber联系人电话string—Required联系人电话
2.14startDate送达时段-开始时间string—Required送达时段-开始时间:(北京时间) 备注:格式:YYYY-MM-DD
2.15transportationOptionId承运方式IDstring—Required承运方式ID
2.16transportationMode运输方式integer—Optional运输方式:1-陆运,2-海运,3-空运
3sid领星店铺IDinteger—Required领星店铺ID,对应查询亚马逊店铺列表接口对应字段【sid】

Response Parameters

No.FieldNameTypeDefaultRequiredDescription
1code状态码integer0Required状态码,0 成功
2message消息提示stringsuccessRequired消息提示
3errorDetails错误信息array<any>—Required错误信息
4requestId请求链路idstring—Required请求链路id
5responseTime响应时间string2020-05-18 11:23:47Required响应时间
6data响应数据object—Required响应数据
6.1operationId操作idstring—Required操作id

The 提交货件配送服务 API (/amzStaServer/openapi/inbound-shipment/setDeliveryService) 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.

Need to integrate this API?

Qeasy ships with prebuilt adaptation for this API — contact us to start configuring data integration.