| product_id |
int |
상품 아이디 |
ex) 48 |
|
| title |
string |
상품명 |
ex) ‘산호섬 아이스티’ |
|
| description |
string |
상품 상세 설명 |
ex) ‘에메랄드빛 제주 바다를 닮은 머스캣향 아이스티입니다.’ |
|
| first_category |
int |
1차 카테고리 |
ex) 2 |
|
| second_category |
int |
2차 카테고리 |
ex) 11 |
|
| price |
float |
가격 |
ex) 12000.000 |
백엔드에서 float으로 전달하면 프론트에서 정수로 변환하여 사용합니다. |
| stock |
int |
재고 |
ex) 1000 |
|
| discount |
int |
할인율 |
ex) 20 |
|
| types |
string |
티 타입 |
ex) [tealeaf, pyramid, teabag, powder] |
티 제품인 경우에만 해당합니다. |
| thumbnail_images |
string |
썸네일 이미지 |
ex) ‘https://images.pexels.com/photos/3735470/pexels-photo-3735470.jpeg?auto=compress&cs=tinysrgb’ |
url로 제공합니다. |
| detail_images |
string |
상세 이미지 |
ex) ‘https://images.pexels.com/photos/3735470/pexels-photo-3735470.jpeg?auto=compress&cs=tinysrgb’ |
url로 제공합니다. |
| quantity |
int |
수량 |
ex) 4 |
|