轻易云
注册体验

领星ERP查询Cdiscount在线商品接口

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

查询Cdiscount在线商品

POST/basicOpen/multiplatform/cdiscount/list
加工厂
{
  "operation": {
    "method": "POST",
    "path": "/basicOpen/multiplatform/cdiscount/list"
  },
  "protocol": "HTTPS",
  "host": "https://openapi.lingxing.com",
  "rateLimit": {
    "tokenBucketCapacity": 1,
    "text": ""
  },
  "requestExample": "curl --location 'https://openapi.lingxing.com/basicOpen/multiplatform/cdiscount/list?access_token=value&timestamp=value&sign=value&app_key=value' \\\n--header 'Content-Type: application/json' \\\n--data '{\n    \"offset\": 0,\n    \"length\": 20,\n    \"principalUids\": [10001],\n    \"storeIds\": [1, 2],\n    \"searchField\": 3,\n    \"searchSingleValue\": \"REF001\"\n}'",
  "responseExample": {
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "a0d54debf93140f3b58d1ed81e8e3583",
    "response_time": "2026-07-14 12:00:00",
    "data": {
      "count": 30,
      "list": [
        {
          "id": 1,
          "productUniqueId": 10001,
          "principalUids": [
            10001
          ],
          "principalName": "张三",
          "performanceUid": 10002,
          "performanceName": "李四",
          "variantUniqueId": 20001,
          "mskuId": "MSKU001",
          "msku": "msku-test",
          "title": "示例商品标题",
          "imgUrl": "https://img.example.com/1.jpg",
          "status": "Active",
          "statusName": "在售",
          "reference": "REF001",
          "ean": "1234567890123",
          "price": 29.99,
          "originalPrice": 39.99,
          "currency": "EUR",
          "currencyIcon": "€",
          "inventory": 100,
          "createTime": "2026-01-01 10:00:00",
          "updateTime": "2026-01-05 10:00:00",
          "storeId": 1,
          "storeName": "我的店铺",
          "pname": "商品A",
          "sku": "SKU001",
          "pid": 1001
        }
      ]
    },
    "total": 30
  }
}

接口请求参数

序号字段名称类型默认值必填描述
1principalUids负责人用户ID列表array<any>—可选负责人用户ID列表;传[-1]表示仅查询未分配负责人,-1不能与其他UID混传
2offset偏移量integer—可选偏移量,默认0
3length每页条数integer—可选每页条数,默认20,最大200
4storeIds店铺ID列表array<any>—可选店铺ID列表
5pairingStatus配对状态integer—可选配对状态 0=未配对 1=已配对
6searchSingleValue模糊搜索值string—可选模糊搜索值
7searchValues精确搜索值列表array<any>—可选精确搜索值列表
8searchField搜索字段integer—可选搜索字段: 1=MSKU 2=标题 3=商品ID/reference 4=EAN/GTIN 5=本地SKU 6=品名
9sortType排序方式string—可选排序方式:asc/desc
10sortField排序字段string—可选排序字段
11categoryIds分类ID列表array<any>—可选分类ID列表
12brandIds品牌ID列表array<any>—可选品牌ID列表
13statusList状态列表array<any>—可选状态列表
14timeField时间类型integer—可选时间类型: 1=创建时间 2=更新时间
15startTime开始时间(yyyy-MM-dd HHstring—可选开始时间(yyyy-MM-dd HH:mm:ss)
16endTime结束时间(yyyy-MM-dd HHstring—可选结束时间(yyyy-MM-dd HH:mm:ss)
17priceValue价格筛选值number—可选价格筛选值
18priceOp价格筛选条件string—可选价格筛选条件:gt/lt/eq
19originalPriceValue原价筛选值number—可选原价筛选值
20originalPriceOp原价筛选条件string—可选原价筛选条件:gt/lt/eq
21inventoryValue库存筛选值integer—可选库存筛选值
22inventoryOp库存筛选条件string—可选库存筛选条件:gt/lt/eq

接口响应参数

序号字段名称类型默认值必填描述
1code状态码integer0必填状态码,0:成功
2message消息提示stringsuccess必填消息提示
3error_details数据校验失败时的错误详情array<any>—必填数据校验失败时的错误详情
4request_id请求链路idstringa0d54debf93140f3b58d1ed81e8e3583必填请求链路id
5response_time响应时间string2026-07-14 12:00:00必填响应时间
6data响应数据object—必填响应数据
6.1count总数integer30必填总数
6.2list列表数据array<object>—必填列表数据
6.2.1principalUids负责人用户ID列表array<any>[10001]可选负责人用户ID列表
6.2.2principalName负责人名称string张三可选负责人名称
6.2.3performanceUid业绩归属人用户IDinteger10002可选业绩归属人用户ID
6.2.4performanceName业绩归属人名称string李四可选业绩归属人名称
6.2.5ididinteger1必填ID
6.2.6productUniqueId商品唯一IDinteger10001必填商品唯一ID
6.2.7variantUniqueId子体唯一IDinteger20001必填子体唯一ID
6.2.8mskuIdMSKU IDstringMSKU001必填MSKU ID
6.2.9mskumskustringmsku-test必填MSKU
6.2.10title标题string示例商品标题必填标题
6.2.11imgUrl图片URLstringhttps://img.example.com/1.jpg必填图片URL
6.2.12status状态stringActive必填状态
6.2.13statusName状态名称string在售必填状态名称
6.2.14reference商品ID/ReferencestringREF001必填商品ID/Reference
6.2.15eaneanstring1234567890123必填EAN
6.2.16price售价number29.99必填售价
6.2.17originalPrice原价number39.99必填原价
6.2.18currency币种stringEUR必填币种
6.2.19currencyIcon币种符号string€必填币种符号
6.2.20inventory库存integer100必填库存
6.2.21createTime创建时间string2026-01-01 10:00:00必填创建时间
6.2.22updateTime更新时间string2026-01-05 10:00:00必填更新时间
6.2.23storeId店铺IDinteger1必填店铺ID
6.2.24storeName店铺名称string我的店铺必填店铺名称
6.2.25pname品名string商品A必填品名
6.2.26skuskustringSKU001必填SKU
6.2.27pid本地产品IDinteger1001必填本地产品ID
7total总数integer30必填总数

领星ERP的接口:查询Cdiscount在线商品(/basicOpen/multiplatform/cdiscount/list),由轻易云数据集成平台 API 资产管理模块整理收纳,并随领星ERP版本更新同步更新。

需要对接这个接口?

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