Shop
가게 도메인 API 명세
가게 등록
가게 등록
POST
http://localhost:8080/shops/regist
가게를 등록할 수 있도록 합니다.
Headers
Name
Type
Description
token*
String
로그인 시 발급받은 JWT
Request Body
Name
Type
Description
shopName*
String
가게 이름
shopAddress*
String
가게 주소
brandName*
String
브랜드 이름
tip*
String
가게 배달팁
description*
String
가게 설명
가게 조회
가게 조회
GET
http://localhost:8080/shops/{id}
가게 정보를 조회할 수 있도록 합니다.
단순히 가게를 조회하는 것은 별도의 인증 절차를 거치지 않습니다.
가게 정보 수정
가게 정보 수정
PUT
http://localhost:8080/shops/update
가게 정보를 수정할 수 있도록 합니다.
Headers
Name
Type
Description
token*
String
로그인 시 발급받은 JWT
Request Body
Name
Type
Description
newName*
String
새로운 가게 이름
newAddress*
String
새로운 주소
newTip*
String
새로운 배달팁
idx*
String
가게의 고유 아이디
newDescription*
String
새로운 가게 설명
가게 삭제
가게 삭제
DELETE
http://localhost:8080/shops/unregist
가게 삭제를 할 수 있도록 합니다.
Headers
Name
Type
Description
token*
String
로그인 시 발급받은 JWT
Request Body
Name
Type
Description
idx*
String
가게의 고유 ID
Last updated