Returns a list of the possible offers for the given amount.
Supports 3 modes, as described here :
By default, if neither amount nor cValue is provided, the endpoint works in majoration mode, using the session amount.
amount string : in majoration mode, you can ask offers for an higher or equal amount from the one linked to user session.
cValue string : if provided, the endpoint works in minoration mode using this parameter as the coupon value. The amount returned is then the coupon price (coupon discounted amount).
Important : if you provide both parameters above, a new field called discountedAmount will appear in the provided offer object (so-called "mixed" mode)
Note that in minoration or mixed mode, you can choose whether the discounted amount should be rounded up to the upper euro or upper euro cent, by checking the matching option in the admin section.
Special case in mixed mode: if amount is equal to cValue, the discounted amount is set to -1 if a coupon amount and a discounted amount can both be calculated and if the discounted amount is equal to the input amount. Indeed, in this case, returning a discounted amount equal to the input amount would be useless for the final customer.
offers array of offer
curl -X GET --header "Accept:application/json" \ 'https://api.test.jackpot-io.com/v1/offers?amount=<your-custom-amount>' \ -k --header "Authorization: Bearer <your-sessionToken>"