Update Project Category
PUT/api/product_categories/:id
Update Project Category
Request
Path Parameters
id integerrequired
Example: 3137
Header Parameters
X-Company-Slug stringrequired
- application/json
Body
name stringrequired
parent_id stringnullable
enabled boolean
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...