Skip to content
Pyck docs

deleteInventoryStock

Since pyck v0.27.0

Served by: inventory

Name Type Default Description
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>"
}
}