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.
function setCustomizationChoices(
customizationId: string,
choices: Array<Choice>,
options: SetCustomizationChoicesOptions,
): Promise<SetCustomizationChoicesResponse>;
Customization ID.
Choices to set.
import { customizationsV3 } from "@wix/stores";
async function setCustomizationChoices(customizationId, choices, options) {
const response = await customizationsV3.setCustomizationChoices(
customizationId,
choices,
options,
);
}
There are 5 errors with this status code.
There is 1 error with this status code.
This method may also return standard errors. Learn more about standard Wix errors.