post
/projects/{project_id}/coupons/{code}/redeem
Redeem a coupon by its code.
Note
This API method can't be used under high load. When the number of requests is high, rate limits may apply. Contact your Account Manager to find out the rate limits for this API method.
This API method can't be used under high load. When the number of requests is high, rate limits may apply. Contact your Account Manager to find out the rate limits for this API method.
Deprecated
Avoid using this API operation if possible. It will be removed in a future version.
Authorization
basic
Request Parameters
2 Path Parameters
Request Body
Schema
user_id
string
User ID.
1 validation + required
Responses
OK
1 Example
Schema
campaign_code
string
coupon_code
string
coupon_id
integer
expiration_date
string
is_active
boolean
project_id
integer
redeems_count_for_user
integer
redeems_count_remain
integer
subscription_coupon
string
virtual_currency_amount
integer
virtual_items
array[string]
Send a Test Request
POST
Send requests directly from the browser (CORS must be enabled)
Path Params
2 path params not set
project_id
code
$$.env
2 variables not set
username
password