Method: VoucherifySdk::ManagementApi#management_copy_campaign_template

Defined in:
lib/VoucherifySdk/api/management_api.rb

#management_copy_campaign_template(project_id, campaign_template_id, opts = {}) ⇒ ManagementProjectsTemplatesCampaignsCopyCreateResponseBody

Copy Campaign Template to a Project Copies a campaign template to another project. The resources, like validation rules or products, will not be copied to the destination project yet. When the template is used to create a new campaign or add a new promotion tier, the resources will be created in the destination project. 📘 Campaign Templates – Documentation Read the [Campaign Templates documentation](support.voucherify.io/article/620-campaign-templates) to learn more about this feature.

Parameters:

  • project_id (String)

    Provide the unique identifier of the project.

  • campaign_template_id (String)

    Provide the unique identifier of the campaign template.

  • opts (Hash) (defaults to: {})

    the optional parameters

Options Hash (opts):

Returns:



1739
1740
1741
1742
# File 'lib/VoucherifySdk/api/management_api.rb', line 1739

def management_copy_campaign_template(project_id, campaign_template_id, opts = {})
  data, _status_code, _headers = management_copy_campaign_template_with_http_info(project_id, campaign_template_id, opts)
  data
end