Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

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>"
}
}