Skip to content

deleteInventoryStock

Served by: inventory

Name Type
input ClearVirtualStockInput!

RepositoryDeletePayload

Clears virtual stock for a repository, optionally scoped to a specific item. Use itemID to clear stock for one item only; omit it to clear all stock in the repository.

mutation DeleteInventoryStock($input: ClearVirtualStockInput!) {
deleteInventoryStock(input: $input) {
deletedID
}
}

Variables

{
"input": {
"repositoryID": "<repository ID>"
}
}