Coupons Import/Export for Promotions
Coupons (not individual coupon codes)
The following are the ways that you can import/export coupon data:
- Definitions : You can import and export coupon definitions.
- Import : You can import coupon codes generated by external tools
- Export : You can export issued and redeemed codes, independent from the actual coupon definition export mentioned previously.
Use coupon.xsd to define the import/export file for your coupon codes.
- The
<RedemptionLimits><limit-per-code>
element is a required field, but this can't be declared due to update modes. If the element isn't specified for new coupons, the system sets the limit to one and logs a warning - The
<CouponCodes>
element supports incremental updates to the set of existing (fixed, multi-code) coupons. This functionality is useful in cases where coupon codes are provided in chunks by external systems and need to be imported into Salesforce B2C Commerce (for example, 1000 new codes per month).