简要描述:

商品调价记录查询接口(最多获取近3天的调价记录)

请求URL:

http(s)://平台域名/api/v1/goods/pricelog

请求方式:

POST

请求参数:

Header 参数类型是否必填描述示例值
Signstring签名点击查看签名规范
Timestampstring13位时间戳(毫秒)1696644296195
UserIdstring您的用户接口appid2uIkTrXNdAFc7OKhbRenzjDtgPoZ6s5C
Body 参数类型是否必填描述示例值
keywordstring商品ID或商品名称
limitint当前分页显示数量(不填默认为100,最大为100)100
pageint当前页码(不填默认为1)1

签名示例:

1696644296195{"keyword":"","limit":100,"page":1}apikey

返回示例:

{
    "code": 200,
    "msg": "成功",
    "data": {
        "list": [
            {
                "create_time": "2023-10-07 01:05:45",
                "price": "2.00",
                "price1": "1.00",
                "pricecha": "1.00",
                "price_type": 1,
                "goods_id": 2909,
                "goods_name": "test自营手工",
                "goods_img": "http://hy.ziyuanting.com/Uploads%2FAttachment%2F2022-10-25%2F63578b642b6c1.jpg",
                "status": 1
            },
            {
                "create_time": "2023-10-06 23:30:25",
                "price": "13.43",
                "price1": "17.13",
                "pricecha": "3.70",
                "price_type": 2,
                "goods_id": 2908,
                "goods_name": "【自动充值】tv视频会员1个月",
                "goods_img": "http://hy.ziyuanting.com/ad186e989bcef8ec9b92ce56cc61ea26.png",
                "status": 1
            }
        ],
        "total": 2
    }
}

返回data说明:

参数名类型描述
listarray调价记录列表
totalint获取到的记录总数量

返回list说明:

参数名类型描述
create_timestring调价时间
pricestring最新价格
price1string历史价格
pricechastring商品差价
price_typeint调价类型:1=涨价,2=降价
goods_idint商品ID
goods_namestring商品名称
goods_imgstring商品图片
statusint商品状态:1=销售,2=暂停,3=禁售