Skip to main content
PATCH
Update Popup
Update a saved popup. Only the fields you send change. Set status to published to make the popup live, or draft to stop it showing while keeping the popup, its stats, and its embed script. The trigger, targeting, schedule, frequency, and visual objects are merged key by key, so patching one key keeps the rest.

Request

string
Internal popup name.
string
draft or published.
string[]
Replacement list targeting. Pass an empty array to capture into every list.
string[]
Replacement tag IDs. Pass an empty array to clear tags.
string
skip, merge, or overwrite.
string
New text for the popup’s first heading block. Fails when the popup has no heading block; edit blocks instead.
string
New text for the popup’s first paragraph block. Fails when the popup has no paragraph block; edit blocks instead.
string
Submit button label.
string
Success screen message.
string
HTTP or HTTPS success redirect. Pass an empty string to switch back to the confirmation message.
string
modal, slide-in, floating-bar, or fullscreen.
string
center, left, right, top, or bottom.
object
Partial trigger patch, merged into the current trigger.
object
Partial targeting patch, merged into the current targeting.
object
Partial schedule patch, merged into the current schedule.
object
Partial frequency patch, merged into the current frequency.
object
Partial visual patch, merged into the current visual.
object
Theme overrides merged into the current theme.
object[]
Complete replacement for the popup’s content blocks. Read the current blocks with Get Popup first. The popup must keep exactly one required email field and one submit button.
Unpublish a popup without deleting it:

Responses