createAccount
Mutation for creating an account.
Arguments
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-4111: Unable to use given email address.
- KT-CT-4123: Unauthorized.
- KT-CT-7899: An internal error occurred.
- KT-US-4101: Cannot create an account.
- KT-US-4116: Either salesSubchannel or salesAffiliateSubdomain is required.
- KT-US-4118: Invalid US state.
- KT-US-4417: Received an invalid state code/name.
- KT-US-4517: Invalid ESI ID.
- KT-US-4615: Received an invalid quote code.
- KT-US-4623: The provided quote has expired.
Allowed Viewers
Required Permissions
Can create accountsQuery Complexity
6Examples
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 CreateAccount($input: CreateAccountInput!) {
createAccount(input: $input) {
account {
...CreateAccountOutputFragment
}
}
}
Variables
{
"input": CreateAccountInput
}
Response
{
"data": {
"createAccount": {
"account": CreateAccountOutput
}
}
}