Skip to main content

removeUOMImage

Requires permission products:product:update.

Remove a unit's icon image and delete the stored file. 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 RemoveUOMImage($uomId: String!) {
removeUOMImage(uomId: $uomId)
}

Variables:

{
"uomId": "string"
}

Response:

{
"data": {
"removeUOMImage": true
}
}
removeUOMImage(
uomId: String!
): Boolean!

Arguments​

removeUOMImage.uomId ● String! non-null scalar​

The ID of the unit of measure.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.