xiaodian.item.getActivityStockAndPriceForTencent

  • 免费
  • 无需授权
  • 结果不加密
批量获取商品item的库存和价格(内测中,其他ISV请不要调用)

公共参数

名称 类型 必选 描述
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

输入参数

名称 类型 必选 描述 示例值
itemId
String 商品ID
objectId
String 快抢活动ID

返回参数

名称 类型 描述 默认值

请求参数示例

1).
{ "itemId": "", "objectId": "" }

返回示例

1).
{ "result": { "data": { "buyerAccountId": "nitian1", "buyerName": "m_92255efddaaa68a8", "buyerUserId": 109111130, "createdStr": "2016-02-16 12:56:01", "isRate": true, "itemOrderInfos": [ { "img": "/p1/150629/14hy0q_qmeyde_720x960.jpg", "itemId": 235211136, "itemOrderId": 11117701069130, "nowPrice": 1, "number": 2, "price": 1, "skuAttributes": [], "stockId": 83111680, "title": "呵呵呵" } ], "number": 2, "orderStatus": "ORDER_CANCELLED", "payOrderId": 17711101049130, "payTimeStr": "1970-01-01 08:00:00", "promotionAmount": 0, "receiveTimeStr": "1970-01-01 08:00:00", "receiverAddress": "朱需u俄和", "receiverArea": "海淀区", "receiverCity": "北京市", "receiverMobile": "18111190510", "receiverName": "朱伟", "receiverPhone": "18111190510", "receiverProvince": "北京", "receiverZip": "0", "sellerAccountId": "玉8楼", "sellerName": "玉8楼", "sellerUserId": 68021112, "shipExpressId": "", "shipExpressName": "", "shipTimeStr": "1970-01-01 08:00:00 ", "shipType": 0, "shopOrderId": 17711101059130, "shopOrderPrice": 2, "shopOrderType": "MOGUJIE_MARKET", "stageStatus": "ORDER_CANCELLED" } }, "status": { "code": "0000000", "msg": "调用成功" } }

异常示例

1).
{ "result": {}, "status": { "code": "1200001", "msg": "该参数无结果值" } }