Skip to main content

Add a product to a category

Add a product to a category.

Authorizations:Token, JWT
Query Parameters
category_id
required
integer
Request Body Schema:
The new Category resource
product_idinteger

Responses

201Category resource created
Response schema:
Category resource created
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
401Unauthorized
Response schema:
Unauthorized
typestring
titlestring
detailstring or null
instancestring or null
422Unprocessable entity
500Internal error
Response schema:
Internal error
typestring
titlestring
detailstring or null
instancestring or null