Inventory API
Categories

Create Category

This API endpoint (POST) creates a new category. If the request succeeds it returns a Category Object. Webhook event: category-created

Body Parameters

slug string * The slug of the category. Used with Tamio Sites and Pages.



config object * The titles, subtitles, seo descriptions, seo titles and descriptions of the category in all supported languages. The minimum information required is a title in at least one language. The keys of the object are a Language Codes while the values are also objects with the content of the category.

Note: A language has to be activated on your account before it can be used.

Exampe



icon string The icon of the category. Used on Tamio Sites and pages.



status boolean Whether the category is currently active. An active category is shown on Tamio Sites and pages.



asset_id string The id of an Asset to use as the default image of the category.



parent_id string The id of the parent category where you want the category to be created.