Skip to content

Dynamic Content Variation Request

A variation of a dynamic content. Provide text_content for inline dynamic content, or body for block dynamic content.

localestringrequired

The locale of the variation. Each locale can appear once per brand.

Example:"en"
brand_idstring or null

The unique identifier for the brand the variation applies to. Omit for a variation that applies to all brands.

Example:"42"
text_contentstring

The value of an inline variation.

Example:"+1-555-0100"
bodystring

The content of a block variation in HTML.

Example:"<p>You can request a refund within 30 days of purchase.</p>"
intentionally_emptyboolean

Set to true to make the variation show nothing instead of falling back to the default content. Any text_content or body sent with it is ignored.

Default:false
Example:false
{ "locale": "en", "brand_id": "42", "text_content": "+1-555-0100", "body": "<p>You can request a refund within 30 days of purchase.</p>", "intentionally_empty": false }