Skip to main content
String
The code customers enter at checkout.
When the code stops working.
Must match the discount’s current group type.
Replace how the discount reduces the order. Pass exactly one of amountOff, freeShipping, or buyXGetY.
When the code starts working. Not supported for unique-code discounts.
String
The merchant-facing name of the discount.