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
Hi Matt,
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?
Hey Paul,
Sure thing. To redeem a discount code you want to use the order.Redeem(code) method
https://vendr.net/docs/core/1-0-0/reference/orders-and-order-lines/#redeem
Matt
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Discount Codes
Hi Matt,
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?
Hey Paul,
Sure thing. To redeem a discount code you want to use the order.Redeem(code) method
https://vendr.net/docs/core/1-0-0/reference/orders-and-order-lines/#redeem
Matt
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.