You are here: Ektron Namespace > .NET Assemblies > eCommerce > Classes > CouponApi Class > CouponApi Methods > AddCouponToProduct
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
CouponApi.AddCouponToProduct Method

Applys a coupon to a product.

C#
public void AddCouponToProduct(long couponId, long productId, bool includeProduct);
Visual Basic
Public Function AddCouponToProduct(couponId As long, productId As long, includeProduct As bool) As void
Parameters 
Description 
couponId 
Id of coupon to apply. 
productId 
Id of product to apply coupon to. 
includeProduct 
if true, include product in coupon application. Else excludes product from coupon. 
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!