轻易云
注册体验

领星ERP查询报表型数据明细 - MSKU接口

所属平台
领星ERP
类型
WebAPI
作用
QUERY
接口版本
1.0
适配器
\Adapter\LingXing\LXQueryAdapter
授权方式
OTHER
描述
补货建议 · POST · 请求参数 4 个(必填 2) · 响应参数 28 个 · 限流令牌桶容量 1
更新日期
2026-11-21

查询报表型数据明细 - MSKU

POST/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
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1sid店铺idinteger—必填店铺id ,对应查询亚马逊店铺列表接口对应字段【sid】
2mskumskustring—必填MSKU
3type数据类型string—可选数据类型:【默认1】 1 FBA可售 2 FBA在途 3 本地可用 4 待检量 5 待交付 6 采购计划 8 海外仓可用 9 海外仓在途
4mode补货建议模式string—可选补货建议模式: 0 普通模式 1 海外仓中转模式 不传默认取erp当前设置模式(在补货建议列表可切换)

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码,0 成功
2message消息提示stringsuccess必填消息提示
3error_details错误信息string—必填错误信息
4request_id请求链路idstringC3D9F541-8083-E376-EB5C-606A872F5C89必填请求链路id
5response_time响应时间string2022-12-08 18:27:13必填响应时间
6data响应数据object—必填响应数据
6.1mode补货建议模式string—必填补货建议模式: 0 普通模式 1 海外仓中转模式
6.2source_listsource_listarray<object>—必填
6.2.1quantity数量object25必填数量
6.2.2type数据类型object6必填数据类型: 1 FBA可售 2 FBA在途 3 本地可用 4 待检量 5 待交付 6 采购计划 8 海外仓可用 9 海外仓在途
6.2.3amazon_sale_date预计FBA可售时间string2021-07-06必填预计FBA可售时间
6.2.4remark备注object—必填备注
6.2.4.1mskumskustring—可选MSKU。type=1时返回
6.2.4.2afn_fulfillable_quantityFBA可售string—可选FBA可售,type=1时
6.2.4.3reserved_fc_transfers待调仓string—可选待调仓,type=1时
6.2.4.4reserved_fc_processing调仓中string—可选调仓中,type=1时
6.2.4.5shipment_id货件单号string—可选货件单号,type=2时
6.2.4.6warehouse_name仓库名string—可选仓库名,type=3 或 type=8 或 type=9时
6.2.4.7skuskustring—可选SKU,type=3 或 type=8
6.2.4.8fnskufnskustring—可选FNSKU,type=3 或 type=8
6.2.4.9qc_sn质检单号string—可选质检单号,type=4时
6.2.4.10purchase_order_sn采购单号string—可选采购单号,type=5时
6.2.4.11plan_sn采购计划编号objectPP210603016可选采购计划编号,type=6时
6.2.4.12overseas_order_no海外仓备货单号string—可选海外仓备货单号,type=9时
6.2.4.13logistics_name物流方式string—可选物流方式,type=9时
6.2.4.14deliver_time发货时间string—可选发货时间,type=9时
6.2.5expect_arrive_time预计到货时间string—必填预计到货时间,仅type=5 或 type=9时
7total总数integer0必填总数

领星ERP的接口:查询报表型数据明细 - MSKU(/erp/sc/routing/fbaSug/msku/getSourceList),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

轻易云已预置该接口的适配能力,联系我们即可开始配置数据集成。