Discount applied manually when entering a coupon code at checkout.
Fields
- format:
uuidThe unique identifier of the coupon discount.
Example:
"075b0b5c-a1f4-46da-9aca-92fb6dd5905d" - maxLength:
100The coupon code.
Example:
"FREE_COFFEE" - maxLength:
100The name of the coupon discount.
Example:
"Free coffee" - Options:
"MANUAL""AUTOMATIC"Method of applying the discount to the items or cart.
Example:
"MANUAL" - maxLength:
250The description of the coupon discount.
Example:
"Free coffee with this coupon." - Options:
"ITEM""CATEGORY""BUNDLE""BUY_X_GET_Y""MEAL_DEAL"The method used to target items to discount. Must be populated for ITEM level discounts, and must be null for CART level discounts (CART level targets all items, therefore none of these categories apply).
Example:
"ITEM"