curl --location -g --request GET 'https://.daftra.com/api2/product_categories/' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer ' \
--header 'apikey: ' \
--header 'Content-Type: application/json'
{
"code": 200,
"result": "successful",
"data": {
"ProductCategory": {
"id": 0,
"name": "string",
"description": "string",
"category_type": "1=> Products' Category",
"parent_id": 0,
"image": "string",
"created": "2018-05-10 00:42:00",
"modified": "2018-05-12 13:05:06",
"image_full_path": "string"
}
},
"pagination": {
"prev": "/api2/clients/?page=1",
"next": "/api2/clients/?page=3",
"page": 2,
"page_count": 5,
"total_results": 98
}
}