Claim Actions
Claim Code
Claims a code for a user. Code can be affiliate, promo or referral code.
post/users/{app_user_id}/claim-code
Path parameters
app_user_idstring required
The app user id of the user to claim the code for.
Headers
x-api-keystring required
The API key to authenticate with.
Request body
Example request
{
"code": "XYZ123"
}Response
Updated user and granted rewards.
Changes
Changed in 1 of the 3 revisions of this API.1
- ○
added the required property
data/user/allOf[User]/affiliateto the response with the200statusresponse-required-property-added
- ○