/erp/sc/routing/fbaSug/msku/getSourceList{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/fbaSug/msku/getSourceList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"sid": 136,
"msku": "CNxxxx",
"type": "3",
"mode": "1"
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "C5254695-5959-E639-7914-C9DB527E93DC",
"response_time": "2021-11-11 17:58:04",
"data": {
"mode": "1",
"source_list": [
{
"quantity": 10,
"quantity_second": 0,
"type": 6,
"remark": {
"plan_sn": "PP211026009"
},
"amazon_sale_date": "2022-02-23",
"expect_arrive_time": ""
},
{
"quantity": 3,
"quantity_second": 0,
"type": 5,
"remark": {
"purchase_order_sn": "PO211021059"
},
"amazon_sale_date": "2022-01-21",
"expect_arrive_time": "2021-10-03"
},
{
"quantity": 20,
"quantity_second": 0,
"type": 3,
"remark": {
"warehouse_name": "仓库1",
"sku": "SKUFAEB955",
"fnsku": ""
},
"amazon_sale_date": "2022-01-18",
"expect_arrive_time": ""
},
{
"quantity": 10,
"quantity_second": 0,
"type": 3,
"remark": {
"warehouse_name": "仓库1",
"sku": "SKUFAEB955",
"fnsku": "FND27C594"
},
"amazon_sale_date": "2022-01-18",
"expect_arrive_time": ""
},
{
"quantity": 2,
"quantity_second": 0,
"type": 3,
"remark": {
"warehouse_name": "宝安第一仓",
"sku": "SKUFAEB955",
"fnsku": ""
},
"amazon_sale_date": "2022-01-18",
"expect_arrive_time": ""
},
{
"quantity": 10,
"quantity_second": 0,
"type": 5,
"remark": {
"purchase_order_sn": "PO211106009"
},
"amazon_sale_date": "2022-01-16",
"expect_arrive_time": ""
},
{
"quantity": 20,
"quantity_second": 0,
"type": 5,
"remark": {
"purchase_order_sn": "PO211026015"
},
"amazon_sale_date": "2022-01-05",
"expect_arrive_time": ""
},
{
"quantity": 23,
"quantity_second": 0,
"type": 5,
"remark": {
"purchase_order_sn": "PO211021035"
},
"amazon_sale_date": "2021-12-31",
"expect_arrive_time": ""
},
{
"quantity": 1,
"quantity_second": 0,
"type": 5,
"remark": {
"purchase_order_sn": "PO211021050"
},
"amazon_sale_date": "2021-12-31",
"expect_arrive_time": ""
},
{
"quantity": 10000,
"quantity_second": 0,
"type": 8,
"remark": {
"warehouse_name": "仓库11",
"sku": "SKUFAEB955",
"fnsku": ""
},
"amazon_sale_date": "2021-12-11",
"expect_arrive_time": ""
},
{
"quantity": 21600,
"quantity_second": 0,
"type": 8,
"remark": {
"warehouse_name": "仓库11",
"sku": "SKUFAEB955",
"fnsku": "FND27C594"
},
"amazon_sale_date": "2021-12-11",
"expect_arrive_time": ""
},
{
"quantity": 100,
"quantity_second": 0,
"type": 8,
"remark": {
"warehouse_name": "西邮智仓 美国洛杉矶",
"sku": "SKUFAEB955",
"fnsku": ""
},
"amazon_sale_date": "2021-12-11",
"expect_arrive_time": ""
},
{
"quantity": 1,
"quantity_second": 0,
"type": 8,
"remark": {
"warehouse_name": "哈哈哈",
"sku": "新版12",
"fnsku": ""
},
"amazon_sale_date": "2021-12-11",
"expect_arrive_time": ""
},
{
"quantity": 2,
"quantity_second": 0,
"type": 9,
"remark": {
"overseas_order_no": "OWS211104002",
"warehouse_name": "仓库8",
"logistics_name": "",
"deliver_time": "2021-11-04 14:41:03"
},
"amazon_sale_date": "2021-12-04",
"expect_arrive_time": ""
},
{
"quantity": 159300,
"quantity_second": 0,
"type": 5,
"remark": {
"purchase_order_sn": "PO210409003"
},
"amazon_sale_date": "2021-06-25",
"expect_arrive_time": ""
}
]
},
"total": 0
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | sid | 店铺id | integer | — | 必填 | 店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】 |
| 2 | msku | msku | string | — | 必填 | MSKU |
| 3 | type | 数据类型 | string | — | 可选 | 数据类型:【默认1】 1 FBA可售 2 FBA在途 3 本地可用 4 待检量 5 待交付 6 采购计划 8 海外仓可用 9 海外仓在途 |
| 4 | mode | 补货建议模式 | string | — | 可选 | 补货建议模式: 0 普通模式 1 海外仓中转模式 不传默认取erp当前设置模式(在补货建议列表可切换) |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0 成功 |
| 2 | message | 消息提示 | string | success | 必填 | 消息提示 |
| 3 | error_details | 错误信息 | string | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | C3D9F541-8083-E376-EB5C-606A872F5C89 | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2022-12-08 18:27:13 | 必填 | 响应时间 |
| 6 | data | 响应数据 | object | — | 必填 | 响应数据 |
| 6.1 | mode | 补货建议模式 | string | — | 必填 | 补货建议模式: 0 普通模式 1 海外仓中转模式 |
| 6.2 | source_list | source_list | array<object> | — | 必填 | |
| 6.2.1 | quantity | 数量 | object | 25 | 必填 | 数量 |
| 6.2.2 | type | 数据类型 | object | 6 | 必填 | 数据类型: 1 FBA可售 2 FBA在途 3 本地可用 4 待检量 5 待交付 6 采购计划 8 海外仓可用 9 海外仓在途 |
| 6.2.3 | amazon_sale_date | 预计FBA可售时间 | string | 2021-07-06 | 必填 | 预计FBA可售时间 |
| 6.2.4 | remark | 备注 | object | — | 必填 | 备注 |
| 6.2.4.1 | msku | msku | string | — | 可选 | MSKU。type=1时返回 |
| 6.2.4.2 | afn_fulfillable_quantity | FBA可售 | string | — | 可选 | FBA可售,type=1时 |
| 6.2.4.3 | reserved_fc_transfers | 待调仓 | string | — | 可选 | 待调仓,type=1时 |
| 6.2.4.4 | reserved_fc_processing | 调仓中 | string | — | 可选 | 调仓中,type=1时 |
| 6.2.4.5 | shipment_id | 货件单号 | string | — | 可选 | 货件单号,type=2时 |
| 6.2.4.6 | warehouse_name | 仓库名 | string | — | 可选 | 仓库名,type=3 或 type=8 或 type=9时 |
| 6.2.4.7 | sku | sku | string | — | 可选 | SKU,type=3 或 type=8 |
| 6.2.4.8 | fnsku | fnsku | string | — | 可选 | FNSKU,type=3 或 type=8 |
| 6.2.4.9 | qc_sn | 质检单号 | string | — | 可选 | 质检单号,type=4时 |
| 6.2.4.10 | purchase_order_sn | 采购单号 | string | — | 可选 | 采购单号,type=5时 |
| 6.2.4.11 | plan_sn | 采购计划编号 | object | PP210603016 | 可选 | 采购计划编号,type=6时 |
| 6.2.4.12 | overseas_order_no | 海外仓备货单号 | string | — | 可选 | 海外仓备货单号,type=9时 |
| 6.2.4.13 | logistics_name | 物流方式 | string | — | 可选 | 物流方式,type=9时 |
| 6.2.4.14 | deliver_time | 发货时间 | string | — | 可选 | 发货时间,type=9时 |
| 6.2.5 | expect_arrive_time | 预计到货时间 | string | — | 必填 | 预计到货时间,仅type=5 或 type=9时 |
| 7 | total | 总数 | integer | 0 | 必填 | 总数 |
领星ERP的接口:查询报表型数据明细 - MSKU(/erp/sc/routing/fbaSug/msku/getSourceList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。