Skip to content

Dynamic Content Variation

The value of a dynamic content for one locale, and optionally one brand.

typestring

String representing the object's type. Always has the value dynamic_content_variation.

Example:"dynamic_content_variation"
idstring

The unique identifier for the variation.

Example:"456"
localestring

The locale of the variation.

Example:"en"
brand_idstring or null

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

Example:"42"
text_contentstring or null

The value of an inline variation. null for block dynamic content.

Example:"+1-555-0100"
json_blocksArray of objects or null

The content blocks of a block variation. null for inline dynamic content.

Example:
[ { "type": "paragraph", "text": "You can request a refund within 30 days of purchase." } ]
intentionally_emptyboolean

Whether the variation is intentionally empty. An intentionally empty variation shows nothing instead of falling back to the default content, and has an empty text_content or json_blocks.

Example:false
created_atinteger, (date-time)

The time the variation was created as a Unix timestamp.

Example:1663597223
updated_atinteger, (date-time)

The time the variation was last updated as a Unix timestamp.

Example:1663597223
{ "type": "dynamic_content_variation", "id": "456", "locale": "en", "brand_id": "42", "text_content": "+1-555-0100", "json_blocks": [ { … } ], "intentionally_empty": false, "created_at": 1663597223, "updated_at": 1663597223 }