setCustomizationChoices( )


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 a customization's choices. Any and all existing choices will be overridden.

Note: A choice cannot be overridden if it is assigned to one or more products.

Authentication

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

Permissions
Manage Stores - all permissions
Manage Products
Manage v3 catalog
Customization write in v3 catalog
Product write in v3 catalog
Learn more about app permissions.
Method Declaration
Copy
Method Parameters
customizationIdstringRequired

Customization ID.


choicesArray<Choice>Required

Choices to set.


optionsSetCustomizationChoicesOptions
Returns
Return Type:Promise<SetCustomizationChoicesResponse>
Did this help?