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