Get Edit Product
Testing
GET
/store/products/{id}
BosOnline/Product
Catatan: Penambahan response 400
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/store/products/ESB-006'
Response Response Example
200 - success
{
"data": {
"attributes": [
{
"name": "Kemasan Kopi",
"priority": 1,
"items": [
"2000 gr",
"1000 gr"
]
},
{
"name": "Tingkat Giling",
"priority": 2,
"items": [
"sedang",
"halus"
]
}
],
"category_id": 1,
"description": "Kopi pilihan asli",
"height": 10,
"hpp": 0,
"image": [
{
"file_path": "/uploads/stores/2/products/1750414846-636.jpg",
"image_url": {
"medium": "http://127.0.0.1:8086/uploads/stores/2/products/medium/1750414846-636.jpg",
"original": "http://127.0.0.1:8086/uploads/stores/2/products/1750414846-636.jpg",
"thumbnail": "http://127.0.0.1:8086/uploads/stores/2/products/thumbnail/1750414846-636.jpg"
}
}
],
"length": 10,
"name": "Biji kopi arabica",
"path_url": "biji-kopi-arabica",
"price": 0,
"product_cs": null,
"publish_rate": 0,
"qty": 10000,
"sku": "ESB-004",
"type": 0,
"variant_items": [
{
"height": 10,
"hpp": 40000,
"length": 10,
"min_qty": 100,
"name": "Halus 1000 gr",
"price": 45000,
"publish_rate": 50000,
"sku": "ESB-002-24",
"status": 1,
"stok": 101,
"weight": 100,
"width": 10
},
{
"height": 10,
"hpp": 60000,
"length": 10,
"min_qty": 100,
"name": "Halus 2000 gr",
"price": 65000,
"publish_rate": 70000,
"sku": "ESB-002-25",
"status": 0,
"stok": 0,
"weight": 200,
"width": 10
},
{
"height": 10,
"hpp": 40000,
"length": 10,
"min_qty": 100,
"name": "sedang 1000 gr",
"price": 45000,
"publish_rate": 50000,
"sku": "ESB-002-26",
"status": 1,
"stok": 101,
"weight": 100,
"width": 10
},
{
"height": 10,
"hpp": 60000,
"length": 10,
"min_qty": 100,
"name": "sedang 2000 gr",
"price": 65000,
"publish_rate": 70000,
"sku": "ESB-002-27",
"status": 0,
"stok": 302,
"weight": 200,
"width": 10
}
],
"weight": 1000,
"width": 10
}
}
Request
Path Params
id
string  | nullÂ
required
Example:
ESB-006
Responses
Modified at 2025-06-23 06:55:34