가게 등록 / 폐업

JSON 데이터 multipart/form-data 형식으로 보내주세요. json 에서의 이미지 url 정보는 null 입니다. 이미지는 파일로 업로드 됩니다. 아래는 해당 key 값입니다.

가게 등록 요청

POST api/store/create

  • 기능 : 신규 가게 등록 요청을 보냅니다.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

storeName

string

가게 이름

address

string

가게 위치

description

string

가게 소개

(TEXT로 21,845자까지 저장 가능하니 글자 수 제한은 자율)

double

위도

double

경도

서류 이미지 key :

enum(String)

category

배열 (String)

대표 카테고리(qo열 최대 3가지 )

{   "storeName": "맛있는 음식점", 
    "address": "서울특별시 강남구 테헤란로 123",   
    "description": "신선한 재료로 만든 최고의 음식!",   
    "latitude": 37.5012743,   
    "longitude": 127.039585,   
    "storeRegistrationDocs": null, 
    "storeStatus": "PENDING",   
    "userName": "null",   
    "categories": ["KOREAN"]. 
    }

Response

  • 추가적인 응답 내용을 편하게 말씀해주세


가게 폐업 요청

POST /users

<Description of the endpoint>

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Body

Name
Type
Description

name

string

Name of the user

age

number

Age of the user

Response

Last updated