Read and write CRM accounts and contacts, saved account views, and account/contact custom fields.
account(id: ID!): Account
| Argument | Type | Description |
|---|
id | ID! | Required. |
accounts(after: String, first: Int, search: String): AccountConnection
| Argument | Type | Description |
|---|
after | String | |
first | Int | |
search | String | |
accountViews: [AccountView!]
Saved account views (filters) for the organization.
contact(id: ID!): Contact
| Argument | Type | Description |
|---|
id | ID! | Required. |
contacts(accountId: ID, after: String, first: Int, search: String): ContactConnection
| Argument | Type | Description |
|---|
accountId | ID | |
after | String | |
first | Int | |
search | String | |
customFields(entity: CustomFieldEntity!): [CustomField!]
| Argument | Type | Description |
|---|
entity | CustomFieldEntity! | Required. |
createAccount(input: CreateAccountInput!): AccountResult
| Argument | Type | Description |
|---|
input | CreateAccountInput! | Required. |
createAccountView(input: CreateAccountViewInput!): AccountViewResult
Create a saved account view (filter). The org's first view is auto-starred.
| Argument | Type | Description |
|---|
input | CreateAccountViewInput! | Required. |
createContact(input: CreateContactInput!): ContactResult
| Argument | Type | Description |
|---|
input | CreateContactInput! | Required. |
createCustomField(input: CreateCustomFieldInput!): CustomFieldResult
| Argument | Type | Description |
|---|
input | CreateCustomFieldInput! | Required. |
deleteAccount(id: ID!): DeleteAccountResult
Hard-delete a CRM account. Contacts keep existing; issues are not touched.
| Argument | Type | Description |
|---|
id | ID! | Required. |
deleteAccountView(id: ID!): DeleteAccountViewResult
Delete a saved account view.
| Argument | Type | Description |
|---|
id | ID! | Required. |
deleteContact(id: ID!): DeleteContactResult
Hard-delete a CRM contact.
| Argument | Type | Description |
|---|
id | ID! | Required. |
deleteCustomField(input: DeleteCustomFieldInput!): DeleteCustomFieldResult
| Argument | Type | Description |
|---|
input | DeleteCustomFieldInput! | Required. |
updateAccount(input: UpdateAccountInput!): AccountResult
| Argument | Type | Description |
|---|
input | UpdateAccountInput! | Required. |
updateAccountView(input: UpdateAccountViewInput!): AccountViewResult
Rename, reconfigure, or star/unstar a saved account view.
| Argument | Type | Description |
|---|
input | UpdateAccountViewInput! | Required. |
updateContact(input: UpdateContactInput!): ContactResult
| Argument | Type | Description |
|---|
input | UpdateContactInput! | Required. |
updateCustomField(input: UpdateCustomFieldInput!): CustomFieldResult
| Argument | Type | Description |
|---|
input | UpdateCustomFieldInput! | Required. |