Skip to main content

Update a category

Update a category.

Authorizations:Token
Query Parameters
category_id
required
stringResource identifier
Request Body Schema:
The updated Category resource
og_meta_tags_typestringDefault: "A"Enum: "A""C"Example: "A"
og_meta_tagsstring
enabledbooleanDefault: trueExample: true
show_titlebooleanDefault: trueExample: true
positioninteger
membershipsArray of stringsExample: Wholesaler
parentinteger or nullExample: "null"
clean_urlstring
namestring[1 .. 255] charactersExample: "Category name"
descriptionstringExample: "Description"
meta_tagsstring
meta_description_typestringDefault: "A"Enum: "A""C"Example: "A"
meta_descriptionstring
meta_titlestring

Responses

200Category resource updated
Response schema:
Category resource updated
og_meta_tagsstring
idinteger
enabledboolean
show_titleboolean
positioninteger
membershipsArray of objects
Array
idinteger
namestring
enabledboolean
parentinteger or null
clean_urlstring
namestring
descriptionstring
meta_tagsstring
meta_descriptionstring
meta_titlestring
iconobject or null
  • object
idinteger
altstring
urlstring
widthinteger
heightinteger
bannerobject or null
  • object
idinteger
altstring
urlstring
widthinteger
heightinteger
400Invalid input
404Resource not found
422Unprocessable entity