Create Product Category
POST/api/product_categories
Create Product Category
Request
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 number
slug string
name stringrequired
parent_id stringnullable
enabled boolean
{
"id": 1,
"slug": "sac-bakim",
"name": "Saç Bakım",
"parent_id": 1,
"enabled": true
}
Loading...