Skip to main content
call_actions carries a feature toggle, enabled, above the items list it gates. The list merges per item: an item with an id patches that CTA, an item without one creates a new CTA, and an item with "_destroy": true deletes it. CTAs you don’t mention stay as they are. This is a merge-patch: send only the keys you want to change and everything else keeps its stored value.

Edit one CTA, create another, delete a third

The feature toggle

The item keys (inside items)

A text button (no action.as_html, no image_as_button) requires action.content, action.url, and a complete design.typography + design.styles. Within an item, the merge is still shallow per group: patching window.start leaves window.end alone.