Skip to main content

Reassign Category to Products

PUT 

/api/categories/reassign-to-products

Bulk reassign all products from one leaf category to another. Products already in the new category are detached from the old one.

Authentication: Requires Bearer token.

Request body fields:

  • old_category_id (required) — must be an existing leaf category
  • new_category_id (required) — must be an existing leaf category; different from old_category_id

Request

Responses

Successful response