curl --location --request GET '/admin/products/ESB-001/variant?category=ESB-001-01&keyword=h&start=0&limit=10&sort_by=name&sort_dir=desc&status' \
--header 'Authorization: Bearer <token>'{
"data": [
{
"sku": "ESB-002-27",
"name": "sedang 2000 gr",
"status": 0,
"hpp": 60000,
"price": 65000,
"publish_rate": 70000,
"weight": 200,
"width": 10,
"length": 10,
"height": 10
},
{
"sku": "ESB-002-26",
"name": "sedang 1000 gr",
"status": 1,
"hpp": 40000,
"price": 45000,
"publish_rate": 50000,
"weight": 100,
"width": 10,
"length": 10,
"height": 10
},
{
"sku": "ESB-002-25",
"name": "Halus 2000 gr",
"status": 0,
"hpp": 60000,
"price": 65000,
"publish_rate": 70000,
"weight": 200,
"width": 10,
"length": 10,
"height": 10
},
{
"sku": "ESB-002-24",
"name": "Halus 1000 gr",
"status": 1,
"hpp": 40000,
"price": 45000,
"publish_rate": 50000,
"weight": 100,
"width": 10,
"length": 10,
"height": 10
}
],
"total": 4
}