-
Notifications
You must be signed in to change notification settings - Fork 0
✔️ 카테고리 별 제품 (가방)
gyeongseon edited this page Dec 5, 2020
·
3 revisions
메소드 | 경로 | 설명 |
---|---|---|
GET | /product?category=bags | 카테고리 별 제품 조회 - 가방 |
- category에는 "shoes" || "bags" || "closet" 셋 중 하나만 적을 수 있습니다.
{
"Content-Type": "application/json"
}
BASE_URL/shop?category=bags
{
"status": 200,
"success": true,
"message": "조회 성공",
"data": [
{
"id": 11,
"title": "[예약배송][FW20 ESSENTIAL] Classic Leather Crossbody Croco Brown",
"main_image": "https://user-images.githubusercontent.com/43839834/101238280-8bdf1200-3722-11eb-9430-a473ceef5c19.jpg",
"is_likes": 1
},
{
"id": 12,
"title": "FW20 레이아 Leia Pleats Bag Khaki",
"main_image": "https://user-images.githubusercontent.com/43839834/101238280-8bdf1200-3722-11eb-9430-a473ceef5c19.jpg",
"is_likes": 0
},
{
"id": 13,
"title": "글리터 너클-링 클러치",
"main_image": "https://www.charleskeith.com/dw/image/v2/BCWJ_PRD/on/demandware.static/-/Sites-ck-products/default/dw4112a019/images/hi-res/2020-L7-CK2-70701091-B8-2.jpg?sw=580&sh=774",
"is_likes": 1
},
{
"id": 14,
"title": "글리터 너클-링 클러치",
"main_image": "https://www.charleskeith.com/dw/image/v2/BCWJ_PRD/on/demandware.static/-/Sites-ck-products/default/dwa1700125/images/hi-res/2020-L7-CK2-70701091-57-1.jpg?sw=580&sh=774",
"is_likes": 0
}
]
}
- category에 잘못된 값을 넣었을 때
{
"status": 400,
"success": false,
"message": "필요한 값이 없습니다"
}