Skip to main content

contactCreateAccount

Creates a user account for an existing contact, enabling system access and authentication.

Authentication Required: Customer authentication or user management roles Authorization: Contact editor or owner roles Error Codes: CONTACT_NOT_FOUND_ERROR, ACCOUNT_ALREADY_EXISTS_ERROR, VALIDATION_ERROR, UNAUTHORIZED_ERROR

AUTH: Role=[user.OWNER]

contactCreateAccount(
id: Int!
input: CreateAccountInput
): RegisterContactResponse!

Arguments

contactCreateAccount.id ● Int! non-null scalar

Contact unique identifier

contactCreateAccount.input ● CreateAccountInput input

Optional account creation parameters

Type

RegisterContactResponse object