INPUT_OBJECT

CreateAccountMutationInput

The input object that defines the fields for the createAccount mutation.

link GraphQL Schema definition

  • input CreateAccountMutationInput {
  • # The ID of the entity.
  • id: Int64Bit
  • # A descriptive name.
  • name: String!
  • # The ID of an AccountStatus.
  • account_status_id: Int64Bit!
  • # The ID of an AccountType.
  • account_type_id: Int64Bit!
  • # The ID of the serviceable address to use for this account.
  • serviceable_address_id: Int64Bit
  • # An address where this entity receives mail. If this is not set, the physical
  • # address will be used as the mailing address.
  • mailing_address: CreateAddressMutationInput
  • # The primary contact person.
  • primary_contact: CreatePrimaryContactMutationInput!
  • # A list of account group IDs that this account is part of.
  • account_group_ids: [Int64Bit]
  • # The ID of the company that this entity operates under.
  • company_id: Int64Bit!
  • # Data to insert into custom fields.
  • custom_field_data: [CustomFieldDataMutationInput]
  • # If IDs of `CustomField` objects that are associated with this entity are
  • # provided here, they will be unset and removed. You cannot unset data where the
  • # `CustomField` property `required` is set to `true`.
  • unset_custom_field_data: [Int64Bit]
  • # A note about this entity.
  • note: NoteMutationInput
  • # A list of file IDs to be associated with this object. These must first have been
  • # uploaded to the /files endpoint and must be currently unassociated.
  • files: [AssociateFileMutationInput]
  • # The task to be performed.
  • tasks: [TaskMutationInput]
  • }

link Require by