Lingxing
切换旧版

查询多属性产品列表

POST/erp/sc/routing/storage/spu/spuList

接口信息

API Path请求协议请求方式令牌桶容量
/erp/sc/routing/storage/spu/spuListHTTPSPOST1

请求参数

offsetinteger必填
分页偏移量
lengthinteger必填
分页长度,上限200

请求示例

{
    "offset": 0,
    "length": 20
}

返回结果

Json Object

codeinteger必填
状态码,0 成功
示例 0
messagestring必填
提示信息
示例 success
error_detailsarray<any>必填
错误信息
request_idstring必填
请求链路id
示例 68E5504B-B027-72D4-336B-0A59825AC259
response_timestring必填
响应时间
示例 2022-09-13 15:04:37
totalinteger必填
总数
示例 1
dataarray<object>必填
响应数据
隐藏子属性
ps_idinteger必填
SPU 唯一id
spustring必填
SPU
示例 spu-001
spu_namestring必填
款名
示例 spu-001
modelstring必填
型号
示例 1
cidinteger必填
分类id
示例 1275
bidinteger必填
品牌id
示例 1012
developer_uidinteger必填
开发人id
示例 1
cg_uidinteger必填
采购员id
示例 1
purchase_remarkstring必填
采购备注
示例 xx
cg_pricestring必填
采购成本
示例 11.000000
cg_deliveryinteger必填
交期
示例 1
create_uidstring必填
创建人id
示例 1
create_timestring必填
创建时间
示例 2022-01-30 00:02:00
statusinteger必填
状态:
0 停售,
1 在售,
2 开发中,
3 清仓
示例 1

返回成功示例

{
    "code": 0,
    "message": "success",
    "error_details": [],
    "request_id": "68E5504B-B027-72D4-336B-0A59825AC259",
    "response_time": "2022-09-13 15:04:37",
    "data": [
        {
            "ps_id": 1,
            "spu": "spu-0001",
            "spu_name": "spu-0001",
            "model": "1",
            "cid": 1275,
            "bid": 1012,
            "developer_uid": 10397585,
            "cg_uid": 10317902,
            "cg_price": "11.000000",
            "purchase_remark": "1111",
            "cg_delivery": 1,
            "create_uid": 10319730,
            "create_time": "2022-07-14 17:47:18",
            "status": 1
        }
    ],
    "total": 66
}