The ID of the integration
Must be a String
The ID of the flow
Must be a String
The ID of the offer
Must be a String
The placement context where the offer will be displayed (e.g., order_confirmation, order_status)
Must be a String
The first name of the user for personalization
Must be a String
The API version
Must be a String
This will return up to two main items. The first item will be the offer and the second item will be the event. The offer is made up of segments and each segment may contain children.
[ { "type": "event", "id": "...", "children": [ { "type":"text" }, { "type":"view", "children": [{"type":"text"}] } ] }, { "type": "event" } ]
Possible segment types are:
Must be an array of any type
Must be an Array of nested elements
It will be empty
Must be an array of any type
Must be an Array of nested elements
Must be an Array of nested elements
Must be an Array of nested elements