Remove a specification

A specification can be removed. You can only remove custom specifications that belong to your company. A specification can be removed even if it is referenced in an order. In this case it will be hidden in the online app and will not be shown when listing specifications, you can however still retrieve it individually if you still have the ID. If the specification is not in use by an order, this operation is irreversible and the specification will not be retrievable in any way anymore.

Arguments

  • idID!
    The ID of the specification to remove.

Result

If the removal was successful the ID will be returned as confirmation.
type Mutation {
    removeSpecification(id: ID!): ID!
}

EXAMPLE

mutation {
    removeSpecification(id: "S283")
}

RESULT

{
  "data": {
    "removeSpecification": "S283"
  }
}