setArrangedItems( )

Developer Preview

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

Sets arranged items in a category.

The order of items in the items array determines the order of items in the category. The category's existing list of arranged items will be overridden.

Authentication

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

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

Category ID.


treeReferenceTreeReferenceRequired

Category tree reference details.


optionsSetArrangedItemsOptions
Returns
Return Type:Promise<SetArrangedItemsResponse>
Was this helpful?
Yes
No