Gets Offer Details
Gets the offer object that has the ID attribute with the specified value. This route allows you to get the details of a specific offer, from the perspective of a generic consumer. If the consumer hasn’t access to the offer (because the offer is deactivated or doesn’t exist or is not generic i.e. is targeted), the response will be a 404 Error.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The id you used to create the given consumer
Unique ID of the offer on PayLead system.
Response
OK
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
Name of the object
Unique reference of the offer. Human readable, made out from the concatenation of the brand name + creation date + increment.
"MYBRAND-20180220-001"
Enum in: CASHBACK, UNIQUE_COUPON, GENERIC_COUPON
VOUCHER "CASHBACK"
Offer availability: ONLINE if the offer is online only. OFFLINE if the offer is offline only. BOTH if the offer is online and offline
BOTH, ONLINE, OFFLINE 7"ONLINE"
URL to reach the offer if the offer channel is ONLINE or BOTH
"https://www.mybrand.fr"
description
Date (ex. 2017-12-26T23:00:00+00:00): End date of the offer.
"2018-12-21T00:00:00+00:00"
Enum in: HIGHEST, HIGH, NORMAL. For a contextual display (banner, carousel etc...), this value is set by the program manager on each offer
HIGHEST, HIGH, NORMAL 7"HIGH"
Unique ID of the object.
"e2c32b4b-de61-459b-accf-a75f76247946"
TRUE if the offer is liked by consumer, FALSE if not
true
Legal terms
Represents the best absolute ratio between the price and value of the different vouchers
Maximum value of the vouchers
Minimum value of the vouchers
- Option 1
- Option 2
A list of suggested vouchers, including both their price and their value. Only provided on GET queries when "?include=proposed_vouchers" is included in the request.
Date (ex. 2017-12-26T23:00:00+00:00): Start date of the offer.
"2018-12-21T00:00:00+00:00"
BONUS: The voucher value is higher or equal than the provided voucher price. DISCOUNT: The voucher price is lower or equal than the provided voucher value