메뉴 등록

메뉴 등록 / 그룹 조회

GET api/store/create/menu/{storeId}

  • 기능 : 메뉴 그룹 드롭 다운의 리스트 정보를 제공

  • 응답 데이터 : JSON 리스트

Headers

Name
Value

Path Variables

  • storeId : 요청할 가게의 고유 ID.

Response

Name
Type
Description

String

그룹 고유키

String

그룹 이름

대표그룹 여부(기본 false)

[
    { "groupId": 1, "groupName": "샐러드", "isMainGroup": false },
    { "groupId": 2, "groupName": "음료", "isMainGroup": false},
    { "groupId": 3, "groupName": "디저트", "isMainGroup": false}
]

메뉴 등록

POST api/store/create-menu/{storeId}

  • 기능: 신규 메뉴를 등록.

  • 요청 데이터: 저장 버튼을 통해 모든 메뉴 정보가 서버로 전송.

Request

Headers

Name
Value

Body

Name
Type
Description

menuName

string (최대 16자)

메뉴 이름

groupId

number

메뉴 그룹 아이디

price

Long

가격

menuContent

String(최대 50자)

메뉴 소개

stockAvailable

Boolean

재고 관리 사용 여부

menuStock

Long

재고량

isSoldOut

Boolean

품절 표시

Response

Last updated