DiscountCreateCoupon Method |
Creates and saves new coupon for this discount.
NOTE: The uniqueness is not checked.
Namespace: CMS.EcommerceAssembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 9.0.0
Syntax public BaseInfo CreateCoupon(
string code,
int numberOfUses
)
Parameters
- code
- Type: SystemString
The code. - numberOfUses
- Type: SystemInt32
The number of uses.
Return Value
Type:
BaseInfoSee Also