Get Category
GET/api/product_categories/:id
Get Category
Request
Path Parameters
id integerrequired
Header Parameters
X-Company-Slug stringrequired
Responses
- 200
Successful response
- application/json
- Schema
- Example (from schema)
Schema
id string
name string
slug string
parent_id stringnullable
position numbernullable
enabled boolean
parent
object
nullable
id string
name string
slug string
parent_id stringnullable
position numbernullable
enabled boolean
{
"id": "1",
"name": "afasf",
"slug": "afasf",
"parent_id": 1,
"position": null,
"enabled": true,
"parent": {
"id": "1",
"name": "afasf",
"slug": "afasf",
"parent_id": 1,
"position": null,
"enabled": true
}
}
Loading...