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 have a request from a customer to generate a new one use campaign code to anyone who signs up to their newsletter. Is there a way to do this? I couldn't find anything in the docs.
Use the TeaCommerce.Api.Marketing.Services namespace
or you can create your own
new DiscountCode( ruleId, code).Save()
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted