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"
}Claim a 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"
}