/erp/sc/routing/restocking/analysis/getSummaryList{
"operation": {
"method": "POST",
"path": "/erp/sc/routing/restocking/analysis/getSummaryList"
},
"protocol": "HTTPS",
"host": "https://openapi.lingxing.com",
"rateLimit": {
"tokenBucketCapacity": 1,
"text": ""
},
"requestExample": {
"sid_list": [
"136",
"139"
],
"data_type": 1,
"asin_list": [
"B0xxxxxxxx"
],
"mode": 0,
"listing_opentime_list": [
"2023-06-06",
"2024-07-13"
],
"offset": 0,
"length": 20
},
"responseExample": {
"code": 0,
"message": "success",
"error_details": [],
"request_id": "384AE0B2-1F40-990E-6E3F-857DDBC58BE9",
"response_time": "2023-12-06 16:55:51",
"data": [
{
"basic_info": {
"hash_id": "0288f740df90c0d6e47ec50983d4d3cb",
"data_type": 1,
"node_type": 4,
"sid": "119",
"asin": "B0CM3B75YP",
"msku_fnsku_list": [
{
"msku": "CN0001",
"fnsku": "X0040T7HJP"
}
],
"listing_opentime_list": [
"2023-10-30 00:10:22 -07:00"
],
"sync_time": "2023-12-06 16:30:36"
},
"amazon_quantity_info": {
"amazon_quantity_valid": 0,
"amazon_quantity_shipping": 20,
"amazon_quantity_shipping_plan": 1201,
"afn_fulfillable_quantity": 0,
"reserved_fc_transfers": 0,
"reserved_fc_processing": 0
},
"scm_quantity_info": {
"sc_quantity_local_valid": 23,
"sc_quantity_oversea_valid": 0,
"sc_quantity_oversea_shipping": 0,
"sc_quantity_local_qc": 0,
"sc_quantity_purchase_plan": 0,
"sc_quantity_purchase_shipping": 0,
"sc_quantity_local_shipping": 0
},
"sales_info": {
"sales_avg_3": 0,
"sales_avg_7": 0,
"sales_avg_14": 0,
"sales_avg_30": 0,
"sales_avg_60": 0,
"sales_avg_90": 0,
"sales_total_3": 0,
"sales_total_7": 0,
"sales_total_14": 0,
"sales_total_30": 0,
"sales_total_60": 0,
"sales_total_90": 0
},
"suggest_info": {
"out_stock_flag": 0,
"out_stock_date": "",
"estimated_sale_quantity": 0,
"estimated_sale_avg_quantity": 0,
"available_sale_days": 360,
"fba_available_sale_days": 360,
"quantity_sug_purchase": 0,
"quantity_sug_local_to_oversea": 0,
"quantity_sug_local_to_fba": 0,
"quantity_sug_oversea_to_fba": 0,
"out_stock_date_purchase": "",
"out_stock_date_local": "",
"out_stock_date_oversea": "",
"sug_date_purchase": "",
"sug_date_send_local": "",
"sug_date_send_oversea": "",
"suggest_sm_list": [
{
"sm_id": "241241710888379394",
"name": "空派",
"quantity_sug_purchase": 0,
"quantity_sug_local_to_fba": 0,
"quantity_sug_local_to_oversea": 0
},
{
"sm_id": "241384850192131072",
"name": "sr258",
"quantity_sug_purchase": 0,
"quantity_sug_local_to_fba": 0,
"quantity_sug_local_to_oversea": 0
}
]
},
"ext_info": {
"restock_status": 0,
"remark": "",
"star": 0,
"need_flag": []
},
"item_list": [
{
"basic_info": {
"hash_id": "04158e9f9392e59f88ead19f374f5953",
"data_type": 1,
"node_type": 3,
"sid": "119",
"asin": "B0CM3B75YP",
"msku_fnsku_list": [
{
"msku": "CN0001",
"fnsku": "X0040T7HJP"
}
],
"listing_opentime_list": [
"2023-10-30 00:10:22 -07:00"
],
"sync_time": "2023-12-06 16:30:36"
},
"amazon_quantity_info": {
"amazon_quantity_valid": 0,
"amazon_quantity_shipping": 20,
"amazon_quantity_shipping_plan": 1201,
"afn_fulfillable_quantity": 0,
"reserved_fc_transfers": 0,
"reserved_fc_processing": 0
},
"scm_quantity_info": {
"sc_quantity_local_valid": 23,
"sc_quantity_oversea_valid": 0,
"sc_quantity_oversea_shipping": 0,
"sc_quantity_local_qc": 0,
"sc_quantity_purchase_plan": 0,
"sc_quantity_purchase_shipping": 0,
"sc_quantity_local_shipping": 0
},
"sales_info": {
"sales_avg_3": 0,
"sales_avg_7": 0,
"sales_avg_14": 0,
"sales_avg_30": 0,
"sales_avg_60": 0,
"sales_avg_90": 0,
"sales_total_3": 0,
"sales_total_7": 0,
"sales_total_14": 0,
"sales_total_30": 0,
"sales_total_60": 0,
"sales_total_90": 0
},
"suggest_info": {
"out_stock_flag": 0,
"out_stock_date": "",
"estimated_sale_quantity": 0,
"estimated_sale_avg_quantity": 0,
"available_sale_days": 360,
"fba_available_sale_days": 360,
"quantity_sug_purchase": 0,
"quantity_sug_local_to_oversea": 0,
"quantity_sug_local_to_fba": 0,
"quantity_sug_oversea_to_fba": 0,
"out_stock_date_purchase": "",
"out_stock_date_local": "",
"out_stock_date_oversea": "",
"sug_date_purchase": "",
"sug_date_send_local": "",
"sug_date_send_oversea": "",
"suggest_sm_list": [
{
"sm_id": "241241710888379394",
"name": "空派",
"quantity_sug_purchase": 0,
"quantity_sug_local_to_fba": 0,
"quantity_sug_local_to_oversea": 0
},
{
"sm_id": "241384850192131072",
"name": "sr258",
"quantity_sug_purchase": 0,
"quantity_sug_local_to_fba": 0,
"quantity_sug_local_to_oversea": 0
}
]
},
"ext_info": {
"restock_status": 1,
"remark": "",
"star": 0,
"need_flag": []
},
"item_list": []
}
]
}
],
"total": 5
}
}| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | sid_list | 店铺id | array<any> | — | 可选 | 店铺id |
| 2 | data_type | 查询维度 | integer | — | 必填 | 查询维度:1 asin,2 msku |
| 3 | asin_list | 按传入的asin列表筛选数据 | array<any> | — | 可选 | 按传入的asin列表筛选数据 |
| 4 | msku_list | 按传入的msku列表筛选数据 | array<any> | — | 可选 | 按传入的msku列表筛选数据 |
| 5 | mode | 补货建议模式 | integer | — | 可选 | 补货建议模式: 0 普通模式 1 海外仓中转模式 【不传默认取erp当前设置模式(在补货建议列表可切换)】 |
| 6 | listing_date_range | listing创建时间范围筛选 | array<any> | — | 可选 | listing创建时间范围筛选:[开始日期,结束日期],必须同时包含两个日期才生效 |
| 7 | offset | 分页偏移量 | integer | — | 可选 | 分页偏移量,默认0 |
| 8 | length | 分页条数 | integer | — | 可选 | 分页条数,默认20,上限50 |
| 序号 | 字段 | 名称 | 类型 | 默认值 | 必填 | 描述 |
|---|---|---|---|---|---|---|
| 1 | code | 状态码 | integer | 0 | 必填 | 状态码,0成功 |
| 2 | message | 提示信息 | string | success | 必填 | 提示信息 |
| 3 | error_details | 错误信息 | array<any> | — | 必填 | 错误信息 |
| 4 | request_id | 请求链路id | string | DCF829F2-1054-08BC-7501-FBCF8BC614CA | 必填 | 请求链路id |
| 5 | response_time | 响应时间 | string | 2023-04-24 17:29:54 | 必填 | 响应时间 |
| 6 | total | 总数 | integer | 3 | 必填 | 总数 |
| 7 | data | 响应数据 | array<object> | — | 必填 | 响应数据 |
| 7.1 | basic_info | 基础数据 | object | — | 必填 | 基础数据 |
| 7.1.1 | data_type | 数据类型 | integer | 2 | 必填 | 数据类型: 1 asin,2 msku |
| 7.1.2 | node_type | 节点类型 | integer | 1 | 必填 | 节点类型: 1 共享库存父行 2 共享库存子行 3 非共享库存 4 ASIN+国家汇总行 |
| 7.1.3 | sid | 店铺id | string | 9 | 必填 | 店铺id |
| 7.1.4 | asin | asin | string | B0ABC83915 | 必填 | ASIN |
| 7.1.5 | msku_fnsku_list | 相关msku和fnsku | array<object> | — | 必填 | 相关msku和fnsku |
| 7.1.5.1 | msku | msku | string | msku3 | 必填 | msku |
| 7.1.5.2 | fnsku | fnsku | string | fnsku2 | 必填 | fnsku |
| 7.1.6 | listing_opentime_list | listing创建时间 | array<any> | ["2021-07-02 01:43:09 -07:00"] | 必填 | listing创建时间 |
| 7.1.7 | sync_time | 数据更新时间 | string | 2023-04-24 16:48:02 | 必填 | 数据更新时间 |
| 7.1.8 | hash_id | 唯一标识 | string | 6aff663b613960e61afc442dcde23aff | 必填 | 唯一标识 |
| 7.2 | amazon_quantity_info | 亚马逊数量 | object | — | 必填 | 亚马逊数量 |
| 7.2.1 | amazon_quantity_valid | FBA可售 | number | 0 | 必填 | FBA可售 |
| 7.2.2 | amazon_quantity_shipping | FBA在途 | number | 0 | 必填 | FBA在途 |
| 7.2.3 | afn_reserved_quantity | FBA预留 | number | 0 | 必填 | FBA预留 |
| 7.2.4 | amazon_quantity_shipping_plan | 预计发货量 | number | 0 | 必填 | 预计发货量 |
| 7.2.5 | afn_fulfillable_quantity | FBA可售-可售 | number | 0 | 必填 | FBA可售-可售 |
| 7.2.6 | reserved_fc_transfers | FBA可售-待调仓 | number | 0 | 必填 | FBA可售-待调仓 |
| 7.2.7 | reserved_fc_processing | FBA可售-调仓中 | number | 0 | 必填 | FBA可售-调仓中 |
| 7.3 | scm_quantity_info | 供应链数量 | object | — | 必填 | 供应链数量 |
| 7.3.1 | sc_quantity_local_valid | scm-本地仓可用 | number | 0 | 必填 | scm-本地仓可用 |
| 7.3.2 | sc_quantity_oversea_valid | scm-海外仓可用 | number | 0 | 必填 | scm-海外仓可用 |
| 7.3.3 | sc_quantity_oversea_shipping | scm-海外仓在途 | number | 0 | 必填 | scm-海外仓在途 |
| 7.3.4 | sc_quantity_local_qc | scm-待检待上架量 | number | 0 | 必填 | scm-待检待上架量 |
| 7.3.5 | sc_quantity_purchase_plan | scm-采购计划 | number | 50 | 必填 | scm-采购计划 |
| 7.3.6 | sc_quantity_purchase_shipping | scm-待交付 | number | 0 | 必填 | scm-待交付 |
| 7.3.7 | sc_quantity_local_shipping | scm-本地仓在途 | number | 0 | 必填 | scm-本地仓在途 |
| 7.4 | sales_info | 历史销量数据 | object | — | 必填 | 历史销量数据 |
| 7.4.1 | sales_avg_3 | 日均销量-3天 | number | 165 | 必填 | 日均销量-3天 |
| 7.4.2 | sales_avg_7 | 日均销量-7天 | number | 165 | 必填 | 日均销量-7天 |
| 7.4.3 | sales_avg_14 | 日均销量-14天 | number | 165 | 必填 | 日均销量-14天 |
| 7.4.4 | sales_avg_30 | 日均销量-30天 | number | 165 | 必填 | 日均销量-30天 |
| 7.4.5 | sales_avg_60 | 日均销量-60天 | number | 160.9 | 必填 | 日均销量-60天 |
| 7.4.6 | sales_avg_90 | 日均销量-90天 | number | 153.6 | 必填 | 日均销量-90天 |
| 7.4.7 | sales_total_3 | 总销量-3天 | number | 495 | 必填 | 总销量-3天 |
| 7.4.8 | sales_total_7 | 总销量-7天 | number | 1155 | 必填 | 总销量-7天 |
| 7.4.9 | sales_total_14 | 总销量-14天 | number | 2310 | 必填 | 总销量-14天 |
| 7.4.10 | sales_total_30 | 总销量-30天 | number | 4950 | 必填 | 总销量-30天 |
| 7.4.11 | sales_total_60 | 总销量-60天 | number | 9655 | 必填 | 总销量-60天 |
| 7.4.12 | sales_total_90 | 总销量-90天 | number | 13825 | 必填 | 总销量-90天 |
| 7.5 | suggest_info | 建议数据 | object | — | 必填 | 建议数据 |
| 7.5.1 | out_stock_flag | 断货标记 | integer | 1 | 必填 | 断货标记:0 不会断货,1 会断货 |
| 7.5.2 | out_stock_date | 断货日期(最早的) | string | 2023-04-24 | 必填 | 断货日期(最早的) |
| 7.5.3 | estimated_sale_quantity | 预测销量 | number | 15711 | 必填 | 预测销量 |
| 7.5.4 | estimated_sale_avg_quantity | 预测日均销量 | number | 275.63 | 必填 | 预测日均销量 |
| 7.5.5 | available_sale_days | 预测可售天数 | number | 0 | 必填 | 预测可售天数 |
| 7.5.6 | fba_available_sale_days | 预测可售天数(只考虑FBA库存和FBA在途) | number | 0 | 必填 | 预测可售天数(只考虑FBA库存和FBA在途) |
| 7.5.7 | quantity_sug_purchase | 建议采购量 | number | 15663 | 必填 | 建议采购量 |
| 7.5.8 | quantity_sug_local_to_oversea | 建议本地发海外仓量 | number | 13508 | 必填 | 建议本地发海外仓量 |
| 7.5.9 | quantity_sug_local_to_fba | 建议本地发FBA量 | number | 0 | 必填 | 建议本地发FBA量 |
| 7.5.10 | quantity_sug_oversea_to_fba | 建议海外仓发FBA量 | number | 6891 | 必填 | 建议海外仓发FBA量 |
| 7.5.11 | out_stock_date_purchase | 断货时间 | string | 2023-04-24 | 必填 | 断货时间:采购 |
| 7.5.12 | out_stock_date_local | 断货时间 | string | 2023-04-24 | 必填 | 断货时间:本地仓发货 |
| 7.5.13 | out_stock_date_oversea | 断货时间 | string | 2023-04-24 | 必填 | 断货时间:海外仓发货 |
| 7.5.14 | sug_date_purchase | 建议采购日 | string | 2023-04-24 | 必填 | 建议采购日 |
| 7.5.15 | sug_date_send_local | 建议本地仓发货日 | string | 2023-04-24 | 必填 | 建议本地仓发货日 |
| 7.5.16 | sug_date_send_oversea | 建议海外仓发货日 | string | 2023-04-24 | 必填 | 建议海外仓发货日 |
| 7.5.17 | suggest_sm_list | 多运输方式建议量 | array<object> | — | 必填 | 多运输方式建议量 |
| 7.5.17.1 | sm_id | 运输方式id | string | 241250000631390720 | 必填 | 运输方式id |
| 7.5.17.2 | name | 运输方式名称 | string | 海派 | 必填 | 运输方式名称 |
| 7.5.17.3 | quantity_sug_purchase | 建议采购量 | number | 5300 | 必填 | 建议采购量 |
| 7.5.17.4 | quantity_sug_local_to_fba | 建议本地发FBA量 | number | 4900 | 必填 | 建议本地发FBA量 |
| 7.5.17.5 | quantity_sug_local_to_oversea | 建议本地发海外仓量 | number | 0 | 必填 | 建议本地发海外仓量 |
| 7.6 | ext_info | 附加信息 | object | — | 必填 | 附加信息 |
| 7.6.1 | restock_status | 无需补货标识 | integer | 0 | 必填 | 无需补货标识:0 需要补货,1 无需补货 |
| 7.6.2 | remark | 备注 | string | — | 必填 | 备注 |
| 7.6.3 | star | 是否关注 | integer | 0 | 必填 | 是否关注:0 未关注,1 已关注 |
| 7.6.4 | need_flag | 已弃用(原采、发标识) | array<any> | [1,2] | 必填 | 已弃用(原采、发标识) |
| 7.7 | item_list | 子项-结构同父项 | array<any> | | 必填 | 子项-结构同父项 |
领星ERP的接口:查询补货列表(/erp/sc/routing/restocking/analysis/getSummaryList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。