deleteInventoryStock
Served by: inventory
Arguments
Section titled “Arguments”| Name | Type |
|---|---|
input |
ClearVirtualStockInput! |
Returns
Section titled “Returns”Example
Section titled “Example”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>" }}