GET
/api/products/top-monthly
200 OK
Body:
{
"status": "OK",
"code": 200,
"message": "월간 인기 상품 정보 조회가 완료되었습니다.",
"result": {
"topMonthlyProducts": [
{
"id": 20,
"category_id": 10,
"product_name": "ProductT 20",
"main_image_id": 35,
"main_image_url": "<https://picsum.photos/200/300?random=34>",
"regular_price": 20000,
"discount_rate": 23,
"sale_price": 15400,
"min_quantity": 20
},
{
"id": 19,
"category_id": 9,
"product_name": "ProductS 19",
"main_image_id": 34,
"main_image_url": "<https://picsum.photos/200/300?random=33>",
"regular_price": 19000,
"discount_rate": 22,
"sale_price": 14820,
"min_quantity": 19
},
{
"id": 18,
"category_id": 8,
"product_name": "ProductR 18",
"main_image_id": 33,
"main_image_url": "<https://picsum.photos/200/300?random=32>",
"regular_price": 18000,
"discount_rate": 23,
"sale_price": 13860,
"min_quantity": 18
}
]
}
}
postman test