curl --location -g --request GET 'https://dev-api.inwantaiwan.com/api/cms/v1/product?filter[search]=&filter[category_id]=&filter[status]=&order=name_asc&page=&limit=' \
--header 'Accept: application/json'
{
"data": [
{
"id": 36,
"name": "second item",
"image": null,
"is_featured": false,
"category": null,
"variants": [
{
"id": 354,
"is_primary": true,
"name": "_default",
"sku": "654324",
"stock": 100,
"stock_forecasted": 100,
"price": {
"price": 20,
"distributor_price": 10
},
"final_price": 20,
"discount": null,
"image": null,
"is_flash_sale": false,
"status": "inactive"
}
],
"status": "inactive"
},
{
"id": 35,
"name": "second item",
"image": null,
"is_featured": false,
"category": null,
"variants": [
{
"id": 353,
"is_primary": true,
"name": "_default",
"sku": "32345",
"stock": 100,
"stock_forecasted": 100,
"price": {
"price": 20,
"distributor_price": 0
},
"final_price": 20,
"discount": null,
"image": null,
"is_flash_sale": false,
"status": "inactive"
}
],
"status": "inactive"
},
{
"id": 29,
"name": "box",
"image": "https://inwantaiwan.b-cdn.net/development/1737709590549.jpeg",
"is_featured": false,
"category": {
"id": 6,
"name": "Biskuit & Wafer",
"image": "https://inwantaiwan.b-cdn.net/live/1737613545950.png",
"children": [
{
"id": 23,
"name": "All",
"image": "https://inwantaiwan.b-cdn.net/live/1736901322768.jpeg"
}
]
},
"variants": [
{
"id": 350,
"is_primary": false,
"name": "tr",
"sku": "ert3",
"stock": 554,
"stock_forecasted": 554,
"price": {
"price": "44",
"distributor_price": "44"
},
"final_price": 44,
"discount": {
"type": "percentage"
},
"image": null,
"is_flash_sale": false,
"status": "inactive"
},
{
"id": 349,
"is_primary": true,
"name": "mm",
"sku": "tr345",
"stock": 235,
"stock_forecasted": 235,
"price": {
"price": "33",
"distributor_price": "33"
},
"final_price": 29,
"discount": {
"type": "percentage",
"amount": 10,
"status": "active"
},
"image": null,
"is_flash_sale": false,
"status": "active"
}
],
"status": "active"
},
{
"id": 28,
"name": "Koper Roaming Size Kabin 20-30 Inch Change",
"image": "https://inwantaiwan.b-cdn.net/live/1737617450758.jpeg",
"is_featured": false,
"category": {
"id": 31,
"name": "Koper",
"image": "https://inwantaiwan.b-cdn.net/live/1737614158949.png",
"children": []
},
"variants": [
{
"id": 280,
"is_primary": false,
"name": "Silver, 22",
"sku": "4567567567",
"stock": 190,
"stock_forecasted": 190,
"price": {
"price": "900",
"distributor_price": "858"
},
"final_price": 900,
"discount": null,
"image": null,
"is_flash_sale": false,
"status": "inactive"
},
{
"id": 281,
"is_primary": false,
"name": "Silver, 24",
"sku": "457 3457457",
"stock": 179,
"stock_forecasted": 179,
"price": {
"price": "1000",
"distributor_price": "858"
},
"final_price": 1000,
"discount": null,
"image": null,
"is_flash_sale": false,
"status": "inactive"
},
{
"id": 275,
"is_primary": false,
"name": "Pink, 24",
"sku": "4572345716",
"stock": 235,
"stock_forecasted": 235,
"price": {
"price": "858",
"distributor_price": "858"
},
"final_price": 858,
"discount": null,
"image": null,
"is_flash_sale": false,
"status": "inactive"
},
{
"id": 277,
"is_primary": false,
"name": "Black, 22",
"sku": "54564567",
"stock": 326,
"stock_forecasted": 326,
"price": {
"price": "858",
"distributor_price": "858"
},
"final_price": 858,
"discount": null,
"image": null,
"is_flash_sale": false,
"status": "inactive"
},
{
"id": 278,
"is_primary": false,
"name": "Black, 24",
"sku": "4567567456",
"stock": 41,
"stock_forecasted": 41,
"price": {
"price": "900",
"distributor_price": "858"
},
"final_price": 900,
"discount": null,
"image": null,
"is_flash_sale": false,
"status": "active"
},
{
"id": 279,
"is_primary": false,
"name": "Silver, 20",
"sku": "572457457",
"stock": 346,
"stock_forecasted": 346,
"price": {
"price": "858",
"distributor_price": "858"
},
"final_price": 858,
"discount": null,
"image": null,
"is_flash_sale": false,
"status": "active"
},
{
"id": 274,
"is_primary": false,
"name": "Pink, 22",
"sku": "7745673567",
"stock": 0,
"stock_forecasted": 0,
"price": {
"price": "900",
"distributor_price": "858"
},
"final_price": 900,
"discount": null,
"image": null,
"is_flash_sale": false,
"status": "active"
},
{
"id": 273,
"is_primary": true,
"name": "Pink, 20",
"sku": "3456734567",
"stock": 142,
"stock_forecasted": 142,
"price": {
"price": "858",
"distributor_price": "858"
},
"final_price": 858,
"discount": null,
"image": null,
"is_flash_sale": false,
"status": "inactive"
},
{
"id": 276,
"is_primary": false,
"name": "Black, 20",
"sku": "357357356",
"stock": 144,
"stock_forecasted": 143,
"price": {
"price": "900",
"distributor_price": "858"
},
"final_price": 900,
"discount": null,
"image": null,
"is_flash_sale": false,
"status": "active"
}
],
"status": "active"
},
{
"id": 27,
"name": "Dermaster Lavijue Wrinkle Care Serum (2 Pcs)",
"image": "https://inwantaiwan.b-cdn.net/live/1737617365951.png",
"is_featured": false,
"category": {
"id": 30,
"name": "Serum",
"image": "https://inwantaiwan.b-cdn.net/live/1737614102562.png",
"children": []
},
"variants": [
{
"id": 227,
"is_primary": true,
"name": "_default",
"sku": "345643576",
"stock": 235,
"stock_forecasted": 235,
"price": {
"price": "2646",
"distributor_price": "2646"
},
"final_price": 2222,
"discount": {
"type": "percentage",
"amount": 16,
"status": "active"
},
"image": null,
"is_flash_sale": false,
"status": "active"
}
],
"status": "active"
},
{
"id": 26,
"name": "SKINTIFIC SymWhite 377 Dark Spot Serum Brightening Serum Wajah 50ml update",
"image": null,
"is_featured": false,
"category": {
"id": 30,
"name": "Serum",
"image": "https://inwantaiwan.b-cdn.net/live/1737614102562.png",
"children": []
},
"variants": [
{
"id": 226,
"is_primary": true,
"name": "_default",
"sku": "24523456",
"stock": 284,
"stock_forecasted": 284,
"price": {
"price": "248",
"distributor_price": "248"
},
"final_price": 235,
"discount": {
"type": "percentage",
"amount": 31,
"status": "active"
},
"image": null,
"is_flash_sale": true,
"status": "active"
}
],
"status": "active"
},
{
"id": 25,
"name": "ILLUMINARE ACNE FACIAL WASH 100G / SABUN WAJAH / SABUN JERAWAT",
"image": null,
"is_featured": false,
"category": {
"id": 29,
"name": "Facial Wash",
"image": "https://inwantaiwan.b-cdn.net/live/1737614085292.png",
"children": []
},
"variants": [
{
"id": 225,
"is_primary": true,
"name": "_default",
"sku": "2345245",
"stock": 345,
"stock_forecasted": 345,
"price": {
"price": "105",
"distributor_price": "105"
},
"final_price": 105,
"discount": {
"type": "percentage",
"amount": 0,
"status": "inactive"
},
"image": null,
"is_flash_sale": false,
"status": "active"
}
],
"status": "active"
},
{
"id": 24,
"name": "Innisfree Bija Trouble Cleansing Foam 150gr - Facial Wash",
"image": "https://inwantaiwan.b-cdn.net/live/1737617122970.png",
"is_featured": false,
"category": {
"id": 29,
"name": "Facial Wash",
"image": "https://inwantaiwan.b-cdn.net/live/1737614085292.png",
"children": []
},
"variants": [
{
"id": 224,
"is_primary": true,
"name": "_default",
"sku": "124124124",
"stock": 455,
"stock_forecasted": 455,
"price": {
"price": "142",
"distributor_price": "142"
},
"final_price": 142,
"discount": {
"type": "percentage",
"amount": 0,
"status": "inactive"
},
"image": null,
"is_flash_sale": false,
"status": "active"
}
],
"status": "inactive"
},
{
"id": 23,
"name": "Mesin Kebugaran Dumbbell 20kg Alat Barbel Sederhana Peralatan Olahraga",
"image": "https://inwantaiwan.b-cdn.net/live/1737616820928.jpeg",
"is_featured": false,
"category": {
"id": 34,
"name": "SPORT",
"image": "https://inwantaiwan.b-cdn.net/live/1737614379595.jpeg",
"children": []
},
"variants": [
{
"id": 222,
"is_primary": true,
"name": "MODEL-1",
"sku": "34523452",
"stock": 345,
"stock_forecasted": 345,
"price": {
"price": "169",
"distributor_price": "169"
},
"final_price": 160,
"discount": null,
"image": null,
"is_flash_sale": true,
"status": "active"
},
{
"id": 223,
"is_primary": false,
"name": "MODEL-2",
"sku": "34623466",
"stock": 4767,
"stock_forecasted": 4767,
"price": {
"price": "329",
"distributor_price": "329"
},
"final_price": 312,
"discount": null,
"image": null,
"is_flash_sale": true,
"status": "active"
}
],
"status": "active"
},
{
"id": 22,
"name": "Bayar Tagihan Listrik",
"image": "https://inwantaiwan.b-cdn.net/live/1737616657912.png",
"is_featured": false,
"category": {
"id": 12,
"name": "LISTRIK",
"image": "https://inwantaiwan.b-cdn.net/live/1737614286555.png",
"children": [
{
"id": 17,
"name": "All",
"image": "https://inwantaiwan.b-cdn.net/live/1736906083304.jpeg"
}
]
},
"variants": [
{
"id": 221,
"is_primary": true,
"name": "_default",
"sku": "34632634",
"stock": 156,
"stock_forecasted": 156,
"price": {
"price": "51",
"distributor_price": "51"
},
"final_price": 48,
"discount": {
"type": "percentage",
"amount": 0,
"status": "inactive"
},
"image": null,
"is_flash_sale": true,
"status": "active"
}
],
"status": "active"
}
],
"links": {
"first": "http://localhost/api/cms/v1/product?page=1",
"last": "http://localhost/api/cms/v1/product?page=3",
"prev": null,
"next": "http://localhost/api/cms/v1/product?page=2"
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 3,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://localhost/api/cms/v1/product?page=1",
"label": "1",
"active": true
},
{
"url": "http://localhost/api/cms/v1/product?page=2",
"label": "2",
"active": false
},
{
"url": "http://localhost/api/cms/v1/product?page=3",
"label": "3",
"active": false
},
{
"url": "http://localhost/api/cms/v1/product?page=2",
"label": "Next »",
"active": false
}
],
"path": "http://localhost/api/cms/v1/product",
"per_page": 10,
"to": 10,
"total": 30
}
}