Click or drag to resize
CouponCodeInfoProviderGetCouponCodeUseCount Method (IEnumerableInt32)
Gets info about how many coupons are available in specific discount and how many of them were already used. Returns ObjectQuery with one table containing CouponCodeDiscountID, Uses, UnlimitedCodeCount and Limit.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 12.0.0
Syntax
C#
public static ObjectQuery GetCouponCodeUseCount(
	IEnumerable<int> discountIDs
)

Parameters

discountIDs
Type: System.Collections.GenericIEnumerableInt32
IDs of discounts to get coupon counts for. Use null for all relevant discounts.

Return Value

Type: ObjectQuery
See Also