AddOffer

Represents an offer that the platform would like the POS integration to apply to a transaction as a part of an API response.

  • The amount of discount to apply.

  • An authorization code, as required by some POS systems to apply the discount. Usually in the case of a tender-based discount or stored-value card.

  • The credential that this offer belongs to.

  • The name of the offer being applied. This can be shown on receipts or customer-facing check views.

  • The POS-specific discount code to use. For instance, this may be the value of the unique ID of an open discount in the destination POS.

  • The POS-specific discount type to use. Values are POS-specific.

  • An array of qualifying items linked with the offer. The POS should use this field to apply the discount to specific items, and should send this information when including offers in requests.

    Properties: 3
  • The quantity of offers to apply.

  • The Sparkfly authorization code associated with the offer. This should be stored locally by the POS and sent in future requests referencing the offer.

  • The amount that should be applied as a tip, in addition to amount, in the case where the discount type allows for tips, such as with tenders.