Click or drag to resize
DiscountCreateCoupon Method
Creates and saves new coupon for this discount. NOTE: The uniqueness is not checked.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 10.0.0
Syntax
C#
public BaseInfo CreateCoupon(
	string code,
	int numberOfUses
)

Parameters

code
Type: SystemString
The code.
numberOfUses
Type: SystemInt32
The number of uses.

Return Value

Type: BaseInfo
See Also