Skip to main content

deleteUOMConversion

Requires permission products:product:update.

Delete a conversion together with its reverse conversion (a soft delete). Needs the products update permission.

Errors: a failed call returns a GraphQL errors entry, not a field on the result, and data may be null or partial. Read the entry's extensions.code and message; every shape and code is in the Error reference.

Example:

mutation DeleteUOMConversion($id: String!) {
deleteUOMConversion(id: $id)
}

Variables:

{
"id": "string"
}

Response:

{
"data": {
"deleteUOMConversion": true
}
}
deleteUOMConversion(
id: String!
): Boolean!

Arguments​

deleteUOMConversion.id ● String! non-null scalar​

The ID of the conversion to delete.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.