Applies the referral code to a user
The id of the user who is applying the referral code.
The referral code to apply.
The brand URL of the request. This is used to identify the brand.
YOUR_BRAND_URLAuth-Key is required to authenticate the request. If missing, the server will return 401 Unauthorized.
YOUR_AUTH_KEYThe request was successful.
The API result model with data.
This is the flag to indicate whether the API call is successful or not.
This is the HTTP status code. This is used to determine the status code to be returned to the client.
This is the message to be displayed to the user.
The referral code is invalid. Please enter a valid referral code.
The user is not authorized to access the requested resource. The request is missing the required Auth-Key header.
The user was not found in the system.
API call exceeded rate limit due to too many requests.
Last updated