DiscountSourceOffer

Discount applied automatically when cart is updated based on preset promotions.

Fields

  • idstringrequired
    format: uuid

    The unique identifier of the offer discount.

    Example: "075b0b5c-a1f4-46da-9aca-92fb6dd5905d"

  • namestringrequired
    maxLength: 100

    The name of the offer discount.

    Example: "Breakfast combo deal"

  • application_modestringrequired
    Options:"MANUAL""AUTOMATIC"

    Method of applying the discount to the items or cart.

    Example: "MANUAL"

  • descriptionstringnullable
    maxLength: 250

    The description of the offer discount.

    Example: "Buy a Croissant, get a coffee for £1"

  • discount_classstringnullable
    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"

Type to search…