Home > @uniformdev/canvas > CategoryClient > upsertCategories

CategoryClient.upsertCategories() method

Updates or creates a category, also used to re-order them

Signature:

Parameters

<table><thead><tr><th>

Parameter

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

categories

</td><td>

CategoriesPutParameters['categories']

</td><td>

</td></tr> </tbody></table> Returns:

Promise<unknown>