Create referral code
This endpoint allows you to create a referral code
POST
This endpoint allows you to create a referral code
Loading code example
Loading code example
Authorizations
apiKeyAuthstringheaderrequired
API key passed in the header.
Body
Body
websiteIdstring<uuid>organizationIdstring<uuid>userIdstring<uuid>loyaltyRuleIdstring<uuid>requiredcustomReferralCodestringLength:
>= 1, <= 8Pattern:
^[a-zA-Z0-9]+$Response
application/json
200
idstringrequiredwebsiteIdstringrequiredorganizationIdstringrequiredreferralCodestringrequiredcreatedAtstring<date-time>requiredupdatedAtstring<date-time>requireddeletedAtstring<date-time>requireduserIdstringrequired