Skip to main content

createAccount

Create a new account

createAccount(
alternateUserId: Int
alternateUserVisitIntervalWeeks: Int
cellphone: String
deliveryAddress: AddressInput
email: String
externalKey: String
info: String
invoiceAddress: AddressInput
name: String!
number: String
phone: String
postalAddress: AddressInput
tags: [ID!]
typeId: Int!
url: String
userId: Int!
userVisitIntervalWeeks: Int
vatNo: String
visitingAddress: AddressInput
): Account

Arguments

createAccount.alternateUserId ● Int scalar

User id of the alternate user

createAccount.alternateUserVisitIntervalWeeks ● Int scalar

createAccount.cellphone ● String scalar

Cellphone

createAccount.deliveryAddress ● AddressInput input

Delivery address of the account

createAccount.email ● String scalar

Email

createAccount.externalKey ● String scalar

createAccount.info ● String scalar

Info is a general info text about the account

createAccount.invoiceAddress ● AddressInput input

Invoice address of the account

createAccount.name ● String! non-null scalar

Name

createAccount.number ● String scalar

Account/customer number

createAccount.phone ● String scalar

Phone

createAccount.postalAddress ● AddressInput input

Postal address of the account

createAccount.tags ● [ID!] list scalar

createAccount.typeId ● Int! non-null scalar

Account type id, see Query.accountTypes

createAccount.url ● String scalar

URL to website or similar for the account

createAccount.userId ● Int! non-null scalar

User id of the responsible user

createAccount.userVisitIntervalWeeks ● Int scalar

createAccount.vatNo ● String scalar

Vat number

createAccount.visitingAddress ● AddressInput input

Visiting address of the account

Type

Account object