Product Variant
Testing
GET
/store/products/{id}/variant
BosOnline/Product
Catatan: Perbakan url
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/store/products/ESB-004/variant?category=name&keyword=&start=0&limit=10&sort_by=name&sort_dir=desc&status='
Response Response Example
200 - Success
{
"data": [
{
"height": 10,
"hpp": 40000,
"length": 10,
"name": "Halus 1000 gr",
"price": 45000,
"publish_rate": 50000,
"sku": "ESB-002-24",
"status": 1,
"stok": 101,
"type": "Produk Digital",
"weight": 100,
"width": 10
},
{
"height": 10,
"hpp": 60000,
"length": 10,
"name": "Halus 2000 gr",
"price": 65000,
"publish_rate": 70000,
"sku": "ESB-002-25",
"status": 0,
"stok": 302,
"type": "Produk Digital",
"weight": 200,
"width": 10
}
],
"total": 2
}
Request
Path Params
id
string
required
Example:
ESB-004
Query Params
category
string
optional
Example:
name
keyword
string
optional
start
string
optional
Example:
0
limit
string
optional
Example:
10
sort_by
string
optional
Example:
name
sort_dir
string
optional
Example:
desc
status
integer
optional
Responses
Modified at 2025-06-20 03:16:06