moveCategory( )


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Moves a category within its parent category, or to a different parent category.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Category write
Manage Stores - all permissions
Manage Products
Manage v3 catalog
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
categoryIdstringRequired

ID of the category to move.


treeReferenceTreeReferenceRequired

Category tree reference details.


optionsMoveCategoryOptions
Returns
Return Type:Promise<MoveCategoryResponse>
Errors
400Invalid Argument

There is 1 error with this status code:

404Not Found

There is 1 error with this status code:

428Failed Precondition

There are 3 errors with this status code:

See the entire list and learn more about Wix errors.

Did this help?