商品调价记录

简要描述:

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

请求URL:

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

请求方式:

POST

请求参数:

Header 参数 类型 是否必填 描述 示例值
Sign string 签名 点击查看签名规范
Timestamp string 13位时间戳(毫秒) 1696644296195
UserId string 您的用户接口appid 2uIkTrXNdAFc7OKhbRenzjDtgPoZ6s5C
Body 参数 类型 是否必填 描述 示例值 支持版本
keyword string 商品ID或商品名称    
limit int 当前分页显示数量(不填默认为100,最大为100) 100  
page int 当前页码(不填默认为1) 1  
day int 查询天数(不填默认为3) 3 系统版本1.7.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://img.kasushou.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://img.kasushou.cn/ad186e989bcef8ec9b92ce56cc61ea26.png",
                "status": 1
            }
        ],
        "total": 2
    }
}

返回data说明:

参数名 类型 描述
list array 调价记录列表
total int 获取到的记录总数量

返回list说明:

参数名 类型 描述
create_time string 调价时间
price string 最新价格
price1 string 历史价格
pricecha string 商品差价
price_type int 调价类型:1=涨价,2=降价
goods_id int 商品ID
goods_name string 商品名称
goods_img string 商品图片
status int 商品状态:1=销售,2=暂停,3=禁售
© 版权声明
THE END
喜欢就支持一下吧
点赞8 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容