Coupons and Coupon Code Object Import/Export

Coupons are imported as XML and exported as comma-separated value (CSV) files. Use the coupon.xsd schema file to import merchant-generated coupons.

Coupon codes with leading or trailing spaces are trimmed during export and a warning message is logged.

Business Manager Import Location

> Online Marketing > Import & Export

Coupon Import

Coupon import and the Business Manager coupon user interface have the same validation restrictions, as follows:

They don't allow:

  • Negative numbers for limit-per-code, limit-per-customer, limit-per-time-frame>limit or limit-per-time-frame>time-frame; and for max-number-of-codes of system-generated coupon codes.
  • Limit-per-time-frame>time-frame to be greater than 999.
  • Changing the type of a coupon (except for in REPLACE mode).
  • Creating a system-code coupon without a maximum number of codes.

They allow:

  • Removal of the prefix for system-generated coupon codes when it's set to an empty string.
  • Updating of system-generated code settings, as long as the coupon has not been redeemed or issued.
  • Updating of single-code coupons, even if the unchanged code is in the xml file.

Pipelets

ImportCoupons

ExportCouponCodes

ExportCoupons

Granularity: passed coupons.