Migrated from Redmine #1137 | Author: Thomas Luzat
Status: New | Priority: Normal | Created: 2024-01-02
Is it possible to apply multiple promo codes using apply-promo-code or applyPromoCode? If so, are there any limits? Is it possible to apply multiple gift cards and multiple coupons at the same time?
We need to be able to use gift cards and discount coupons in the same order.
Also, is there a way to “unapply” a coupon/gift card from an order?
The whole flow is somewhat problematic: We are creating orders and applying a code, which may fail, even if we checked the code before (e.g. because of a race condition). If the code doesn’t work, we need to cancel an order. It would be nice if orders could just be created with the coupons already applied. Is it possible to use the “book” method to pass in a code/multiple codes instead of having to call apply-promo-code afterwards?
Thank you!