query {
BatchNumberStockLevel (id: 100012) {
id
on_hand
variant
batch_number
}
}
query {
BatchNumberStockLevels {
data {
id
on_hand
variant
batch_number
}
}
}
| id |
|---|
| Unique identifier of the Batch stock level |
| on_hand |
|---|
| On hand quantity for the batch |
| batch_number |
|---|
| Batch number informations |
You can create filters based on following fields
| variant_id |
|---|
Example: { "column": "VARIANT_ID", "operator": "EQ", "value": 100001 } |
| location_id |
|---|
Example: { "column": "LOCATION_ID", "operator": "EQ", "value": 100001 } |
| batch_number_id |
|---|
Example: { "column": "BATCH_NUMBER_ID", "operator": "EQ", "value": 100101 } |
| batch_number_label |
|---|
Example: { "column": "BATCH_NUMBER_LABEL", "operator": "EQ", "value": "lot abc" } |
You can sort data based on following fields : id, on_hand, variant_id, location_id, batch_number_id