Validate Referral Id
GET/affiliate-manager/affiliate-campaign/referral-id/validate
Check whether a referral id is available within a location.
Request
Version stringrequired
API Version
Available options
v4referralId stringrequired
Referral id to check, as it would appear in a referral link
Possible values: >= 3 characters and <= 64 characters, Value must match regular expression ^[A-Za-z0-9_]{3,64}$
locationId stringrequired
Location Id
Successful response
- application/json
- Schema
- Example (auto)
Schema
availablebooleanrequired
Whether the referral id is free to use in this location
{
"available": true
}