/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
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | sid | 店铺id | integer | — | Required | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 2 | shipment_ids | 货件编号 | array<any> | — | Required | 货件编号 |
| 3 | sync_anyway | 报错是否继续 | integer | — | Optional | 报错是否继续:0 否【默认】,1 是 当系统检测到货件归属国家与店铺不符时,会提示报错,此时传1则按照店铺进行同步 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | Required | 消息提示 |
| 3 | error_details | 错误信息 | string | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | EE6DEBE6-4CA9-A727-5211-1E5A6B81109F | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-05-31 19:54:54 | Required | 响应时间 |
| 6 | data | 响应数据 | object | — | Required | 响应数据 |
| 6.1 | succ_num | 同步成功数量 | integer | 1 | Required | 同步成功数量 |
| 6.2 | fail_num | 同步事变数量 | integer | 2 | Required | 同步事变数量 |
| 6.3 | error | 失败具体原因 | array<object> | — | Required | 失败具体原因 |
| 6.3.1 | shipment_id | 失败货件编号 | string | xxx | Required | 失败货件编号 |
| 6.3.2 | detail | 原因 | string | 货件单号不存在 | Required | 原因 |
| 6.3.3 | is_error_seller | 是否是店铺不匹配 | integer | 0 | Required | 是否是店铺不匹配:0 否,1 是 |
| 7 | total | 总数 | integer | 0 | Required | 总数 |
The 同步亚马逊货件到ERP API (/erp/sc/routing/fba/shipment/syncShipment) 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.