์ฐ
URLs
์ฐ ๋ฑ๋ก
POST
api/users/wishlist/{store_id}
์ฐ ์ทจ์
DELETE
api/users/wishlist/{store_id}
์ฐ ๋ชฉ๋ก ๋ถ๋ฌ์ค๊ธฐ
GET
api/users/wishlist
์ฐ ๋ฑ๋ก
POST /api/users/wishlist/{store_id}
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
store_id
number
๊ฐ๊ฒ ์์ด๋
user_id
number
์ ์ ์์ด๋
Response
{
"store_id":4,
"user_id": 2,
}{
"error": "Invalid request"
}์ฐ ๋ชฉ๋ก ๋ถ๋ฌ์ค๊ธฐ
GET /api/users/wishlist
<Description of the endpoint>
Headers
Content-Type
application/json
Authorization
Bearer <token>
Body
store_id
number
๊ฐ๊ฒ ID
store_name
string
๊ฐ๊ฒ๋ช
rating
number
๋ณ์
review_count
number
๋ฆฌ๋ทฐ ์
default_delivery_tip
number
๋ฐฐ๋ฌ ํ
min_delivery_time
string
์ต์ ๋ฐฐ๋ฌ ์์ ์๊ฐ
max_delivery_time
string
์ต๋ ๋ฐฐ๋ฌ ์์ ์๊ฐ
store_status
string
๊ฐ๊ฒ ์คํ ์ ๋ฌด
discount_price
number
์ฌ์ฅ๋ ์ฟ ํฐ ํ ์ธ ๊ธ์ก
store_logo
string
๊ฐ๊ฒ ๋ก๊ณ
Response
Last updated