상품
전체 상품 목록 | 검색 목록 | 필터 목록
GET
/api/products
Query Parameters
Name
Type
Description
pageNumber
Number
pageNumber 1 is default
isAdmin
Boolean
true
keyword
String
empty string is default
theme
String
인물, 풍경, 정물, 동물, 상상, 추상
priceMin
Number
priceMax
Number
sizeMin
Number
sizeMax
Number
해당 상품 상세
GET
/api/products/:id
Path Parameters
Name
Type
Description
id*
ObjectId
Product's
상품 찜 추가 및 제거
PATCH
/api/products/zzim
one or Array
Headers
Name
Type
Description
authorization*
String
Bearer Token
Content-type*
String
application/json
Request Body
Name
Type
Description
productId*
ObjectId
Product's
zzim*
Boolean
true or false
Last updated