AddOffer
Represents an offer that the platform would like the POS integration to apply to a transaction as a part of an API response.
- amountType: string
The amount of discount to apply.
- authType: string
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.
- credentialType: string
_identifier The credential that this offer belongs to.
- nameType: string
The name of the offer being applied. This can be shown on receipts or customer-facing check views.
- posType: string
_offer _code 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.
- posType: string
_offer _code _type The POS-specific discount type to use. Values are POS-specific.
- qualifyingType: array object[] ยท QualifyingItem[]
_items 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.
Represents an item that is discounted by or is required for a discount.
- entryType: string
_id The unique
entry_idof this item on the transaction. - lineType: string
_number The
line_numberof this item on the transaction. - qualificationenum
_type An enum representing the type of qualification. "1" signifies the referenced item is being redeemed/discounted. "2" signifies that the referenced item is required for the discount, but is not itself being discounted.
values- 1
- 2
- quantityType: string
The quantity of offers to apply.
- sparkflyType: string
_auth _code The Sparkfly authorization code associated with the offer. This should be stored locally by the POS and sent in future requests referencing the offer.
- tipType: string
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.