Table of Contents

API : Product campaigns

A campaign is a time-limited discount on an MVNO or SIP rateplan. Accounts created while the campaign is open get the campaign price for a fixed number of whole months, and are then invoiced at the rateplan's normal price again.

Overview List the campaigns that can still cost money.
Create Create a campaign on a master or reseller rateplan.
Update Update a campaign.
Stop Stop a campaign early.
Take over A reseller takes over a master campaign at its own customer price.
Sign-ups How many accounts signed up in a campaign's enrolment window.
Name The name of one campaign, for the badge on an account.

How campaigns work

Where a campaign lives

Campaigns are stored in campaigns on the rateplan product (see Products), and only on MVNO_RATEPLAN and SIP_RATEPLAN products.

The enrolment window

startDate and endDate are Danish calendar days, sent as Copenhagen midnight (1 October 2026 is 2026-09-30T22:00:00.000Z). Both days are inside the window, so a campaign may start and end on the same day.

What can be changed

Before a campaign starts, everything can be changed. Once it has started, the accounts enrolled on it were priced by it, so:

Only RESELLER_ADMIN and ADMIN may set wholesale. When anybody else creates a campaign, wholesale is the product's own wholesale, so a reseller's campaign changes the customer price only.

A reseller's copy of a master campaign

A reseller named on a master campaign may take it over on its own reseller product, to offer it at its own customer price. The copy is an ordinary reseller campaign with fromCampaign set to the master campaign's id:

Who sees what

For RESELLER and above, the product Get and List requests show hasOpenCampaign on rateplans: true when a campaign that affects the rateplan is enrolling right now.