I am developing API to use from mobile application. I am facing a problem, when applying voucher code with API POST method, is not working. Could you please suggest me?
1. Applying voucher code from url is not working.
http://[myDomain]/[pageName]?EcomOrderVoucherCode=[voucherCode]
2. Applying voucher code by creating dll is not working.
Order dwOrder = Order.GetOrderByID([cartId/orderId]);
dwOrder.VoucherCode = [voucherCode];
dwOrder.Save();
Best Regards
Developer forum
How to apply voucher code via API
Replies
You must be logged in to post in the forum