ProductCategory object and includes its resolved parent category. Requires a permission that grants access to viewing products.curl --location --globoff 'https://.daftra.com/api2/product_categories.json?limit=20&page=1&parent_id=12&id=34' \
--header 'Accept: application/json' \
--header 'apikey: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'{
"result": "successful",
"code": 200,
"data": [
{
"ProductCategory": {
"id": 12,
"name": "Accessories",
"description": "string",
"category_type": 1,
"parent_id": 0,
"parent_category": {},
"image": "string",
"image_full_path": "string",
"created": "2018-05-10 00:42:00",
"modified": "2018-05-12 13:05:06"
}
}
],
"pagination": {
"prev": null,
"next": null,
"page": 1,
"page_count": 1,
"total_results": 1
}
}