UpdateItemModifierLists
Updates the CatalogModifierList objects that apply to the targeted CatalogItems, without having to reupload the entire item. Enables or disables the modifier list associations for a set of items in a single request.
Stored Procedure Specific Information
Execute
You need to provide the ItemIds to execute the stored procedure, along with at least one of ModifierListsToEnable or ModifierListsToDisable. Each parameter accepts a comma-separated list of IDs.
EXECUTE UpdateItemModifierLists ItemIds = 'W62UWFY35CWMYGVWK6TWJDNI,AOMDS2GVIWDSITL5R2ODVNKN', ModifierListsToEnable = 'ZXPTPGKTM7DVI5YQC7QF4X4L'
You can enable and disable modifier lists in the same request by supplying both ModifierListsToEnable and ModifierListsToDisable.
EXECUTE UpdateItemModifierLists ItemIds = 'W62UWFY35CWMYGVWK6TWJDNI', ModifierListsToEnable = 'ZXPTPGKTM7DVI5YQC7QF4X4L', ModifierListsToDisable = 'MDSITL5R2ODVNKNAOMDS2GVI'
Input
| Name | Type | Required | Description |
| ItemIds | String | True | The IDs of the CatalogItems associated with the CatalogModifierList objects being updated. A maximum of 1,000 item IDs may be supplied. |
| ModifierListsToEnable | String | False | The IDs of the CatalogModifierList objects to enable for the targeted items. A maximum of 1,000 modifier list IDs may be supplied. |
| ModifierListsToDisable | String | False | The IDs of the CatalogModifierList objects to disable for the targeted items. A maximum of 1,000 modifier list IDs may be supplied. |
Result Set Columns
| Name | Type | Description |
| UpdatedAt | Datetime | The database timestamp of this update, in RFC 3339 format. |
| Success | Boolean | Whether the operation was successful. |