线下店商品.md
30.6 KB
1、根据sku查询商品
(method=offline.shops.product) 请求方式:get
请求参数
参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
---|---|---|---|---|---|
sku | int | 否 | 576982 | null | 商品的sku |
注意,通用的头部没有列出。
请求示例
http://192.168.102.205:8080/gateway/?method=offline.shops.product&debug=XYZ&sku=102415
响应
code为200即为成功且只会返回200,每次都会有响应结果。 响应JSON格式如下所示:
{
"alg": "SALT_MD5",
"code": 200,
"data": {
"comments": -- 评价
{
"fileter": -- 过滤
[
{
"filterId": "7",
"msg": "全部",
"num": "7"
},
{
"filterId": "6",
"msg": "有图",
"num": "4"
},
{
"filterId": "5",
"msg": "五星",
"num": "3"
},
{
"filterId": "4",
"msg": "四星",
"num": "2"
}
],
"pageResponse": {
"list": [
{
"anonymous": false,
"content": "没有图片上那么长", -- 评论内容
"createTime": 1466347124,
"erpSkuId": "880348", -- sku
"goods":
{
"brand": {
"brand_alif": "N",
"brand_doamin": "nike",
"brand_ico": "http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_name": "Nike",
"id": 248,
"is_hot": "N"
},
"buy_number": 1,
"color_name": "黑色",
"goodsId": 346413,
"goods_amount": 435,
"goods_image": "http://img12.static.yhbimg.com/goodsimg/2015/09/28/10/024353652c828bb91b2d664ced95d4bba9.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"goods_price": 435,
"goods_type": "1",
"productId": 267663,
"product_url": "http://m.yohobuy.com/product/pro_267663_346413/NIKEFREETR5PRINTNvZiXunLianXie704695014.html",
"pruduct_name": "Nike FREE TR 5 PRINT 女子训练鞋",
"size_name": "37 1/2码"
},
"goodsId": "346413",
"height": 0,
"id": 2558241,
"isHideHeight": 0,
"orderId": "14015588",
"productId": "267663",
"recomReward": false,
"satisfied": 4,
"shareOrderTagList": [
{
"createTime": 1466347124,
"imageId": 559227,
"isFlip": 1,
"posX": 5398,
"posY": 4546,
"tagId": 248,
"tagName": "Nike",
"type": 1
}
],
"shareReward": true,
"size": "MIDDLE",
"uid": "9711797",
"url": -- 用户晒单图片
"http://img12.static.yhbimg.com/sns/2016/06/19/22/02b030c7f467b86bb1d31673947a59f37f.jpg?imageView/{mode}/w/{width}/h/{height}",
"userInfo": {
"headIco": "http://head.static.yhbimg.com/yhb-head/2016/6/20/21/0138eb349abca455e4ab143fbc4a8a131a.jpg?imageView/{mode}/w/{width}/h/{height}",
"nickName": "疯人愿",
"uid": 9711797,
"vipLevel": 2
},
"weight": 0
},
{
"anonymous": false,
"content": "立刻穿上 哈哈 不错哦",
"createTime": 1466068081,
"erpSkuId": "880349",
"goods": {
"brand": {
"brand_alif": "N",
"brand_doamin": "nike",
"brand_ico": "http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_name": "Nike",
"id": 248,
"is_hot": "N"
},
"buy_number": 1,
"color_name": "黑色",
"goodsId": 346413,
"goods_amount": 435,
"goods_image": "http://img12.static.yhbimg.com/goodsimg/2015/09/28/10/024353652c828bb91b2d664ced95d4bba9.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"goods_price": 435,
"goods_type": "1",
"productId": 267663,
"product_url": "http://m.yohobuy.com/product/pro_267663_346413/NIKEFREETR5PRINTNvZiXunLianXie704695014.html",
"pruduct_name": "Nike FREE TR 5 PRINT 女子训练鞋",
"size_name": "38码"
},
"goodsId": "346413",
"id": 2535303,
"isHideHeight": 0,
"orderId": "14008370",
"productId": "267663",
"recomReward": false,
"satisfied": 5,
"shareOrderTagList": [
{
"createTime": 1466068081,
"imageId": 543801,
"isFlip": 1,
"moodType": "",
"posX": 5013,
"posY": 5013,
"tagId": 248,
"tagName": "Nike",
"type": 1
}
],
"shareReward": true,
"size": "MIDDLE",
"uid": "6436719",
"url": "http://img13.static.yhbimg.com/sns/2016/06/16/17/027f2b863d2b7d351348c97ef9aaddabfe.jpg?imageView/{mode}/w/{width}/h/{height}",
"userInfo": {
"headIco": "http://head.static.yhbimg.com/yhb-head/2016/6/17/5/0143cca9b7c6a7525184e6d24967b379de.720558.jpg?imageView/{mode}/w/{width}/h/{height}",
"nickName": "183****9150",
"uid": 6436719,
"vipLevel": 1
}
},
{
"anonymous": false,
"content": "不错,很软。运动时穿很合适",
"createTime": 1465202462,
"erpSkuId": "880351",
"goods": {
"brand": {
"brand_alif": "N",
"brand_doamin": "nike",
"brand_ico": "http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_name": "Nike",
"id": 248,
"is_hot": "N"
},
"buy_number": 1,
"color_name": "黑色",
"goodsId": 346413,
"goods_amount": 669,
"goods_image": "http://img12.static.yhbimg.com/goodsimg/2015/09/28/10/024353652c828bb91b2d664ced95d4bba9.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"goods_price": 669,
"goods_type": "1",
"productId": 267663,
"product_url": "http://m.yohobuy.com/product/pro_267663_346413/NIKEFREETR5PRINTNvZiXunLianXie704695014.html",
"pruduct_name": "Nike FREE TR 5 PRINT 女子训练鞋",
"size_name": "39码"
},
"goodsId": "346413",
"id": 2486475,
"isHideHeight": 0,
"orderId": "12715201",
"productId": "267663",
"recomReward": false,
"satisfied": 5,
"shareReward": false,
"size": "MIDDLE",
"uid": "3474341",
"userInfo": {
"headIco": "http://head.static.yhbimg.com/yhb-head/2015/08/16/01/0285b2e9dc2b2cd4053b82e26264bb8cf6.jpg?imageView/{mode}/w/{width}/h/{height}",
"nickName": "kafo",
"uid": 3474341,
"vipLevel": 3
}
},
{
"anonymous": false,
"content": "好看,一开始还怕大,上脚很好!!",
"createTime": 1464015240,
"erpSkuId": "880347",
"goods": {
"brand": {
"brand_alif": "N",
"brand_doamin": "nike",
"brand_ico": "http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_name": "Nike",
"id": 248,
"is_hot": "N"
},
"buy_number": 1,
"color_name": "黑色",
"goodsId": 346413,
"goods_amount": 719,
"goods_image": "http://img12.static.yhbimg.com/goodsimg/2015/09/28/10/024353652c828bb91b2d664ced95d4bba9.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"goods_price": 719,
"goods_type": "1",
"productId": 267663,
"product_url": "http://m.yohobuy.com/product/pro_267663_346413/NIKEFREETR5PRINTNvZiXunLianXie704695014.html",
"pruduct_name": "Nike FREE TR 5 PRINT 女子训练鞋",
"size_name": "36 1/2码"
},
"goodsId": "346413",
"height": 0,
"id": 2412947,
"isHideHeight": 0,
"orderId": "13390960",
"productId": "267663",
"recomReward": false,
"satisfied": 4,
"shareOrderTagList": [
{
"createTime": 1464015240,
"imageId": 462621,
"isFlip": 1,
"posX": 5458,
"posY": 4097,
"tagId": 248,
"tagName": "Nike",
"type": 1
}
],
"shareReward": true,
"size": "MIDDLE",
"uid": "13747698",
"url": "http://img13.static.yhbimg.com/sns/2016/05/23/14/0203102ec9d59c462adf653db4e1ea5c66.jpg?imageView/{mode}/w/{width}/h/{height}",
"userInfo": {
"nickName": "188****0130",
"uid": 13747698,
"vipLevel": 1
},
"weight": 0
},
{
"anonymous": false,
"content": "很棒 很轻巧",
"createTime": 1451999315,
"erpSkuId": "880347",
"goods": {
"brand": {
"brand_alif": "N",
"brand_doamin": "nike",
"brand_ico": "http://img12.static.yhbimg.com/brandLogo/2015/04/10/16/02963cdc1aeab10959bfeccc400aaa8de8.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_name": "Nike",
"id": 248,
"is_hot": "N"
},
"buy_number": 1,
"color_name": "黑色",
"goodsId": 346413,
"goods_amount": 719,
"goods_image": "http://img12.static.yhbimg.com/goodsimg/2015/09/28/10/024353652c828bb91b2d664ced95d4bba9.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"goods_price": 719,
"goods_type": "1",
"productId": 267663,
"product_url": "http://m.yohobuy.com/product/pro_267663_346413/NIKEFREETR5PRINTNvZiXunLianXie704695014.html",
"pruduct_name": "Nike FREE TR 5 PRINT 女子训练鞋",
"size_name": "36 1/2码"
},
"goodsId": "346413",
"id": 1647202,
"isHideHeight": 0,
"orderId": "8918181",
"productId": "267663",
"recomReward": false,
"satisfied": 5,
"shareOrderTagList": [
{
"createTime": 1451999315,
"imageId": 29478,
"isFlip": 1,
"moodType": "",
"posX": 5013,
"posY": 5013,
"tagId": 248,
"tagName": "Nike",
"type": 1
}
],
"shareReward": true,
"size": "MIDDLE",
"uid": "6666109",
"url": "http://img10.static.yhbimg.com/sns/2016/01/05/13/01409005798fb0af1827e3cf322f002b2a.jpg?imageView/{mode}/w/{width}/h/{height}",
"userInfo": {
"headIco": "http://head.static.yhbimg.com/yhb-head/2015/08/01/21/01dd74fd3de191dcd162529a9957a4d59a.jpg?imageView/{mode}/w/{width}/h/{height}",
"nickName": "淡泊。",
"uid": 6666109,
"vipLevel": 3
}
},
{
"content": "很轻巧 舒服",
"createTime": 1450746874,
"goods": {
"color_name": "黑色",
"size_name": "37 1/2码"
},
"id": 1556256,
"productId": "267663",
"uid": "6666109",
"userInfo": {
"headIco": "http://head.static.yhbimg.com/yhb-head/2015/08/01/21/01dd74fd3de191dcd162529a9957a4d59a.jpg?imageView/{mode}/w/{width}/h/{height}",
"nickName": "淡泊。",
"uid": 6666109,
"vipLevel": 3
}
},
{
"content": "一般吧",
"createTime": 1449494248,
"goods": {
"color_name": "黑色",
"size_name": "38码"
},
"id": 1456342,
"productId": "267663",
"uid": "8161147",
"userInfo": {
"headIco": "http://head.static.yhbimg.com/yhb-head/2015/05/29/20/02bedbece8b92cc744bb016c8f28394103.jpg?imageView/{mode}/w/{width}/h/{height}",
"nickName": "Daredevil",
"uid": 8161147,
"vipLevel": 2
}
}
],
"pageNo": 1,
"pageSize": 10,
"totalCount": 7,
"totalPage": 1
}
},
"product": {
"appType": 0,
"arrivalTime": 1479200750,
"attribute": 1,
"auditingTime": 0,
"brandId": 128,
"categoryBoList": [],
"cnAlphabet": "SIXVISIONKaTongTuAnXiJunDuanXiuTEE",
"countryFlag": -- 国旗URL
"http://pic.qiantucdn.com/58pic/11/30/41/02c58PIC36H.jpg",
"countryId": 1, -- 国家ID
"createTime": 1308199068,
"editTime": 1468465963,
"elements": "",
"erpProductId": 50000391, -- skn
"firstShelveTime": 1467016446,
"gender": "1",
"goodsList": -- skc
[
{
"colorCode": "333333",
"colorId": 2,
"colorImage": "http://img13.static.yhbimg.com/goodsimg/2011/06/17/06/02335faeeb1444de5e31ab97d185d1dc62.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"colorName": "黑",
"factorySn": "",
"firstShelveTime": 1467016446,
"goodsImagesList": [
{
"angle": 0,
"genderCover": 0,
"goodsId": 144,
"id": 940610,
"imageName": "",
"imageUrl": "http://img13.static.yhbimg.com/goodsimg/2011/06/17/06/02335faeeb1444de5e31ab97d185d1dc62.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"isDefault": "Y",
"orderBy": 3,
"productId": 126,
"status": 1
},
{
"angle": 0,
"genderCover": 0,
"goodsId": 144,
"id": 940604,
"imageName": "",
"imageUrl": "http://img12.static.yhbimg.com/goodsimg/2011/06/17/06/02c39f10c341b514bc8db016ec5d142cd1.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"isDefault": "N",
"orderBy": 0,
"productId": 126,
"status": 1
},
{
"angle": 0,
"genderCover": 0,
"goodsId": 144,
"id": 940606,
"imageName": "",
"imageUrl": "http://img12.static.yhbimg.com/goodsimg/2011/06/17/06/023932252a85a876edb05f73d07f6e863d.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"isDefault": "N",
"orderBy": 1,
"productId": 126,
"status": 1
},
{
"angle": 0,
"genderCover": 0,
"goodsId": 144,
"id": 940608,
"imageName": "",
"imageUrl": "http://img12.static.yhbimg.com/goodsimg/2011/06/17/06/02fba549cc36a4b5ab22d1d648d94f8b95.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"isDefault": "N",
"orderBy": 2,
"productId": 126,
"status": 1
}
],
"goodsName": "细菌SIX TEE",
"goodsSizeBoList": -- sku 尺码
[
{
"attributeId": "",
"createTime": 0,
"goodsId": 144,
"goodsSizeSkuId": 102435,
"goodsSizeStorageNum": 10000,
"id": 207,
"orderBy": 101,
"sizeName": "S",
"skuStatus": 1,
"sortId": 0,
"updateTime": 0
},
{
"attributeId": "",
"createTime": 0,
"goodsId": 144,
"goodsSizeSkuId": 102415,
"goodsSizeStorageNum": 1,
"id": 201,
"orderBy": 1,
"sizeName": "L",
"skuStatus": 1,
"sortId": 0,
"updateTime": 0
},
{
"attributeId": "",
"createTime": 0,
"goodsId": 144,
"goodsSizeSkuId": 102439,
"goodsSizeStorageNum": 2,
"id": 203,
"orderBy": 1,
"sizeName": "M",
"skuStatus": 1,
"sortId": 0,
"updateTime": 0
}
],
"id": 144,
"isDefault": "Y",
"isDown": "N",
"matchExplain": "",
"productId": 126,
"productSkc": 144,
"status": 1,
"viewNum": 0
}
],
"id": 126,
"instalmentId": 0,
"isAdvance": "Y",
"isAuditing": "",
"isCollect": "",
"isDown": "N",
"isEdit": 2,
"isHot": "N",
"isInstalment": "0",
"isJit": "N",
"isLimitBuy": "N",
"isLimited": "N",
"isNew": "N",
"isOutlets": "N",
"isPayDelivery": "2",
"isPromotion": 0,
"isRecommend": "N",
"isRetrieval": "N",
"isSales": "Y",
"isSpecial": "N",
"limitProductCode": "",
"limitProductSku": "",
"material": "",
"maxSortId": 1,
"middleSortId": 11,
"pattern": "",
"phrase": "phrase for test qweqweqweqweqw",
"productName": "SIXVISION卡通图案细菌短袖TEE", --商品名称
"productPriceBo": -- 商品价格
{
"formatMarketPrice": -- 市场价
"¥125.00",
"formatSalesPrice": -- 销售价
"¥124.00",
"formatSpecialPrice": "¥124.00",
"marketPrice": 125,
"productCoinNum": 0,
"productId": 126,
"productSkn": 50000391,
"salesPrice": 124,
"specialPrice": 124,
"studentDiscountRate": 0.9,
"vipDiscount": 1,
"vipDiscountType": 2,
"vipPrice": "¥0.00",
"vipPrices": [
{
"vipLevel": 1,
"vipPrice": "¥117.80",
"vipTitle": "银卡"
},
{
"vipLevel": 2,
"vipPrice": "¥117.80",
"vipTitle": "金卡"
},
{
"vipLevel": 3,
"vipPrice": "¥117.80",
"vipTitle": "白金"
}
],
"yohoCoinNum": 0
},
"productTagBoList": [],
"productUrl": "http://m.yohobuy.com/product/pro_126_144/SIXVISIONKaTongTuAnXiJunDuanXiuTEE.html",
"promotionBoList": [],
"salableTime": "1479200750",
"saleStatus": 0,
"salesPhrase": "",
"seasons": "summer",
"sellChannels": "0",
"seriesId": 0,
"shelveTime": 1468465963,
"shopId": 20,
"showStatus": 0,
"showWeightAndHeight": false,
"smallSortId": 114,
"sortId": 0,
"status": 1,
"storage": 10003, -- 库存
"style": "街头,摇滚,百搭,简约,时尚,潮流,原创,个性,休闲",
"supplierId": 0,
"vipDiscountType": 3
},
"recommend": -- 推荐商品
[{
"id" : , -- skn
"product_id" : , -- 商品ID
"thumb" : , -- 图片URL
"name" : , -- 商品名称
"price": "120", -- 市场价格
"salePrice" "120.00": , -- 销售价
"countryFlag": -- 国旗URL
"http://pic.qiantucdn.com/58pic/11/30/41/02c58PIC36H.jpg",
"url" : ,-- 商品详情的URL
}]
},
"md5": "b2f69a7af4dcec4ebd16b574299f4517",
"message": "offline.shops.product success"
}
2、线下店购物车查询赠品、加价购商品详情
(method=offline.product.gift) 请求方式:get
请求参数
参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
---|---|---|---|---|---|
product_skn | int | 否 | 50024478 | null | 商品的skn |
promotion_id | int | 否 | 100 | null | 促销id |
warehouse_id | int | 否 | 12 | null | 仓库id |
响应
code为200即为成功且只会返回200,每次都会有响应结果。 响应JSON格式如下所示:
{
"alg": "SALT_MD5",
"code": 200,
"data": {
"attribute": 1,
"brand_info": {
"brand_domain": "comback",
"brand_ico": "http://img13.static.yhbimg.com/brandLogo/2015/11/02/16/024bf816e12662f11a388f74e732eb663f.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"brand_id": 26,
"brand_intro": "<br />\nComback(原名COMEback)于2006年在广州创立,一个凭借高质量的原料和紧贴时尚潮流的设计,致力生产出高级质感,属于年轻人们自己的时代产品。<br />\n<br />\n我们的概念开始于我们这个品牌的slogan,“Comeback your\nbag!”暨“回归你的包”。我们的团队坚信高效,实际,美观的产品要求,并把时尚的潮流信息赋予产品上。一直以来,我们的团队涉及平面设计,摄影,街头艺术,插画,网站等多元领域,将这之内的信息和元素与我们的品牌相结合,尽量找寻艺术与商业的和谐,注重细节,注重产品质量,注重视觉效果。<br />\n<br />\n随着团队人员的不断壮大成长,希望品牌可以通过最简约的设计意念,以最原本的使用习惯为设计依归,打动你。<br />\n<img alt=\"\" src=\n\"http://img01.static.yohobuy.com/brandContentImg/2013/02/27/16/015bae9f6ef0afc0b69a8032f238d8cc3d.jpg\"\nstyle=\"width: 400px; height: 285px\" />",
"brand_name": "COMBACK"
},
"cn_alphabet": "COMBACKDanJianXieKuaBaoC0114JS",
"format_market_price": "¥200.00",
"format_sales_price": "¥0.00",
"gift_attribute": "gift",
"goods_list": [
{
"color_code": "333333",
"color_id": 2,
"color_image": "http://img11.static.yhbimg.com/goodsimg/2012/07/05/10/0179482447e03716cd4ee95d1f14d5a498.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80",
"color_name": "黑",
"color_value": "",
"goods_id": 29597,
"images_list": [
{
"image_url": "http://img11.static.yhbimg.com/goodsimg/2012/07/05/10/0179482447e03716cd4ee95d1f14d5a498.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80"
}
],
"is_default": "N",
"product_skc": 29597,
"size_list": [
{
"all_storage_number": 0,
"goods_shelves_name": "艾尚YohoKids-test12345正常货位2 艾尚YohoKids-test12345残次货位2 艾尚YohoKids-test12345临时货位2",
"order_by": 1,
"product_sku": 166920,
"size_id": 199,
"size_name": "F",
"status": 1,
"storage_number": 24,
"store_storage_number": 0
}
],
"status": 1
}
],
"instalmentId": "",
"isInstalment": "0",
"isLimitBuy": false,
"is_advance": "N",
"is_collect": "N",
"is_outlets": "N",
"limitProductCode": "",
"market_price": 200,
"maxSortId": 7,
"max_select_number": 1,
"middleSortId": 338,
"phrase": "1680D过胶牛津布身,600D过胶牛津布内里,汽车安全带类别肩带,外钥匙挂钩,内有小拉链吊袋,数个插袋,平板电脑夹层。",
"product_id": 20538,
"product_name": "comback 全黑红魔JS小丑合作版 小号邮差包",
"product_skn": 50024478,
"product_url": "http://m.yohobuy.com/product/pro_20538_29597/COMBACKDanJianXieKuaBaoC0114JS.html",
"promotion": [
{
"promotion_title": "damao-赠品",
"promotion_type": "赠品"
}
],
"saleStatus": 0,
"sales_phrase": "",
"sales_price": 199,
"shop_id": 0,
"showStatus": 0,
"smallSortId": 342,
"status": 1,
"storage_sum": 24,
"vip_price": "¥0.00",
"yohoCoinNum": "0"
},
"md5": "bbb4dd90f92e3181d6e23eef04f1c55b",
"message": "gift product info"
}
3、线下店商品详情页促销信息
(method=app.product.promotion) 请求方式:get
请求参数
参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
---|---|---|---|---|---|
product_skn | int | 否 | 50024478 | null | 商品的skn |
响应
code为200即为成功且只会返回200,每次都会有响应结果。 响应JSON格式如下所示:
{
"alg": "SALT_MD5",
"code": 200,
"data": [
{
"promotionTitle": "【新季鲜体验】满¥499赠AKOP.胸章 赠完即止",
"promotionType": "赠品"
},
{
"promotionTitle": "【YOHOPE】满¥199赠原创百搭T恤 赠完即止",
"promotionType": "赠品"
}
],
"md5": "d69503299f1a6fac5701e61e70275b8c",
"message": "product promotionInfo"
}