商品列表接口

简要描述:

商品列表接口

请求URL:

http(s)://域名/api/v1/goods/list

请求方式:

POST

请求参数:

Header 参数类型是否必填描述示例值
Signstring签名点击查看签名规范
Timestampstring13位时间戳(毫秒)1696644296195
UserIdstring您的用户接口appid2uIkTrXNdAFc7OKhbRenzjDtgPoZ6s5C
Body 参数类型是否必填描述示例值
cate_idint二级分类ID0
keywordstring商品名称
limitint每页数量(为空默认为100条)100
pageint当前页码(为空默认为第1页)1

签名示例:

1696654563249{"cate_id":0,"keyword":"","limit":100,"page":1}e3yw37fe2zhb4wb6p2zzmxerpr835pjy

返回示例:

{
    "code": 200,
    "msg": "成功",
    "data": {
        "list": [
            {
                "id": 2909,
                "goods_name": "test自营手工",
                "goods_img": "https://img.hmxn.cc/images/2025/07/28/0c1bd0c40657.jpg",
                "goods_type": 2,
                "face_value": "2.00",
                "goods_price": "2.00",
                "status": 1,
                "stock_num": 9999,
                "can_buy":"拼多多,京东,快手",
                "can_no_buy":"抖音",
                "can_price":"2.00",
                "need_balance":"2000"
            },
            {
                "id": 4,
                "goods_name": "供货手工",
                "goods_img": "https://img.hmxn.cc/images/2025/07/28/0c1bd0c40657.jpg",
                "goods_type": 2,
                "face_value": "1.10",
                "goods_price": "1.10",
                "status": 2,
                "stock_num": 1110,
                "can_buy":"拼多多,京东,快手",
                "can_no_buy":"抖音",
                "can_price":"2.00",
                "need_balance":"2000"
            }
        ],
        "total": 2
    }
}

返回data说明:

参数名类型描述
listarray商品列表数据
totalint获取到的商品总数量

返回list说明:

参数名类型描述
idint商品ID
goods_namestring商品名称
goods_imgstring商品图片
goods_typeint商品类型:1=卡密商品,2=虚拟商品
face_valuestring商品面值
goods_pricestring商品价格
statusint商品状态:1=销售,2=暂停,3=禁售
stock_numint商品库存
can_buystring可售渠道
can_no_buystring禁售渠道
can_pricestring销售限价
need_balancestring余额限价
联系我们

联系我们

400-696-1187

在线咨询:点击这里给我发消息

邮件:service@wanfengwl.cn

工作时间:

正常工作日 8:30 - 22:30

周末/节假日10:30 - 18:30

关注微信
关注微信
分享本页
返回顶部