Migrated from Redmine #529 | Author: Jeffrey van Hal
Status: Feedback | Priority: Normal | Created: 2020-05-10
I can’t find how I can extract if a booking is done via a promotion code and what code is used.
Both in getBookingDetails() and the more general getBookings() are not providing any information.
Dmytro Bondarev wrote:
Hi! Sorry for delay.
They promotion codes are applied to payment, not to booking.
Currently we do not have such methods in API.
Jeffrey van Hal wrote:
I really need to download used codes and link them somehow to bookings as codes will give “gimmicks”. Think about the discount code “FREEBEER”, then the staff will know that the user will get a free beer at the end of his event
I know the invoice number from a booking, can I somehow extract the invoice then via API? In my tool I can link them together. based on the incoice# . If that will cost me another api-call that is fine.
In have also found a bug in the basic-invoice-information from te getBookingDetails() and getBookings() for the field payed_amount. But I will create another thread for that.
Redmine Admin wrote:
Unfortunately there is no support of this in API and we do not have plans to add it in near future.