/erp/sc/statistic/removalOrder/createAndCommit{
"operation": {
"method": "POST",
"path": "/erp/sc/statistic/removalOrder/createAndCommit"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"lists": [
{
"sid": 5,
"order_type": 2,
"country_code": "US",
"state_or_region": "MI",
"sys_wid": 1,
"removal_no": "141hg16",
"city": "Michigan",
"address_line1": "address_line1-test",
"address_line2": "address_line1-test",
"address_line3": "address_line1-test",
"postal_code": "49444",
"phone": "132xxxxxxxx",
"name": "Michael Morton",
"remark": "remark demo",
"items": [
{
"msku": "Black_xxx",
"sellable_quantity": 1,
"unsellable_quantity": 1
}
]
}
]
}
}| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | lists | 提交数据 | array<object> | — | Required | 提交数据,支持批量,上限100个 |
| 1.1 | sid | 店铺id | integer | — | Required | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 1.2 | order_type | 移除类型 | integer | — | Required | 移除类型:2 Return,3 Disposal |
| 1.3 | country_code | 国家code | string | — | Optional | 国家code,查询亚马逊市场列表接口对应【code】字段 |
| 1.4 | state_or_region | 省州code | string | — | Optional | 省州code,查询亚马逊国家下地区列表接口对应【code】字段 |
| 1.5 | sys_wid | 系统仓库id | integer | — | Optional | 系统仓库id,查询仓库列表接口对应【wid】字段 |
| 1.6 | removal_no | 移除订单号 | string | — | Optional | 移除订单号,最长10位,为空则自动创建订单号 |
| 1.7 | city | 城市 | string | — | Required | 城市 |
| 1.8 | address_line1 | 地址1 | string | — | Required | 地址1 |
| 1.9 | address_line2 | 地址2 | string | — | Optional | 地址2 |
| 1.10 | address_line3 | 地址3 | string | — | Optional | 地址3 |
| 1.11 | postal_code | 邮编 | string | — | Required | 邮编 |
| 1.12 | phone | 联系电话 | string | — | Required | 联系电话 |
| 1.13 | name | 地址名称 | string | — | Required | 地址名称 |
| 1.14 | remark | 备注 | string | — | Optional | 备注 |
| 1.15 | items | items列表 | array<object> | — | Required | items列表 |
| 1.15.1 | msku | msku | string | — | Required | msku |
| 1.15.2 | sellable_quantity | 移除可售数量 | integer | — | Required | 移除可售数量 |
| 1.15.3 | unsellable_quantity | 移除不可售数量 | integer | — | Required | 移除不可售数量 |
| No. | Field | Name | Type | Default | Required | Description |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | Required | 状态码,0 成功 |
| 2 | message | 提示信息 | string | success | Required | 提示信息 |
| 3 | error_details | 错误信息 | array<any> | — | Required | 错误信息 |
| 4 | request_id | 请求链路id | string | EF617C27-34B4-3596-BA2A-75F70F0B053C | Required | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-04-13 14:38:53 | Required | 响应时间 |
| 6 | data | 响应数据 | array<any> | — | Required | 响应数据 |
| 7 | total | 总数 | integer | 0 | Required | 总数 |
The 创建移除订单 API (/erp/sc/statistic/removalOrder/createAndCommit) 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.