Bukalapak Product Category API
Get all product's category
- Use
GET
http method.
None
curl -u 67287:lXymG93y83m6RHzZV5FY https://api.bukalapak.com/v1/categories.json
{
"status":"OK",
"categories":{
"Sepeda":{
"83":"Sepeda MTB",
"96":"Helm & Body Protection",
"Drivetrain":{
"88":"Crank",
"259":"Rantai"
},
"138":"Part Generic",
"Outwear":{
"279":"Gogle",
"280":"Tas"
}
},
"HP & Elektronik":{
"Handphone (HP)":{
"105":"Blackberry",
"Android":{
"147":"Samsung",
"150":"LG",
"151":"Lain-lain"
},
"154":"Lain-lain"
},
"Kamera":{
"119":"SLR Fullset",
"199":"Others"
}
},
"Properti":{
"74":"Rumah",
"75":"Apartemen",
"76":"Ruko",
"77":"Kamar & Kos",
"78":"Tanah"
}
},
"message":null
}
Get attributes for a category
- Use
GET
http method.
None
curl -u 67287:lXymG93y83m6RHzZV5FY https://api.bukalapak.com/v1/categories/242/attributes.json
{
"status":"OK",
"attributes":{
"type":{
"fieldName":"type",
"displayName":"Type",
"inputType":"select",
"options":["MTB", "Roadbike", "City", "Others"]
},
"brand":{
"fieldName":"brand",
"displayName":"Brand",
"inputType":"select",
"options":["United", "Polygon", "Giant", "WimCycle", "Generik", "Tidak Tahu"]
},
"ukuran":{
"fieldName":"ukuran",
"displayName":"Ukuran",
"inputType":"string",
"options":[]
},
"bahan":{
"fieldName":"bahan",
"displayName":"Bahan",
"inputType":"select",
"options":["Chromoly", "Carbon", "Steel"]
}
},
"message":null
}