UserOrder

유저 주문 정보

유저 주문 확인 버튼 클릭(UserOrder)

POST https://uptodoor.shop/users/order

1. 맘에 드는 구독 서비스를 골라 메뉴들을 선택하여 장바구니에 담은 뒤에 2. 장바구니에서 주문하려는 메뉴들만 다시 골라서 주문 확인 후 3. 주문 버튼을 클릭 했을 때 최종 주문 완료 후 결제 API로 데이터 넘겨

Headers

Name
Type
Description

refresh_token

string

jwt token

access_token

string

jwt token

Request Body

Name
Type
Description

delivery_term

string

구독 기간

delivery_day

string

구독 받을 요일

delivery_time

string

구독 서비스 받는 시간

selected_address_detail

string

유저 주소 세부사항

selected_address

string

유저 주소

selected_mobile

string

유저 연락처

store_id

string

주문 메뉴가 있는 가게의 id

totalprice

string

주문 총 금액

plus_money

string

추가 금액

delivery_detail

string

추가 주문 사항

plus_check

string

추가 금액 체크

order_time

string

구독 서비스 받을 시간

user_name

string

유저 네임

주문 취소

DELETE https://uptodoor.shop/users/order/:id

1. 내가 구독한 서비스 취소 하기 2. 해당 유저가 주문한 order data 삭제 3. 해당 주문을 받은 스토어의 order data도 같이 삭제

Query Parameters

Name
Type
Description

order_id

string

해당 주문(order)의 id

Last updated