[#406] Promo code

Migrated from Redmine #406 | Author: Vitor Albano
Status: New | Priority: High, I’m very impatient | Created: 2019-08-08


Hi, I’m having some difficulties to understand how Promo Code works.

I’ve already created a Coupon code but I don’t find how to apply the promo code to my Bookings via API. I noticed that it is mentioned at the Public book call as additional field but I didn’t understand how it works.
What is the flow to apply?
Should I need to apply it in a Cart?
Can I apply it in a book directly?
What API call should I use to work with these promo codes?

Redmine Admin wrote:

Hi, there is no API for Promo Codes.

Vitor Albano wrote:

What about available API calls like getPromocodeInfo, getPromotionRewardInfo, getPromotionInstanceList, getPromotionDetails. Doesn’t they work for it?

We need just to apply the promocode in a sell. To generate these codes we will use the admnistration panel.

Is there some perspective of when it will be implemented?
It is important for our marketing campaigns and partnerships.

Thanks in advance

Redmine Admin wrote:

Hi, there is no API for Promo Codes.

Redmine Admin wrote:

hi, this is for legacy promocode functionality implemented few years ago and not supported anymore.
We do not have plans to add gift card/promotions and other marketing things into new API because it makes it too heavy and complex.