Updating Categories
Mutations can be used to update the category listing in Nosto. The upsertCategories
mutation allows you to update one or more category at one go. If the category doesn't already exist, a new one is created.
A category can have the following fields:
id
The category identifier. If a category with this id doesn't already exist, a new one is created.name
The displayed name for the category.urlPath
The path that can be used to generate the URL of the category listing.available
If the category is visible on the store. This can be set to false to soft delete the category in an upsert.
Some stores support hierarchical categories i.e. a category may have parent and child categories. The following fields can be used for hierarchical categories:
parentId
The identifier of the parent category.fullName
The name of every category in the hierarchy.
Last updated