Skip to main content
String!
required
The code customers enter at checkout. For DYNAMIC, the prefix every unique code starts with: 3 to 20 uppercase letters, numbers, or hyphens.
When the code stops working.
STATIC (the default) is one shared code that anyone who has it can use. DYNAMIC gives each customer their own code when Redo sends it, such as in a Commerce Agent offer. With AFTER_DAYS expiration, each DYNAMIC code works once by default, for that many days after it is sent.
The commerce platform that should host this code.
How the discount reduces the order. Pass exactly one of amountOff, freeShipping, or buyXGetY.
When the code starts working. Null means as soon as it’s created. Not supported for unique-code discounts.
String!
required
The merchant-facing name of the discount.