Skip to content
Sage Distribution and Manufacturing Operations

Examples of GraphQL operations: Mutations

  Less than to read

Mutations allow you to perform standard create, update, delete operations, or to perform operations that depends on the node. All the rights are applied to know if a user can execute a mutation and all the consistency business rules as well. For example:

  • Trying to delete a sales order that has been shipped returns an error with the following message: Deletion is not allowed. The sales order has been shipped or is partially shipped.
  • If some bulk updates are performed on a list of records, the ones that cannot be updated remain unchanged without any warning.
  • If control fails but records are created or updated, an error related to control appears.