Skip to main content

deleteWarehouse

Deletes a warehouse. Delegates to WarehouseDeletionService which fixes up irrelevant stock and rejects deletion when relevant stock remains.

Required scopes​

The token needs the warehouses:write access scope.

deleteWarehouse(
id: ID!
): Boolean!

Arguments​

deleteWarehouse.id ● ID! non-null scalar​

ID of the warehouse to delete.

Type​

Boolean scalar​

The Boolean scalar type represents true or false.