/erp/sc/routing/fba/shipment/syncShipment{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/fba/shipment/syncShipment"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"sid": 16,
"shipment_ids": [
"FBA16ZK1LLX5"
],
"sync_anyway": 0
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": null,
"request_id": "F9FEA9AF-8CFC-7368-B98E-5B6910ABCAD7",
"response_time": "2023-06-07 18:10:12",
"data": {
"succ_num": 1,
"fail_num": 0,
"error": []
},
"total": 0
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | sid | 店铺id | integer | — | 必填 | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 2 | shipment_ids | 货件编号 | array<any> | — | 必填 | 货件编号 |
| 3 | sync_anyway | 报错是否继续 | integer | — | 可选 | 报错是否继续:0 否【默认】,1 是 当系统检测到货件归属国家与店铺不符时,会提示报错,此时传1则按照店铺进行同步 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | string | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | EE6DEBE6-4CA9-A727-5211-1E5A6B81109F | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-05-31 19:54:54 | 必填 | 响应时间 |
| 6 | data | 响应数据 | object | — | 必填 | 响应数据 |
| 6.1 | succ_num | 同步成功数量 | integer | 1 | 必填 | 同步成功数量 |
| 6.2 | fail_num | 同步事变数量 | integer | 2 | 必填 | 同步事变数量 |
| 6.3 | error | 失败具体原因 | array<object> | — | 必填 | 失败具体原因 |
| 6.3.1 | shipment_id | 失败货件编号 | string | xxx | 必填 | 失败货件编号 |
| 6.3.2 | detail | 原因 | string | 货件单号不存在 | 必填 | 原因 |
| 6.3.3 | is_error_seller | 是否是店铺不匹配 | integer | 0 | 必填 | 是否是店铺不匹配:0 否,1 是 |
| 7 | total | 总数 | integer | 0 | 必填 | 总数 |
领星ERP的接口:同步亚马逊货件到ERP(/erp/sc/routing/fba/shipment/syncShipment),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。