Create or Update Variant
Create a new variant or update an existing one for a specific channel. Pass the variant content, conditions, locale, and optionally whether the variant needs vendor approval.
The content JSON structure is channel-specific. Refer to the variant content schema for each channel’s structure.
Authorizations
Pass as Authorization: ServiceToken <token>. You can get Service Token from SuprSend dashboard -> Account Settings -> Service Tokens section.
Path Parameters
Body
Conditions for variant selection. Structure follows the expression format.
Channel-specific content. See variant content schema for the structure of each channel.
Response
Variant created successfully. Returns the full variant including its content.