电影票小程序/插件相关
团单查询接口
基本信息:

团单信息查询接口,吃喝玩乐到店消费订单数据T+1透出(到店消费后第二天出订单数据)

订单接口:https://www.jutuike.com/doc/17

使用说明:https://www.jutuike.com/support/16

结算说明:https://www.jutuike.com/article/1010.html

接口说明
请求方式: GET
接口参数
参数名称 参数类型 是否必须 示例 备注
pub_id string pub_id身份标识,请登录个人中心获取
cat0Id Integer 226 一级类目
sid String 123456 渠道方用户唯一标识,渠道可自定义,长度不超过50,参数中不能包含jutuike,用于向用户返佣,支持小写字母和数字的格式,其它字符可能造成无法正常跟单
lng Double 116.342667 经度
lat Double 40.076423 纬度
regionId Integer 商圈信息
districtId Integer 行政区信息
cityId Integer 1 城市ID
shopIds String 商户id,最多50个 多个逗号分割,例如:854903685,1420117989 (主要在构建详情页使用,可以查店铺下所有套餐代金券),传店铺ID 以上参数除了 sid 都可不必传
cat1Ids String 多个逗号分隔,二级类目列表,必须都为同一一级类目下的二级类目,该条件优先级高于cat1Id,每个批次最多可以查询10个二级类目
del_repeat int 1 是否去重,1-不去重(列表页一个店铺一个套餐) 2-去掉重复店铺 (传此参数,分页数据无效) 默认 1
radii Integer 半径 单位:米
keyWords String 搜索关键词
sortType Integer 1 1-距离离我最近,6-团单销量升序,7-团单销量降序,8-券后价升序,9-券后价降序,10-优惠比例升序,11-优惠比例降序 默认1
dealType Integer 团单类型:1.套餐,2代金券
page Integer 1 页数,从1开始
size Integer 20 每页结果数 默认20
返回参数
名称 类型 示例值 说明
recordCount Integer 数据总量
pageSize Integer 每页数据条数
page Integer 页数
records List< ApiSearchDealVO > 团单信息
dealBaseInfo ApiDealBaseInfoVO 团单基本信息
dealDetail ApiDealDetailVO 团单详情
shopInfo DealShopBaseInfoVO 商户信息
couponInfo ApiCouponInfoVO 优惠信息
dealGroupId Integer 团单Id
dealTitle String 团单标题
dealDescription String 团单描述
defaultPic String 团单头图
realPrice Long 团单实际价格,单位分
finalPrice Long 券后价格,单位分
marketPrice Long 市场价格,单位分
dealType Integer 1 1-套餐,2-代金券
halfYearSale Integer 半年销量
menuType Integer 菜单内容类型
menu String 菜单
shopId Integer 门店Id
shopName String 门店名称
branchName String 分店名称,可能为空
brandName String 品牌名称,可能为空
cateName String 类目名
regionName String 商圈名
distance Long 距离,单位米
shopPower Long 星级,0-50,10为一星,45为四星
address String 门店地址
cityName String 门店城市名称
discountPrice Long 满减金额,单位分
priceLimit Long 满减门槛,单位分
commissionRatio Double 分佣比例,两位小数
validStartDate String 抵用券开始时间
validEndDate String 抵用券结束时间
couponPageUrl String 领券页面跳转链接
miniProgramUrl String 领券页面跳转小程序路径
返回示例
{"code":1,"msg":"success","data":{"offset":0,"limit":2,"recordCount":5000,"pageSize":2,"page":1,"records":[{"dealBaseInfo":{"dealGroupId":672173601,"defaultPic":"https://p0.meituan.net/320.0/deal/ae40dc8605645f06efc198a788f6d1112714171.png%40320w_240h_1e_1c_1l%7Cwatermark%3D0","dealTitle":"6人套餐,可免费使用包间","description":"仅售248元!价值349元的6人套餐,可免费使用包间,提供免费WiFi。","marketPrice":34900,"realPrice":24800,"finalPrice":24700,"dealType":1},"dealDetail":{"halfYearSale":140,"menuType":2,"menu":[{"content":"荤菜","itemId":"1","parentId":"","type":"0"},{"content":"黑椒大片牛排(7两)","itemId":"10001","parentId":"1","price":"58","specification":"1 份","total":"58","type":"128"},{"content":"秘制大片梅肉(7两)","itemId":"10002","parentId":"1","price":"48","specification":"1 份","total":"48","type":"128"},{"content":"孜然大片羊排(7两)","itemId":"10003","parentId":"1","price":"48","specification":"1 份","total":"48","type":"128"},{"content":"韩式烤肠(4两)","itemId":"10004","parentId":"1","price":"38","specification":"1 份","total":"38","type":"128"},{"content":"招牌大鱿鱼(9两)","itemId":"10005","parentId":"1","price":"38","specification":"1 份","total":"38","type":"128"},{"content":"五花肉酸菜(1斤)","itemId":"10006","parentId":"1","price":"38","specification":"1 份","total":"38","type":"128"},{"content":"青菜拼盘(1斤)","itemId":"10007","parentId":"1","price":"28","specification":"1 份","total":"28","type":"128"},{"content":"辣椒圈蒜片生菜酱","itemId":"10008","parentId":"1","price":"12","specification":"2 份","total":"24","type":"128"},{"content":"沾料","itemId":"10009","parentId":"1","price":"3","specification":"6 份","total":"18","type":"128"},{"content":"茶位费","itemId":"10010","parentId":"1","price":"1","specification":"6 份","total":"6","type":"128"},{"content":"炭火","itemId":"10011","parentId":"1","price":"5","specification":"1 份","total":"5","type":"128"}]},"shopInfo":{"shopId":193533585,"shopUuid":"193533585","shopName":"齐齐哈尔兄弟烤肉(昌平总店)","branchName":"","brandName":"兄弟烤肉","cateName":"烧烤","cityName":"北京","regionName":"回龙观","distance":115,"distanceToShow":"115.24m","shopPower":50,"address":"昌平区文华东路11号龙跃苑一区西门底商"},"couponInfo":{"discountPrice":100,"priceLimit":500,"commissionRatio":0.03,"validStartDate":"2021-06-06","validEndDate":"2021-06-12","couponPageUrl":"https://act.meituan.com/clover/page/adunioncps/dealpage?utmSource=77531&utmMedium=b6af4c35a983a0e2d4aeac4168addecc&dealGroupId=672173601&shopId=193533585&activity=2KkoMUWuGI&userLevel=1.0&platformId=2&promotionId=34280&mvpType=1&serverTrackId=7125092740238949073&&sessionUuid=ce38c04f-73e3-4d4f-a3af-fffbb0bc3658","miniProgramUrl":"/index/pages/h5/h5?lch=mhqIykekFEV63u81zLSTaQViQ&noshare=1&f_userId=0&f_openId=0&f_token=0&weburl=https%3A%2F%2Fact.meituan.com%2Fclover%2Fpage%2Fadunioncps%2Fdealpage%3FutmSource%3D77531%26utmMedium%3Db6af4c35a983a0e2d4aeac4168addecc%26dealGroupId%3D672173601%26shopId%3D193533585%26activity%3D2KkoMUWuGI%26userLevel%3D1.0%26platformId%3D2%26promotionId%3D34280%26mvpType%3D1%26serverTrackId%3D7125092740238949073%26%26sessionUuid%3Dce38c04f-73e3-4d4f-a3af-fffbb0bc3658"}},{"dealBaseInfo":{"dealGroupId":693890610,"defaultPic":"https://p0.meituan.net/320.0/deal/ae40dc8605645f06efc198a788f6d1112714171.png%40320w_240h_1e_1c_1l%7Cwatermark%3D0","dealTitle":"超值3人餐,包间免费","description":"仅售138元!最高价值239元的超值3人餐,可免费使用包间,提供免费WiFi。","marketPrice":23900,"realPrice":13800,"finalPrice":13700,"dealType":1},"dealDetail":{"halfYearSale":128,"menuType":2,"menu":[{"content":"招牌","itemId":"1","parentId":"","type":"0"},{"content":"黑椒大片牛排(7两)","itemId":"10001","parentId":"1","price":"58","specification":"1 份","total":"58","type":"128"},{"content":"秘制大片梅肉(7两)","itemId":"10002","parentId":"1","price":"48","specification":"1 份","total":"48","type":"128"},{"content":"哈尔滨红肠","itemId":"10003","parentId":"1","price":"32","specification":"1 份","total":"32","type":"128"},{"content":"密制鸡翅中","itemId":"10004","parentId":"1","price":"8","specification":"3 份","total":"24","type":"128"},{"content":"东北酸菜","itemId":"10005","parentId":"1","price":"19","specification":"1 份","total":"19","type":"128"},{"content":"金针菇","itemId":"10006","parentId":"1","price":"16","specification":"1 份","total":"16","type":"128"},{"content":"生菜","itemId":"10007","parentId":"1","price":"16","specification":"1 份","total":"16","type":"128"},{"content":"辣椒圈加蒜片","itemId":"10008","parentId":"1","price":"9","specification":"1 份","total":"9","type":"128"},{"content":"蘸料","itemId":"10009","parentId":"1","price":"9","specification":"1 份","total":"9","type":"128"},{"content":"炭火","itemId":"10010","parentId":"1","price":"5","specification":"1 份","total":"5","type":"128"},{"content":"茶位费","itemId":"10011","parentId":"1","price":"3","specification":"1 份","total":"3","type":"128"}]},"shopInfo":{"shopId":193533585,"shopUuid":"193533585","shopName":"齐齐哈尔兄弟烤肉(昌平总店)","branchName":"","brandName":"兄弟烤肉","cateName":"烧烤","cityName":"北京","regionName":"回龙观","distance":115,"distanceToShow":"115.24m","shopPower":50,"address":"昌平区文华东路11号龙跃苑一区西门底商"},"couponInfo":{"discountPrice":100,"priceLimit":500,"commissionRatio":0.03,"validStartDate":"2021-06-06","validEndDate":"2021-06-12","couponPageUrl":"https://act.meituan.com/clover/page/adunioncps/dealpage?utmSource=77531&utmMedium=b6af4c35a983a0e2d4aeac4168addecc&dealGroupId=693890610&shopId=193533585&activity=2KkoMUWuGI&userLevel=1.0&platformId=2&promotionId=34280&mvpType=1&serverTrackId=7125092740238949073&&sessionUuid=ce38c04f-73e3-4d4f-a3af-fffbb0bc3658","miniProgramUrl":"/index/pages/h5/h5?lch=mhqIykekFEV63u81zLSTaQViQ&noshare=1&f_userId=0&f_openId=0&f_token=0&weburl=https%3A%2F%2Fact.meituan.com%2Fclover%2Fpage%2Fadunioncps%2Fdealpage%3FutmSource%3D77531%26utmMedium%3Db6af4c35a983a0e2d4aeac4168addecc%26dealGroupId%3D693890610%26shopId%3D193533585%26activity%3D2KkoMUWuGI%26userLevel%3D1.0%26platformId%3D2%26promotionId%3D34280%26mvpType%3D1%26serverTrackId%3D7125092740238949073%26%26sessionUuid%3Dce38c04f-73e3-4d4f-a3af-fffbb0bc3658"}}]}}