Search guides, API overviews and endpoints by name, path or keyword.

Massive promotions

Apply or remove promotions on many subscriptions at once from a CSV file.

Admin Last updated

Apply or remove promotions on many subscriptions at once from a CSV file, and follow the result row by row. The operations are sent from your browser: keep the window open until the process ends.

Open Massive promotions in Admin →

ℹBefore you start
You do not need to select a tenant in the Admin header: each row of the file carries its own.

Prepare the CSV file

On the upload screen, Download the CSV template here downloads an empty template with these columns:

ColumnWhat it is
subscription_idThe subscription identifier.
subscription_campaign_idOptional. Only for removing: identifies which of the subscription’s promotions is removed when it has the same promotion more than once.
promotion_idThe promotion identifier in the catalogue.
dateDate in DD/MM/YYYY format, for example 01/12/2026. When applying it is the promotion’s start date; when removing, its end date.
tenantThe subscription’s tenant, for example masmovil. Upper or lower case does not matter.
Csv
subscription_id,subscription_campaign_id,promotion_id,date,tenant
suscripcion_1,,1001,01/12/2026,tenant_1
suscripcion_2,,1002,01/12/2026,tenant_1
  • The separator can be a comma (,) or a semicolon (;).
  • Upper or lower case in column names does not matter.
  • Empty rows are ignored.
  • The same file works for applying or removing: you choose the action after loading it.

Load the file

  1. In CSV file load, drag the file or press Click or drag here to upload a file. .csv files up to 10 MB are accepted.
  2. When “The file has been loaded successfully” appears, press Continue. A window with the file name opens.
Upload screen with the drop area and the template link

If the file has a problem, you see a red message under its name. Press Cancel, fix the file and load it again.

Apply or remove the promotions

  1. Choose Apply or Remove. The date column becomes Start date or End date, and the footer says, for example, “Going to apply the promotion on 6 elements”.
  2. Check the table. Records count: shows the total rows of the file.
  3. Press Start. Each row changes its status icon and the footer shows the progress and the Applied (or Removed) and Errors counts.
  4. When the footer shows the result, press Finish.
Window of a promotions file with Apply chosen, ready to start

The Promotions and Tenant filters only change the rows you see. Start processes every row of the file.

The process sends at most 60 rows per minute, so a 600-row file takes at least 10 minutes. Pause stops sending and Resume continues.

If every row succeeds, the footer shows “The promotion has been applied correctly to all elements” (or “…removed…”). If any fails, it shows “Some promotions have not been applied correctly” and each row’s reason is in the Error column.

Result of a process where every promotion was applied

The screenshots show the Admin interface in Spanish.

Download the error report

When you press Finish, or leave a process that has started, massive-promotions_errors.csv is downloaded with the rows that were not processed. If every row succeeded, nothing is downloaded.

The report has the columns of the original file and two more:

ColumnWhat it is
statusFAILED if the row failed, NOT_ATTEMPTED if it was never sent and IN_PROGRESS if it was being sent when you left.
errorThe row’s error message, if there was one.

Fix the rows and load the report as a new file: the added columns do not affect the load.

Leave before it ends

  1. Press Cancel or close the window. The process pauses and “Are you sure you want to exit the massive promotions process?” appears.
  2. Press Yes to leave. If the process had started, the error report is downloaded. Press No to carry on where you were.

Rows that were never sent are not processed.

When something is not as expected

You seeWhat it means and what to do
”Errors have been found in the column format. Please verify that the file header is…”A required column is missing: subscription_id, promotion_id, date or tenant.
”File must use commas (,) or semicolons (;) as separator…”The file uses another separator, such as tab or pipe. Save it again as a comma-separated CSV.
”The file is empty”The file has no rows with data.
”The file does not have a valid .csv format”The file cannot be read as CSV, or a row has neither a subscription nor a promotion.
Start is disabledYou have not chosen Apply or Remove.
”Subscription not found”The identifier does not match any subscription of that tenant. Check the identifier and the tenant.
”Promotion is already applied to this subscription”There is no need to apply it again. Remove the row.
”The promotion is incompatible with the promotions already applied to this subscription”The subscription has another promotion that does not allow this one. Remove the row or remove the other promotion first.
”The catalogue promotion is not compatible with the subscription”That promotion cannot be applied to that kind of subscription. Check the promotion_id.
”The provided activation date is invalid” or “The provided expiration date is invalid”Check the row’s date and its DD/MM/YYYY format.
”Subscription status does not allow the action requested”The subscription is not in a status that allows the action. Check the subscription and remove the row.
”The subscription is barred and does not allow the requested action”The subscription has a barring. Remove the row or wait until it is lifted.
”Promotion instance not found in the subscription for the provided promotion ID”When removing: the subscription does not have that promotion active. Check the promotion_id.
”Multiple promotion instances were found in the subscription for the same promotion ID”When removing: the subscription has that promotion more than once. Say which one in subscription_campaign_id.
”The provided subscription_campaign_id does not belong to the promotion_id of the row”When removing: the subscription_campaign_id is not from that promotion. Fix it or leave it empty.
”The promotion status does not allow removing it”When removing: the promotion is no longer active on the subscription.
”Your session has ended”Your Admin session expired. Log in again and load the error report.
”Forbidden tenant access”Your user cannot operate on the row’s tenant. Check the tenant column or ask for access to that tenant.
You do not see Massive promotions in the side menuYou do not have read permission for this section. Ask your administrator for it.

Reference

Table columns

ColumnWhat it is
Subscription IDThe subscription_id value, with its status icon.
Promotion IDThe promotion_id value.
Date, Start date or End dateThe date value. The name changes when you choose Apply or Remove.
TenantThe row’s tenant.
ActionWhat will be done or has been done: Apply, Applying, Applied (or Remove, Removing, Removed) or Error.
ErrorThe reason the row was not processed.

Row statuses

IconWhat it means
Orange clockNot sent yet.
Loading circleBeing sent.
Green tickPromotion applied or removed.
Red crossThe row failed. The reason is in the Error column.