Admin Marketing: Promotions

Export cart rule coupons as csv, xls or xlsx

Changed on

Downloads the coupons datagrid shown on the cart rule edit screen — ID, Coupon Code, Times Used, Created Date, Expiration Date — for this cart rule only. Binary download, not JSON. Requires marketing.promotions.cart_rules.

get/marketing/cart-rules/{cartRuleId}/coupons/export

Request

Path parameters

cartRuleIdinteger required

Parent cart rule ID

Query parameters

format'csv' | 'xls' | 'xlsx'

Export format: csv, xls or xlsx. Defaults to csv.

Response

Export file downloaded as an attachment.

Changes