Update Categories
Updates existing categories.
To update a specific category in a tree, provide a category id.
Authentication
Request
Unique ID of the Category. Increments sequentially.
The name displayed for the category. Name is unique with respect to the categoryʼs siblings. Required in a POST.
The ID of the category tree. To create a top-level category, specify the tree_id. Otherwise, you can specify the parent_id.
The unique numeric ID of the category parent. To create a top-level category, specify the tree_id. Otherwise, you can specify the parent_id. Required in a POST if creating a child category.
Custom meta keywords for the category page. If not defined, the storeʼs default keywords will be used. Must post as an array like: [“awesome”,“sauce”].
Custom meta description for the category page. If not defined, the storeʼs default meta description will be used.
A valid layout file. (Please refer to this article on creating category files.) This field is writable only for stores with a Blueprint theme applied.
Image URL used for this category on the storefront. Images can be uploaded via form file post to /categories/{categoryId}/image, or by providing a publicly accessible URL in this field. Must be either a full-qualified URL or an empty string.
Flag to determine whether the product should be displayed to customers browsing the store. If true, the category will be displayed. If false, the category will be hidden from view.
A comma-separated list of keywords that can be used to locate the category when searching the store.