Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I’m trying to work out how to add discount codes to an order (using the API).
Automatic discounts are being calculated correctly, but I can’t find any method to add a code or discount to an order. Could you point me in the right direction please?
Sure thing. To redeem a discount code you want to use the order.Redeem(code) method
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted