Skip to main content

Items vs Modifier Items

Comments

1 comment

  • John Duggan

    Hi Anil,

    Thanks for reaching out! The Menus API does not have an explicit “is modifier” flag. The distinction is structural.

    Menu items appear under menus[].menuGroups[].menuItems[]. A menu item’s modifierGroupReferences lists the modifier groups that apply to it, and each modifier group’s modifierOptionReferences lists its modifier options. The groups and options themselves are defined in the location-level modifierGroupReferences and modifierOptionReferences objects. This article explains how that structure works.

    Because the Menus API only returns published menu data, a modifier item that isn’t assigned to any modifier group won’t appear in /menus.

    Best,

    John

    0

Please sign in to leave a comment.