GET /product_categories
curl \
-X GET https://api.cosmily.com/api/v1/product_categories \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
"data": [
{
"id": 42,
"title": "string",
"alias": "string",
"menuindex": 42,
"created_at": "string",
"updated_at": "string",
"parent_id": 42,
"child_categories": [
{
"id": 42,
"title": "string",
"alias": "string",
"menuindex": 42,
"created_at": "string",
"updated_at": "string",
"parent_id": 42
}
]
}
]
}
Response examples (200)
{
"data": [
{
"id": 42,
"title": "string",
"alias": "string",
"menuindex": 42,
"created_at": "string",
"updated_at": "string",
"parent_id": 42,
"child_categories": [
{
"id": 42,
"title": "string",
"alias": "string",
"menuindex": 42,
"created_at": "string",
"updated_at": "string",
"parent_id": 42
}
]
}
]
}