- In the Customer Engagement UI
- Via the API
- By XML file import
Create multichannel promotion
Your XML file can either contain the minimum of information or have a number of extra fields.See minimal XML
See minimal XML
See extended XML
See extended XML
Here is the complete XML model for creating a promotion.
The external ID of the promotion. It must be unique for a new promotion to be created. Max 450 characters.
If none is specified, then one channel of each type ECOM and POS will be created with value type
EXTERNALOFFER. Important: Redemption channels can only be configured when the promotion is first created via XML import. Subsequent imports updating the same promotion (matched by externalPromotionId) will NOT modify redemption channels.Valid values:
EXTERNALOFFER, PERCENT, MONEY, MANUAL. If the redemptionChannels element is omitted entirely, all channels default to EXTERNALOFFER.Assign promotion to contact
Adding a promotion code to a promotion will set the “published status” of the promotion to “true”.The external ID of the promotion code. Must be unique across all promotions (not just unique in the current promotion). Max 450 characters.
Overrides the promotion’s
validFromDate for this customer and coupon. Must be same or later than the promotion’s validFromDate. Example: 2022-02-21.Overrides the promotion’s
validToDate for this customer and coupon. Must be same or later than the promotion’s validToDate. Example: 2022-02-22.The code exposed to the customer. Adding a promotion code to a promotion will set the published status of the promotion to “true”.
Create and assign to specific contacts
In this example, the promotion is created and assigned in the same file.File handling after import
After the import job processes a file, you will get one of these results:- Successful import: The file is moved to an “Archive” subfolder within the import directory.
- Validation or import failure: The file is moved to an “Error” subfolder, along with a “.log” file containing error details and line numbers.
- File sharing violation or SQL timeout: The file remains in the import folder and will be retried on the next job run.