ReDoc documentation

categories/{id}

categories/{id}

put/V1/categories/{id}

Create category service

Request
path Parameters
id
required
string
Request Body schema:
required
object (catalog-data-category-interface)

Category data interface.

Responses
200

200 Success.

400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "category": {
    }
}
Response samples
{
  • "id": 0,
  • "parent_id": 0,
  • "name": "string",
  • "is_active": true,
  • "position": 0,
  • "level": 0,
  • "children": "string",
  • "created_at": "string",
  • "updated_at": "string",
  • "path": "string",
  • "available_sort_by": [
    ],
  • "include_in_menu": true,
  • "extension_attributes": { },
  • "custom_attributes": [
    ]
}