This is fake endpoint to describe variant of POST /api/v2.1/campaignsAsk AIpost https://admin.sandbox.vouchery.app/api/v2.1/campaigns#___main_campaignCreate a campaign.Body ParamsObject to createbudget_codestringNullable. String or null.currencystringrequiredAlpha-3 codedescriptionstringNullable. String or null.max_redemptionsint32Nullable. The maximum number of redemptions available across all discount campaigns grouped by this campaign.max_redemptions_unitint32Nullable. Integer or nullmax_total_budgetdoubleNullable. The budget available for all discount campaigns grouped by this campaign.max_total_budget_unitint32Nullable. Integer or nullnamestringrequiredThe name of the campaign must be unique.statusstringenumNullable. String or null.draftdraftactiveAllowed:draftactiveteamstringNullable. String or null.templatestringenumNullable. Valid template values for MainCampaign are: discount, loyalty, gift_card. For SubCampaign valid templates are sub_redemption, sub_reward_points, sub_generate_vouchers.discountdiscountloyaltygift_cardAllowed:discountloyaltygift_cardtypestringenumrequiredMain Campaign is a wrapper for multiple Sub Campaigns, grouped together. Main Campaign can have own budget and redemptions limit.MainCampaignAllowed:MainCampaignResponses 200Created object 401Unauthorized error. 403Forbidden error. 422Unprocessable entity error. Validation failed. 500Internal server error. Try again in a few minutes or contact support.Updated over 2 years ago