Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Body
Provide details for a campaign template
Request body schema for POST /templates/campaign.
Request body for updating a campaign template.
User-defined name of the campaign template. It must be unique.
Unique identifier of the campaign that will create a template. It must be an ID of an existing discount or gift card campaign. It cannot be passed when promotion_tier_id has value. Required when the promotion_tier_id is not passed or it is null.
Unique identifier of the promotion tier that will create a template. It cannot be passed when campaign_id has value. Required when the campaign_id is not passed or it is null.
User-defined description of the campaign template.
Response
Returns the details of a created campaign template.
Response body schema for POST /v1/templates/campaigns.
Stores details about a campaign template.
Unique identifier of the campaign template. It is assigned by Voucherify.
"camp_tpl_eR9NsNJ5gqJRN2TG3fqCvbVl"
User-defined name of the campaign template.
Type of the campaign used to create the campaign template. Templates created from a promotion tier are converted to DISCOUNT_COUPONS.
DISCOUNT_COUPONS, GIFT_VOUCHERS Timestamp representing the date and time when the campaign template was created. The value is shown in the ISO 8601 format.
"2024-07-16T09:05:53.175Z"
The type of the object represented by JSON.
campaign_template User-defined description of the campaign template.

