RemoveSharedVariantOptionsLocaleField
Removes locale override fields for a shared variant option.
Stored Procedure Specific Information
You can remove locale override fields for a shared variant option. Each option type has specific field values that can be removed.
For example:
EXECUTE RemoveSharedVariantOptionsLocaleField SharedProductOptionId = '5', ChannelId = '1', LocaleId = 'en', DropdownFieldsToRemove = '"DROPDOWN_SHARED_PRODUCT_OPTION_DISPLAY_NAME_FIELD"', dropdownIds='"bc/store/sharedProductOptionValue/125", "bc/store/sharedProductOptionValue/126"'
Input
| Name | Type | Required | Description |
| SharedProductOptionId | String | True | The ID of the shared product option. |
| ChannelId | String | True | The channel ID. |
| LocaleId | String | True | The locale code (e.g., 'en', 'fr'). |
| DropdownFieldsToRemove | String | False | Fields to remove for dropdown option. Valid values: SHARED_DROPDOWN_PRODUCT_OPTION_DISPLAY_NAME_FIELD, SHARED_DROPDOWN_PRODUCT_OPTION_VALUES_FIELD |
| DropdownIds | String | False | Ids to remove for dropdown option. |
| RadioButtonsFieldsToRemove | String | False | Fields to remove for radio buttons option. Valid values: SHARED_RADIO_BUTTONS_PRODUCT_OPTION_DISPLAY_NAME_FIELD, SHARED_RADIO_BUTTONS_PRODUCT_OPTION_VALUES_FIELD |
| RadioButtonsIds | String | False | Ids to remove for radio buttons option. |
| RectangleListFieldsToRemove | String | False | Fields to remove for rectangle list option. Valid values: SHARED_RECTANGLE_LIST_PRODUCT_OPTION_DISPLAY_NAME_FIELD, SHARED_RECTANGLE_LIST_PRODUCT_OPTION_VALUES_FIELD |
| RectangleListIds | String | False | Ids to remove for rectangle list option. |
| SwatchFieldsToRemove | String | False | Fields to remove for swatch option. Valid values: SHARED_SWATCH_PRODUCT_OPTION_DISPLAY_NAME_FIELD, SHARED_SWATCH_PRODUCT_OPTION_VALUES_FIELD |
| SwatchIds | String | False | Ids to remove for swatch option. |
Result Set Columns
| Name | Type | Description |
| SharedProductOptionId | String | The ID of the shared product option. |
| Success | Boolean | Indicates whether or not the operation executed successfully. |
| Details | String | Any extra details on the operation's execution. |