Update a category position in the categories tree
Update a category position in the categories tree.
Authorizations:Token, JWT
Query Parameters
category_id required | integer |
Request Body Schema:
The updated Category resource parent | integer or null |
position | integer |
Responses
200Category resource updated
Response schema:
Category resource updated og_meta_tags | string | ||||||||||
id | integer | ||||||||||
enabled | boolean | ||||||||||
show_title | boolean | ||||||||||
position | integer | ||||||||||
memberships | Array of objects | ||||||||||
Array
| |||||||||||
parent | integer or null | ||||||||||
clean_url | string | ||||||||||
name | string | ||||||||||
description | string | ||||||||||
meta_tags | string | ||||||||||
meta_description | string | ||||||||||
meta_title | string | ||||||||||
icon | object or null | ||||||||||
| |||||||||||
banner | object or null | ||||||||||
|
400Invalid input
401Unauthorized
Response schema:
Unauthorized type | string |
title | string |
detail | string or null |
instance | string or null |
404Resource not found
Response schema:
Resource not found type | string |
title | string |
detail | string or null |
instance | string or null |
422Unprocessable entity
500Internal error
Response schema:
Internal error type | string |
title | string |
detail | string or null |
instance | string or null |