---
title: "The Mutation Type"
description: "Root Mutation type defines operations on company and system tables, enabling create, update, delete, and asynchronous queries."
lang: en
languages:
  en: https://docs.vismasoftware.no/businessnxtapi/apireference/schema/mutations/mutation/index.md
lastmod: 2026-07-10
---

> Documentation index: https://docs.vismasoftware.no/businessnxtapi/apireference/schema/mutations/llms.txt


# The Mutation Type

Last modified July 10, 2026

> Root Mutation type defines operations on company and system tables, enabling create, update, delete, and asynchronous queries.


The `Mutation` type is the root of all types that define table objects used in these operations, in the same way the `Query` type was the root for all types used in reading operations. In fact, `Mutation` and `Query` are very similar, as `Mutation` contains the following fields:

| Field | Description |
| ----- | ----------- |
| `useCompany` | Provides access to operations on the company tables. |
| `useCustomer` | Provides access to operations on the system tables. |
| `asyncQuery` | A field for executing another GraphQL query asynchronously. See [Async queries](https://docs.vismasoftware.no/businessnxtapi/apireference/schema/async/index.md). |

![The mutation type](https://docs.vismasoftware.no/businessnxtapi/apireference/schema/mutations/schema14.png)

The type of the `useCompany` field is `Mutation_UseCompany`. This type contains a field for each of the create, update, and delete operation for every company table.

Similarly, the type of the `useCustomer` field is `Mutation_UseCustomer`. This type contains a field for each of the create, update, and delete operation for every system table.

You can see the two types, `Mutation_UseCustomer` and `Mutation_UseCompany`, side-by-side in the following table:

| System table | Company table |
| ----------- | --- |
| ![System table](https://docs.vismasoftware.no/businessnxtapi/apireference/schema/mutations/schema5.png) | ![Company table](https://docs.vismasoftware.no/businessnxtapi/apireference/schema/mutations/schema6.png) |


---

[View this page](https://docs.vismasoftware.no/businessnxtapi/apireference/schema/mutations/mutation/)
