Nanacast API: Using u_coupon_id vs. user defined coupon code

Article Details
URL: http://support.nanacast.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=76
Article ID: 76
Created On: 24 Mar 2010 02:59 PM

Answer

When you create a coupon code (let's say "offer123") the system creates a coupon record in the database and assigns it an internal coupon ID, like 12345. This ID is then used in the database to identify that coupon, and should be used whenever you are viewing or searching on that coupon within Nanacast. 

It is possible to have two coupons with the same coupon code (as long as it is for two different products/memberships), so the internal ID ensures that you are always identifying a specific coupon.


Keywords: API, coupon, coupons