Skip to main content

API for Coupons

  • October 25, 2023
  • 3 replies
  • 106 views

PathanSana
Novice III

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

Bfarkas
Hero III
Forum|alt.badge.img+6
  • Hero III
  • November 3, 2023

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

 


Ian
Guide I
  • Guide I
  • November 3, 2023

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.

 


Bfarkas
Hero III
Forum|alt.badge.img+6
  • Hero III
  • November 3, 2023

yup that is what it is @Ian