Inventory API
Categories

Update Category

This API endpoint (POST) updates an existing category. If the request succeeds it returns a Category Object. Webhook event: category-updated

Path Parameters

id * The id of the category to update.

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 Object to use as the default image of the category.