Pages
Edit a builder page with patches
Requires page.update. Applies up to 30 patches to a builder page and saves it; call publishPage again to update the live page. Node ids come from getPage (payload.tree). Operations: set-prop { nodeId, key, value }; set-style { nodeId, key, value } (CSS property in camelCase); replace-subtree { nodeId, node }; insert-child { parentId ("__root__" for a new section), index, node }; remove-node { nodeId }; move-node { nodeId, newParentId, newIndex }; set-theme { key: primary | accent, value } (mode is not applied to saved pages); patch-page-settings { seo?, customCss?, scripts?, preconnectUrls? }. A node is { type, props?, styles?, children? } with type one of: badge, button, container, divider, feature-line, grid, heading, icon, image, spacer, text, video. Text lives in props (heading.text, text.content as HTML, button.label, image.src/alt, badge.text). Rejected patches are explained in warnings.
POST
Error
Authorizations
Body
application/json
Required array length:
1 - 30 elements