id
. The product categories can also be sorted or paginated.curl --location -g --request GET '{{BASE_URL}}/admin/product-categories'
{
"limit": 0,
"offset": 0,
"count": 0,
"product_categories": [
{
"parent_category": {},
"name": "string",
"description": "string",
"id": "string",
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"handle": "string",
"deleted_at": "2019-08-24T14:15:22Z",
"is_active": true,
"is_internal": true,
"rank": 0,
"parent_category_id": "string",
"category_children": [
{}
],
"products": [
{}
]
}
],
"estimate_count": 0
}