Coupon Redemptions Import/Export

Coupon redemptions can appear in order exports.

The following XML sample shows an order export that includes coupon code redemption data. Coupon redemptions are also visible by selecting site > Merchant Tools > Online Marketing > Coupons > View Redemptions.

You can import/export coupon redemptions in the XML format, or one code at a time in the CSV format. However, importing coupon redemptions should only be done in rare cases. When exporting coupon redemptions from one instance and importing them into into another, all appropriate coupon and order information must have been previously imported, or the behavior might not be as expected.

Note: This schema is presented only to illustrate its functions and might change at any time.
<?xml version="1.0" encoding="UTF-8"?><orders xmlns="http://www.demandware.com/xml/impex/order/2006-10-31">
	<order order-no="00000004">
		<order-date>2008-10-07T17:07:50.585Z</order-date>
		. . .
		<product-lineitems>
			<product-lineitem>
				<net-price>449.00</net-price>
				<tax>17.96</tax>
				<gross-price>466.96</gross-price>
				<base-price>449.00</base-price>
				. . .
				<price-adjustments>
					<price-adjustment>

Net price adjustment

						<net-price>-44.90</net-price>

Tax adjustment

						<tax>-1.80</tax>

Gross price adjustment

						<gross-price>-46.70</gross-price>

Base price adjustment

						<base-price>-44.90</base-price>

Coupon ID

						<lineitem-text>10PercentOff</lineitem-text>

Promotion ID

						<promotion-id>10PercentOff</promotion-id>

Campaign

						<campaign-id>Demo Campaign</campaign-id>

Coupon Number

						<coupon-id>a1</coupon-id>
					</price-adjustment>
				</price-adjustments>
			</product-lineitem>
		</product-lineitems>
		...
	</order>
</orders>