Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.35 KB

TemplatesCampaignsUpdateResponseBody.md

File metadata and controls

37 lines (21 loc) · 1.35 KB

TemplatesCampaignsUpdateResponseBody

Request body schema for PUT /templates/campaign/{campaignTemplateId}.

Properties

Name Type Description
id String Unique identifier of the campaign template. It is assigned by Voucherify.
name String User-defined name of the campaign template.
description String User-defined description of the campaign template.
campaignType CampaignTypeEnum Type of the campaign used to create the campaign template. Templates created from a promotion tier are converted to `DISCOUNT_COUPONS`.
createdAt OffsetDateTime Timestamp representing the date and time when the campaign template was created. The value is shown in the ISO 8601 format.
_object ObjectEnum The type of the object represented by JSON.
updatedAt OffsetDateTime Timestamp representing the date and time when the campaign template was last updated. The value is shown in the ISO 8601 format.

Enum: CampaignTypeEnum

Name Value
DISCOUNT_COUPONS "DISCOUNT_COUPONS"
GIFT_VOUCHERS "GIFT_VOUCHERS"

Enum: ObjectEnum

Name Value
CAMPAIGN_TEMPLATE "campaign_template"