Skip to main content
POST
/
cabinet
/
promo
/
claim
Claim Promo Offer
curl --request POST \
  --url http://localhost:8080/cabinet/promo/claim \
  --header 'Content-Type: application/json' \
  --data '
{
  "offer_id": 123
}
'
{
  "success": true,
  "message": "<string>",
  "discount_percent": 123,
  "expires_at": "2023-11-07T05:31:56Z"
}

Body

application/json

Request to claim an offer.

offer_id
integer
required

Response

Successful Response

Response after claiming offer.

success
boolean
required
message
string
required
discount_percent
integer | null
expires_at
string<date-time> | null