CreateStockCount
CreateStockCountCreates a new stock count / physical inventory.
Parameters:
| Parameter | Type | Description |
|---|---|---|
input | StockCountCreateInput! | Initialization data. |
Example Query:
mutation CreateStockCount($input: StockCountCreateInput!) {
CreateStockCount(input: $input) {
id
label
status
location { id }
}
}UpdateStockCount
UpdateStockCountUpdates an existing stock count.
Parameters:
| Parameter | Type | Description |
|---|---|---|
id | Int! | ID of the specified stock count. |
input | StockCountUpdateInput! | Updated data. |
StockCountScanBarcode
StockCountScanBarcodeAdd a line item or increment quantity by scanning a barcode in an active stock count. Returns updated line items.
Parameters:
StockCountSetQuantity
StockCountSetQuantityDirectly update the counted quantity of an item within a stock count. Returns the updated line item.
Parameters:
GenerateStockCountNumber
GenerateStockCountNumberGenerates the next available stock count label.
Input Data Types
StockCountCreateInput
StockCountCreateInput| Field | Type | Description |
|---|---|---|
location | LocationInput! | Location to count stock in (Required). |
label | String | Label. |
dated_at | Date | Document date. |
notes | String | Notes. |
bin_location_filter | String | Optional string to filter bin locations during count. |
StockCountUpdateInput
StockCountUpdateInput| Field | Type | Description |
|---|---|---|
label | String | Label. |
dated_at | Date | Document date. |
notes | String | Notes. |
status | StockCountStatus | Status. |
Enums
StockCountStatus
StockCountStatus| Value | Description |
|---|---|
in_progress | Count is currently in progress. |
stock_update_in_progress | Stock is being updated based on the count. |
completed | Stock update finished and count is completed. |
cancelled | Document voided. |
