菜品分页查询
POST
/open/v1/cater/dish/dishMe(下行接口)第三方合作方调用此接口,可根据分页信息获取门店菜品信息
请求参数
Body 参数application/json
shopIdenty
integer
客如云门店ID
startId
integer
可选
开始记录ID(默认1),下一页需带上返回参数中startId的值,返回参数中startId为null表示无下一页
pageNum
integer
必需
每页最大记录数(默认1000)
示例
{
"shopIdenty": 247900001,
"startId": 1,
"pageNum": 1000
}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
result
object
必需
hasnext
boolean
必需
dishTOList
array [object {24}]
必需
startId
null
必需
code
integer
必需
message
string
必需
messageUuid
string
必需
apiMessage
null
必需
示例
{
"result": {
"hasnext": false,
"dishTOList": [
{
"shopIdenty": 810094162,
"name": "水煮牛肉",
"aliasName": "",
"brandDishId": 357218442118404100,
"id": 37931285196334080,
"dishCode": "SKU0001",
"uuid": "9cee13b0569f4a8d93fa8fee3b31d24c",
"type": 0,
"unit": "份",
"saleType": 2,
"upc": "",
"clearStatus": 1,
"price": 3000,
"rank": 1000,
"minOrderNum": 1,
"residueTotal": 1000,
"saleTotal": 1000,
"boxQty": 1,
"imgUrl": null,
"desc": "",
"categorys": [
{
"categoryId": "37931006707131392",
"categoryName": "牛肉"
}
],
"saleTimes": [
{
"start": "00:00:00",
"end": "00:00:00"
}
],
"attrs": [
{
"id": "37930362206184448",
"type": 4,
"name": "大份",
"uuid": "40e57c5f93814184beab086fb6832498",
"reprice": 0
}
],
"supplyCondiments": [
{
"id": "37930071142458368",
"name": "天山冰泉水",
"marketPrice": 1000
}
]
},
{
"shopIdenty": 810094162,
"name": "鱼香肉丝",
"aliasName": "",
"id": "50209127660493824",
"dishCode": "009",
"uuid": "f82950b011f2464ab56d5f1124eac0e0",
"type": 0,
"unit": "份",
"saleType": 2,
"upc": "",
"clearStatus": 1,
"price": 1500,
"rank": 1000,
"minOrderNum": 1,
"residueTotal": 1000,
"saleTotal": 1000,
"boxQty": 1,
"imgUrl": null,
"desc": "",
"categorys": [
{
"categoryId": "37931006707131392",
"categoryName": "牛肉"
}
],
"saleTimes": [
{
"start": "00:00:00",
"end": "00:00:00"
}
],
"attrs": [],
"supplyCondiments": null
},
{
"shopIdenty": 810094162,
"name": "炒豆芽",
"aliasName": "",
"id": "50209587146497024",
"dishCode": "456",
"uuid": "a41a70fc00dc4afca56b61b0368e8732",
"type": 0,
"unit": "份",
"saleType": 2,
"upc": "",
"clearStatus": 1,
"price": 999,
"rank": 1000,
"minOrderNum": 1,
"residueTotal": 1000,
"saleTotal": 1000,
"boxQty": 1,
"imgUrl": null,
"desc": "",
"categorys": [
{
"categoryId": "37931006707131392",
"categoryName": "牛肉"
}
],
"saleTimes": [
{
"start": "00:00:00",
"end": "00:00:00"
}
],
"attrs": [],
"supplyCondiments": null
}
],
"startId": null
},
"code": 0,
"message": "成功[OK]",
"messageUuid": "8b7ac33e52c3471d91ae518e0291adae",
"apiMessage": null
}
修改于 3 年前