CouponCodeInfoProvider GetCouponCodeUseCountInternal Method Kentico 8.0 API Reference
Gets info about how many coupons are available in specific discount and how many of them were already used. Returns dataset with one table containing CouponCodeDiscountID, Uses, UnlimitedCodeCount and Limit.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

discountIDs
Type: OnlineSystem.Collections.Generic IEnumerable OnlineInt32 
IDs of discounts to get coupon counts for. Use null for all relevant discounts.

Return Value

Type: OnlineDataSet
See Also