Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.04 KB

update-item-modifier-lists-request.md

File metadata and controls

33 lines (25 loc) · 1.04 KB

Update Item Modifier Lists Request

Structure

UpdateItemModifierListsRequest

Fields

Name Type Tags Description
itemIds string[] Required The IDs of the catalog items associated with the CatalogModifierList objects being updated.
modifierListsToEnable string[] | undefined 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.
modifierListsToDisable string[] | undefined 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.

Example (as JSON)

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