{
"meta": {
"success": true,
"status": 200,
"message": "Berhasil mendapatkan detail produk dengan semua informasi terkait"
},
"data": {
"id": "4c91401f-c067-46e8-aeb5-fc0715bffc0a",
"name": "Mobil Balap Merah",
"description": "Mobil balap merah keren",
"stock": 55,
"weightGram": 150,
"status": "PUBLISHED",
"originalPrice": 45000,
"finalPrice": 45000,
"discountAmount": 0,
"discountPercentage": 0,
"hasDiscount": false,
"activeDiscount": null,
"hasVariants": true,
"images": [
{
"id": "232dc1f9-4e86-4526-b14e-e5b66346e2f1",
"imageUrl": "public/product/6cec1038-e0c7-4751-bdcb-fed7270ba499-1760618772698-f600d1.jpeg",
"isMain": true,
"createdAt": "2025-10-16T12:46:19.133Z",
"updatedAt": "2025-10-16T12:46:19.133Z"
}
],
"vendor": {
"id": "6cec1038-e0c7-4751-bdcb-fed7270ba499",
"shopName": "Toko Sembako Makmur"
},
"category": {
"id": "3d894604-19c7-4dc9-8958-eee0ef81d366",
"name": "Kemeja"
},
"details": [
{
"id": "addab572-58ba-4a1b-b2b5-0abc1adf5c28",
"title": "Cara Cuci",
"content": "Cuci pakai tangan dengan air dingin dan deterjen lembut",
"imageUrl": "public/product-detail/6cec1038-e0c7-4751-bdcb-fed7270ba499-1760618773395-2829b5.jpg",
"sequence": 1,
"createdAt": "2025-10-16T12:46:19.133Z",
"updatedAt": "2025-10-16T12:46:19.133Z"
},
{
"id": "467ca933-d45d-4241-b2fd-86d785a5f997",
"title": "Cara Jemur",
"content": "Jemur di tempat teduh, hindari matahari langsung",
"imageUrl": "public/product-detail/6cec1038-e0c7-4751-bdcb-fed7270ba499-1760618774065-b80ac6.jpeg",
"sequence": 2,
"createdAt": "2025-10-16T12:46:19.133Z",
"updatedAt": "2025-10-16T12:46:19.133Z"
},
{
"id": "5fb5ffe4-6b55-43fa-bdf9-a1b1f86b53b0",
"title": "Cara Simpan",
"content": "Lipat rapi dan simpan di tempat kering agar tenun tidak lembap",
"imageUrl": "public/product-detail/6cec1038-e0c7-4751-bdcb-fed7270ba499-1760618776369-8bb7a0.jpg",
"sequence": 3,
"createdAt": "2025-10-16T12:46:19.133Z",
"updatedAt": "2025-10-16T12:46:19.133Z"
}
],
"attributes": [
{
"id": "edd98500-e108-4622-ad44-e738718c5797",
"attributeName": "Asal",
"value": "Lombok Timur",
"createdAt": "2025-10-16T12:46:19.133Z",
"updatedAt": "2025-10-16T12:46:19.133Z"
},
{
"id": "706d00f7-d0f3-4f3c-befb-bd347cdd9d1b",
"attributeName": "Bahan",
"value": "Katun Premium",
"createdAt": "2025-10-16T12:46:19.133Z",
"updatedAt": "2025-10-16T12:46:19.133Z"
},
{
"id": "3f9cbc4a-e37e-4461-8c5a-061c487ffb65",
"attributeName": "Ukuran",
"value": "All Size (Dewasa)",
"createdAt": "2025-10-16T12:46:19.133Z",
"updatedAt": "2025-10-16T12:46:19.133Z"
},
{
"id": "22d8e135-c0b9-46ad-92ad-2248bf2a6f52",
"attributeName": "Warna",
"value": "Hitam",
"createdAt": "2025-10-16T12:46:19.133Z",
"updatedAt": "2025-10-16T12:46:19.133Z"
}
],
"variants": [
{
"id": "0440c1af-3bda-4566-b8c8-f252a1d07a81",
"name": "Coklat - XL",
"stock": 12,
"variantSku": "VAR-TOKOSE-251016-C4B8C6D6",
"imageUrl": "public/product-variant/6cec1038-e0c7-4751-bdcb-fed7270ba499-1760618778689-45cce6.jpg",
"originalPrice": 95000,
"finalPrice": 95000,
"discountAmount": 0,
"discountPercentage": 0,
"hasDiscount": false,
"activeDiscount": null,
"createdAt": "2025-10-16T12:46:19.133Z",
"updatedAt": "2025-10-16T12:46:19.133Z"
},
{
"id": "c96602dc-1544-4704-829a-cf994e9d7856",
"name": "Hitam - M",
"stock": 25,
"variantSku": "VAR-TOKOSE-251016-2356DADB",
"imageUrl": "public/product-variant/6cec1038-e0c7-4751-bdcb-fed7270ba499-1760618777002-e06304.jpg",
"originalPrice": 45000,
"finalPrice": 45000,
"discountAmount": 0,
"discountPercentage": 0,
"hasDiscount": false,
"activeDiscount": null,
"createdAt": "2025-10-16T12:46:19.133Z",
"updatedAt": "2025-10-16T12:46:19.133Z"
},
{
"id": "f04475f5-8c7a-4006-b765-6806308e074b",
"name": "Hitam - L",
"stock": 18,
"variantSku": "VAR-TOKOSE-251016-2EF6679C",
"imageUrl": "public/product-variant/6cec1038-e0c7-4751-bdcb-fed7270ba499-1760618777434-b993b9.jpg",
"originalPrice": 90000,
"finalPrice": 81000,
"discountAmount": 9000,
"discountPercentage": 10,
"hasDiscount": true,
"activeDiscount": {
"id": "785e461d-9046-4fb7-adf3-4b8d6109ccb0",
"discountType": "PERCENTAGE",
"discountValue": 10,
"isActive": true,
"startDate": "2025-10-15T17:00:00.000Z",
"endDate": "2025-12-30T17:00:00.000Z"
},
"createdAt": "2025-10-16T12:46:19.133Z",
"updatedAt": "2025-10-16T12:46:19.133Z"
}
],
"createdAt": "2025-10-16T12:46:19.133Z",
"updatedAt": "2025-10-16T12:46:19.195Z"
}
}