/offer/{id}/reserve

Reserve a coupon for an offer matching ID, returns coupon's informations

Method :

POST

Headers :

Authorization: string

Params :

id string

cValue string : you can give a coupon value to get a discountedPrice to buy one.

*important : if you provide the cValue parameter, the coupon will be ordered to match the provided value.

Fields :

coupon coupon

Sample :

curl -X POST --header "Accept:application/json" \
'https://api.test.jackpot-io.com/v1/offer/<your-offer-id>/reserve?cValue=150' \
-k --header "Authorization: Bearer <your-sessionToken>"