文档
测试

获取产品菜单

GET
/jsapi/getMenuAndProduct

请求参数

参数名
类型
描述
必填
storeCode
string
店铺编号
必填
type
int
产品类型。1肯德基
必填
deliverType
int
就餐方式。0到店(含堂食和外带),1外卖
必填
r
string
合作商编号
必填
sign
string
签名信息
必填
partnerUserCode
string
用户唯一ID
必填

响应参数

参数名
类型
描述
必填
products
json
产品列表
必填
topName
string
菜单名称
必填
imageCnUrl
string
图片路径
必填
menuVoList
json
菜单列表
必填
productId
string
产品id
必填
salePrice
double
销售价
必填
disabledFlag
int
有效标记,0有效,1无效
必填
nameCn
string
中文名称
必填
promote
boolean
是否超划算
必填
type
int
规格,0单规格,1多规格,2套餐
必填
productCode
string
产品编号
必填
showPrice
string
市场价
必填
imageUrl
string
产品图片
必填
firstPrice
double
首单活动价格(有活动时才返回)
必填
firstQuota
int
首单活动今日可优惠n个
必填
firstBuy
int
首单活动,用户今日已购买n个优惠产品
必填
limitPrice
double
限购价格(有活动时才返回)
必填
limitQuota
int
限购,当前用户今日可购买n个
必填
limitBuy
int
限购,当前用户今日已购买n个
必填
childClassList
json
数据列表 子菜单
必填
nameCn
string
子菜单中文名称
必填
nameEn
string
子菜单英文名称
必填
topName
string
子菜单名称
必填
menuVoList
json
数据列表
必填
type
int
规格,0单规格,1多规格,2套餐
必填
price
double
价格
必填
showNameCn
string
中文名称
必填
imageUrl
string
产品图片
必填
salePrice
double
销售价
必填
disabledFlag
int
有效标记,0有效,1无效
必填
productCode
string
产品编号
必填
showPrice
double
市场价
必填
settlementPrice
string
结算价
必填
firstPrice
double
首单价格
必填
firstQuota
int
首单优惠n个
必填
limitPrice
double
限购价格
必填
limitQuota
int
限购n个
必填
productId
String
产品id
必填
nameCn
string
子菜单中文名称
必填
imageCnUrl
string
图片地址
必填
partnerUserCode
string
用户唯一ID
必填