Skip to main content

updateAccount

Mutation used to update a account given the account's ID and UpdateAccountInput.

Returns the updated account if successful and null if unsuccessful

Any omitted fields in UpdateAccountInput are not modified

updateAccount(
id: ID!
input: UpdateAccountInput!
): Account

Arguments

id (ID!)

ID of the account to be updated

input (UpdateAccountInput!)

Parameters used to update the account

Type

Account

Represents a account (a company)