This is fake endpoint to describe variant of PUT /api/v2.1/campaigns/{campaign_id}Ask AIput https://admin.sandbox.vouchery.app/api/v2.1/campaigns/{campaign_id}#___main_campaignUpdate a campaign.Path Paramscampaign_idintegerrequiredCampaign IDBody ParamsThe object with fields to updatebudget_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 nullnamestringNullable. The name of the campaign must be unique.statusstringenumNullable. String or null.activedraftactiveinactivearchivedAllowed:draftactiveinactivearchivedteamstringNullable. String or null.typestringenumrequiredMain Campaign is a wrapper for multiple Sub Campaigns, grouped together. Main Campaign can have own budget and redemptions limit.MainCampaignAllowed:MainCampaignResponses 200Updated 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