Skip to main content
POST
Select components for a component reference list

Authorizations

Authorization
string
header
required

Path Parameters

component_id
string
required
setting_name
string
required

Body

application/json
component_ids
string[]
required

The complete set of components to end up selected. Every id must be eligible for this reference: inside the setting's boundary, carrying the required component types, and not excluded by a selectable filter. Send an empty list to clear the selection.

The complete set of components to end up selected. Every id must be eligible for this reference: inside the setting's boundary, carrying the required component types, and not excluded by a selectable filter. Send an empty list to clear the selection.

variant
string

The setting value variant the selection is captured in. Defaults to default.

Response

The setting after the selection, in the same shape GET and PUT return.

Stored campaign component component reference variable definition. Fields description and unmatched_description are unevaluated and appear in buildtime-evaluatable form.

description
required

The description as configured: a literal value, or an expression (type:string) when defined dynamically. Buildtime expressions use CampaignBuildtimeContext.

display_name
string
required
name
string
required
priority
string
required
Example:

"10"

tags
string[]
required
type
enum<string>
required
Available options:
COMPONENT_REFERENCE,
COMPONENT_REFERENCE_LIST
boundary
object
required

Boundary that limits where selectable components are resolved from.

component_type
string
required

Component type that can be selected by this variable.

lookup_strategy
object
required

Lookup strategy used to match selectable components.

selectable_filters
object[]
required

Filters that narrow the components available for selection.

source
enum<string>
required
Available options:
INHERITED,
LOCAL,
PARAMETER
unmatched_description
required

Description shown when a saved reference no longer matches a selectable component. Buildtime expressions use CampaignBuildtimeContext.

values
object
required

Open map of setting values keyed by value key. There is no fixed or maximum number of keys. Any string key may be present; each value uses the same shape for this setting's type. The properties listed here are common examples only and are not required.