-
Notifications
You must be signed in to change notification settings - Fork 3
메뉴 리스트 조회
Bomi Kim edited this page Jan 7, 2019
·
5 revisions
메소드 | 경로 | 짧은 설명 |
---|---|---|
GET | /stores/{storeIdx}/menu | 메뉴 리스트 조회 |
Content-Type: application/json
storeIdx: 조회할 매장 고유 idx(int)
{
"status": 200,
"message": "메뉴 리스트 조회 성공",
"data": {
"storeIdx": 10,
"bgPhotoUrl": "https://s3.ap-northeast-2.amazonaws.com/project-bring/3efd2a1aa8db4f49bdeab53b3f9ad35c.png",
"menuList": [
{
"menuIdx": 5,
"name": "국화차HOT",
"photoUrl": "https://s3.ap-northeast-2.amazonaws.com/project-bring/d71ffe2b31204ba68a73d63a2862f6db.png",
"price": 4000,
"size": 1
},
{
"menuIdx": 6,
"name": "레몬에이드ICE",
"photoUrl": "https://s3.ap-northeast-2.amazonaws.com/project-bring/bacca9a5f5b944cb96c6dd58a61c65e2.png",
"price": 4300,
"size": 1
},
{
"menuIdx": 8,
"name": "사과당근주스ICE",
"photoUrl": "https://s3.ap-northeast-2.amazonaws.com/project-bring/11821880167e400ab3998644f614733d.png",
"price": 5000,
"size": 1
},
{
"menuIdx": 9,
"name": "사과주스ICE",
"photoUrl": "https://s3.ap-northeast-2.amazonaws.com/project-bring/232c99c65e3c47d1a59e692ad393d946.png",
"price": 4500,
"size": 1
},
{
"menuIdx": 10,
"name": "자몽에이드ICE",
"photoUrl": "https://s3.ap-northeast-2.amazonaws.com/project-bring/d841a3a2849c4a5f8bc9332444cba3f7.png",
"price": 4500,
"size": 1
},
{
"menuIdx": 11,
"name": "히비스커스티HOT",
"photoUrl": "https://s3.ap-northeast-2.amazonaws.com/project-bring/64e57944d4884b67876e55ea80d73dd3.png",
"price": 4300,
"size": 1
}
]
}
}
{
"status": 404,
"message": "해당 매장에 메뉴가 없습니다.",
"data": null
}
{
"status": 404,
"message": "해당 매장이 존재하지 않습니다.",
"data": null
}
{
"status": 500,
"message": "서버 내부 에러",
"data": null
}