(API) Update Opt-in Prompt Condition

Updates opt-in prompt condition by ID

Note: If autoPrompt is set to true, seconds_delay, scroll_delay, and pages_delay should be set to NULL. If autoPrompt is set to false, provide a value for only one of the delay options, setting the other two to NULL (e.g. seconds_delay = 5, scroll_delay = NULL, pages_delay = NULL)

If values are set for multiple delay options, they will be evaluated in the following order: autoPrompt, scroll_delay, seconds_delay, pages_delay.

When updating the default prompt condition, priority should be set to 0 and page should be set to *

Click Try It! to start a request and see the response here!