Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.18 KB

update-item-modifier-lists-request.md

File metadata and controls

33 lines (25 loc) · 1.18 KB

Update Item Modifier Lists Request

Structure

UpdateItemModifierListsRequest

Fields

Name Type Tags Description Getter
ItemIds List<String> Required The IDs of the catalog items associated with the CatalogModifierList objects being updated. List getItemIds()
ModifierListsToEnable List<String> Optional The IDs of the CatalogModifierList objects to enable for the CatalogItem.
At least one of modifier_lists_to_enable or modifier_lists_to_disable must be specified.
List getModifierListsToEnable()
ModifierListsToDisable List<String> Optional The IDs of the CatalogModifierList objects to disable for the CatalogItem.
At least one of modifier_lists_to_enable or modifier_lists_to_disable must be specified.
List getModifierListsToDisable()

Example (as JSON)

{
  "item_ids": [
    "H42BRLUJ5KTZTTMPVSLFAACQ",
    "2JXOBJIHCWBQ4NZ3RIXQGJA6"
  ],
  "modifier_lists_to_disable": [
    "7WRC16CJZDVLSNDQ35PP6YAD"
  ],
  "modifier_lists_to_enable": [
    "H42BRLUJ5KTZTTMPVSLFAACQ",
    "2JXOBJIHCWBQ4NZ3RIXQGJA6"
  ]
}