update_menu_item_children
Replace the children of a specific menu item to update a submenu without reconstructing the entire menu structure.
Instructions
Update only the children of a specific menu item. This is useful for updating a submenu without needing to reconstruct the entire menu structure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menuId | Yes | Menu ID (e.g., 'gid://shopify/Menu/123456789') | |
| children | Yes | New children to replace existing children of the specified menu item | |
| menuItemId | Yes | Menu item ID whose children will be updated (e.g., 'gid://shopify/MenuItem/987654321') |