This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Removes choices from a customization.
+> Note: A choice cannot be removed if it is assigned to one or more products.
function removeCustomizationChoices(
customizationId: string,
choiceIds: Array<string>,
options: RemoveCustomizationChoicesOptions,
): Promise<RemoveCustomizationChoicesResponse>;
Customization ID.
IDs of choices to remove.
import { customizationsV3 } from "@wix/stores";
async function removeCustomizationChoices(customizationId, choiceIds, options) {
const response = await customizationsV3.removeCustomizationChoices(
customizationId,
choiceIds,
options,
);
}
There is 1 error 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.