xiaodian.cpsdata.live.queryDiscountPrice

  • 免费
  • 需要授权
  • 结果不加密
获取购物袋商品信息

公共参数

名称 类型 必选 描述
app_key Long 接入时申请的app_key
method String 接口名称
access_token String Oauth2.0授权获得的access_token
sign String 对 API 调用参数(除sign外)进行 md5 加密获得。参数的顺序为字母表的顺序
timestamp Long 时间戳,使用Unix时间戳格式
format String 响应格式。默认为json格式,固定
sign_method String 参数的加密方法选择,当前只支持Md5
version String API协议版本,固定值为:1.0

输入参数

名称 类型 必选 描述 示例值
params
Object 参数
roomId
Number 房间ID
feedbackId
Number 分销员Id
shareRate
Number 分销员可获得的比例

返回参数

名称 类型 描述 默认值
status
Object 状态
code
String 状态值
msg
String 信息
result
Object 结果
data
Object 数据
itemList
Object[] 购物车商品列表
itemList_object
Object 单个商品信息
itemId
String 商品Id
image
String 商品图
defaultPrice
Number 秒杀价
seckill
Boolean 是否秒杀
originalPrice
Number 原生价格
buyLink
String 购买链接
itemStatus
Number 商品状态
payPersonNum
Number 商品购买人数
adPrice
Number 商品佣金
title
String 商品 标题
stock
Number 库存
vxDetailLink
String 商品详情页链接
success
Boolean 是否成功

请求参数示例

1).
{"params":{"roomId":11912368,"feedbackId":0,"shareRate":100}}

返回示例

1).
{ "status": { "code": "0000000", "msg": "正常" }, "result": { "data": { "itemList": [ { "itemId": "1mvwezc", "image": "https://s5.mogucdn.com/mlcdn/55cf19/200904_7hehhhlgfe4e3171590380b8g0d79_640x962.png", "defaultPrice": 9900, "seckill": true, "originalPrice": 999900, "buyLink": "/pages/live/room/index?itemId=1mvwezc&actorUserId=17uh3me&from=livecps_305_9999_0&acm=3.lb.1_4_1mvwezc.0..uvoGls9M2igPJ.x_17uh3mesd_130xid_3xm_1e6nbscxk_mogujiedm1_1000&cparam=MTU5OTM2MTY1MV8xMWtfZTEyNWE2MmRkMzg4NWJjOGY3NzYzMmI1ZTZmMGUxMjFfMzA1XzBfMF80ZF8yMzcyMjQ3NTFfMF8wXzBfMl8yMF9mYmlkLTAueGlkLTk5OTkucmlkLTExOTEyMzY4", "itemStatus": 0, "payPersonNum": 27, "adPrice": 8, "title": "【万万LJT】多芬Beethoven*蕾丝花边冰丝凉席三件套", "stock": 11 }, { "itemId": "1mvvo4q", "image": "https://s5.mogucdn.com/mlcdn/55cf19/200904_5d8b44k59bilg049ilf2i18eei8j6_640x961.png", "defaultPrice": 7900, "seckill": true, "originalPrice": 7900, "buyLink": "/pages/live/room/index?itemId=1mvvo4q&actorUserId=17uh3me&from=livecps_305_9999_0&acm=3.lb.1_4_1mvvo4q.0..uvoGls9M2igQK.x_17uh3mesd_130xid_3xm_1e6nbscxk_mogujiedm1_1000&cparam=MTU5OTM2MTY1MV8xMWtfZTEyNWE2MmRkMzg4NWJjOGY3NzYzMmI1ZTZmMGUxMjFfMzA1XzBfMF80ZF8yMzcyMjQ3NTFfMF8wXzBfMl8yMF9mYmlkLTAueGlkLTk5OTkucmlkLTExOTEyMzY4", "itemStatus": 0, "payPersonNum": 14, "title": "贝多芬Beethoven*加厚双层羊羔绒多功能毛毯", "stock": 37 }, { "itemId": "1mvwff6", "image": "https://s11.mogucdn.com/mlcdn/55cf19/200904_294e789kaad64a49h8db1g1ahb105_640x962.png", "defaultPrice": 999900, "seckill": false, "originalPrice": 999900, "buyLink": "/pages/live/room/index?itemId=1mvwff6&actorUserId=17uh3me&from=livecps_305_9999_0&acm=3.lb.1_4_1mvwff6.0..uvoGls9M2igQL.x_17uh3mesd_130xid_3xm_1e6nbscxk_mogujiedm1_1000&cparam=MTU5OTM2MTY1MV8xMWtfZTEyNWE2MmRkMzg4NWJjOGY3NzYzMmI1ZTZmMGUxMjFfMzA1XzBfMF80ZF8yMzcyMjQ3NTFfMF8wXzBfMl8yMF9mYmlkLTAueGlkLTk5OTkucmlkLTExOTEyMzY4", "itemStatus": 0, "payPersonNum": 77, "adPrice": 8, "title": "【万万LJT】eethoven*60支双面水洗天丝丝滑四件套", "stock": 24 }, { "itemId": "1mvwfii", "image": "https://s5.mogucdn.com/mlcdn/55cf19/200904_7f6ei6d365i5l0je590ab4dlh610c_640x961.png", "defaultPrice": 5990, "seckill": true, "originalPrice": 999900, "buyLink": "/pages/live/room/index?itemId=1mvwfii&actorUserId=17uh3me&from=livecps_305_9999_0&acm=3.lb.1_4_1mvwfii.0..uvoGls9M2igQM.x_17uh3mesd_130xid_3xm_1e6nbscxk_mogujiedm1_1000&cparam=MTU5OTM2MTY1MV8xMWtfZTEyNWE2MmRkMzg4NWJjOGY3NzYzMmI1ZTZmMGUxMjFfMzA1XzBfMF80ZF8yMzcyMjQ3NTFfMF8wXzBfMl8yMF9mYmlkLTAueGlkLTk5OTkucmlkLTExOTEyMzY4", "itemStatus": 0, "payPersonNum": 68, "adPrice": 8, "title": "【万万LJT】天然植物艾草抗菌枕芯", "stock": 5 }, { "itemId": "1mvwfew", "image": "https://s11.mogucdn.com/mlcdn/55cf19/200904_69899h07ff3eek7fgdadb8380h2g6_640x961.png", "defaultPrice": 999900, "seckill": false, "originalPrice": 999900, "buyLink": "/pages/live/room/index?itemId=1mvwfew&actorUserId=17uh3me&from=livecps_305_9999_0&acm=3.lb.1_4_1mvwfew.0..uvoGls9M2igQN.x_17uh3mesd_130xid_3xm_1e6nbscxk_mogujiedm1_1000&cparam=MTU5OTM2MTY1MV8xMWtfZTEyNWE2MmRkMzg4NWJjOGY3NzYzMmI1ZTZmMGUxMjFfMzA1XzBfMF80ZF8yMzcyMjQ3NTFfMF8wXzBfMl8yMF9mYmlkLTAueGlkLTk5OTkucmlkLTExOTEyMzY4", "itemStatus": 0, "payPersonNum": 3, "adPrice": 8, "title": "【万万LJT】200支匹马棉大版数码印花四件套", "stock": 6 }, { "itemId": "1mvwffe", "image": "https://s11.mogucdn.com/mlcdn/c45406/200904_503g7k4dcg08h26695ccfae3kal06_800x800.jpg", "defaultPrice": 999900, "seckill": false, "originalPrice": 999900, "buyLink": "/pages/live/room/index?itemId=1mvwffe&actorUserId=17uh3me&from=livecps_305_9999_0&acm=3.lb.1_4_1mvwffe.0..uvoGls9M2igQO.x_17uh3mesd_130xid_3xm_1e6nbscxk_mogujiedm1_1000&cparam=MTU5OTM2MTY1MV8xMWtfZTEyNWE2MmRkMzg4NWJjOGY3NzYzMmI1ZTZmMGUxMjFfMzA1XzBfMF80ZF8yMzcyMjQ3NTFfMF8wXzBfMl8yMF9mYmlkLTAueGlkLTk5OTkucmlkLTExOTEyMzY4", "itemStatus": 0, "payPersonNum": 242, "adPrice": 8, "title": "【万万LJT】贝多芬Beethoven*超强吸水速干干发帽", "stock": 7 }, { "itemId": "1mvwff8", "image": "https://s5.mogucdn.com/mlcdn/55cf19/200904_3g3akf9i6e693h0ijlhj6l0d71g3f_640x961.png", "defaultPrice": 26900, "seckill": true, "originalPrice": 26900, "buyLink": "/pages/live/room/index?itemId=1mvwff8&actorUserId=17uh3me&from=livecps_305_9999_0&acm=3.lb.1_4_1mvwff8.0..uvoGls9M2igQP.x_17uh3mesd_130xid_3xm_1e6nbscxk_mogujiedm1_1000&cparam=MTU5OTM2MTY1MV8xMWtfZTEyNWE2MmRkMzg4NWJjOGY3NzYzMmI1ZTZmMGUxMjFfMzA1XzBfMF80ZF8yMzcyMjQ3NTFfMF8wXzBfMl8yMF9mYmlkLTAueGlkLTk5OTkucmlkLTExOTEyMzY4", "itemStatus": 0, "payPersonNum": 95, "adPrice": 8, "title": "【万万LJT】eethoven*水洗甲壳素真丝轻奢刺绣四件套", "stock": 11 } ] } }, "success": true }

异常示例