category & subcategory api response code example
Example: category & subcategory api response
{
"response": 200,
"data": [
{
"id": 15,
"name": "dfdfhdf rtuydf",
"slug": "dfdfhdf-rtuydf",
"subcategory": [
{
"sub_id": 15,
"sub_name": "dfdfhdf rtuydf",
"sub_slug": "dfdfhdf-rtuydf"
"fsubcategory": [
{
"fsub_id": 15,
"fsub_name": "dfdfhdf rtuydf",
"fsub_slug": "dfdfhdf-rtuydf"
},
...
]
},
...
]
},
....
]
}