Request body schema for POST /templates/campaign
.
Name | Type | Description |
---|---|---|
campaignId | String | 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`. |
promotionTierId | String | 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`. |
name | String | User-defined name of the campaign template. It must be unique. |
description | String | User-defined description of the campaign template. |