Create a terminal offer
Create a terminal offer.
Authorizations
API Key authentication. Use "Bearer YOUR_API_KEY".
Body
The ID of the location the offer applies to.
1A name for the offer.
1The type of the offer.
complimentary_item, discount Details about the complimentary item offered. Required when type is complimentary_item.
Details about the discount offered. Required when type is discount.
The date and time at which the offer expires.
The maximum number of times the offer can be redeemed.
A trigger that automatically grants the offer when an event occurs.
The terms of service that apply to the offer.
Response
Create a terminal offer
Unique identifier for the object.
Time at which the object was created. Measured in seconds since the Unix epoch.
terminal.offer Details about the complimentary item offered. Required when type is complimentary_item.
Details about the discount offered. Required when type is discount.
The date and time at which the offer expires.
The location the offer applies to.
The maximum number of times the offer can be redeemed.
A name for the offer.
1The status of the offer.
active, inactive, expired The terms of service that apply to the offer.
A trigger that automatically grants the offer when an event occurs.
The type of the offer.
complimentary_item, discount The account that the object belongs to. Only returned if the request is made with a valid Yorlet-Context header.
Only returned if the object has been deleted.