addSignupReferralOnAccount
Add a one-way signup reward to a referral.
Arguments
Input fields for creating a signup reward for an organization.
Returns
AddSignupReferralOnAccountCreate a referral scheme reward for an organization. This allows businesses to issue rewards based on a referral scheme.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-6710: Unable to create referral.
- KT-CT-6712: Invalid reference.
- KT-CT-6713: Referring and referred account brands do not match.
- KT-CT-6723: Unauthorized.
- KT-CT-6728: This referral scheme's usage is at capacity.
- KT-CT-6729: This scheme cannot be applied to given account.
- KT-CT-7899: An internal error occurred.
Allowed Viewers
Required Permissions
Can create referralsRate Limits
| Key | Steps |
|---|---|
user |
['5/m'] |
Query Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation AddSignupReferralOnAccount($input: AddSignupReferralOnAccountInput!) {
addSignupReferralOnAccount(input: $input) {
accountReferral {
...ReferralTypeFragment
}
}
}
Variables
{
"input": AddSignupReferralOnAccountInput
}
Response
{
"data": {
"addSignupReferralOnAccount": {
"accountReferral": ReferralType
}
}
}