API for Coupons

  • 25 October 2023
  • 3 replies
  • 56 views

Userlevel 1

I was wondering if you can guide me on the coupon functionality. We have a Partner Program coming up and need guidance on the same as this involves almost 25K Partners.

I would like to basically create two batches of single use coupons (250 each) for 5-6 different paid courses in Docebo. I see this possibility via API but it asks me details on usernames.
Unfortunately these need to be random codes that any user could use as a one time purchase.

Any used cased scenarios or sample body would be more than appreciated! :)
 


3 replies

Userlevel 7
Badge +3

Seems a duplicate of this post for yours. Just connecting in case folks come looking in the future:

 

Userlevel 4
Badge +1

I have no actual experience with the E-Commerce app, but looking at the Body Schema, I’m wondering if it simply wants your User ID. It mentions the user who creates the coupon, not a user to whom it is reserved or assigned.

 

Userlevel 7
Badge +3

yup that is what it is @Ian 

Reply