StockCountAddLocationsInput
Input fields
stockCountIds[ID!]stockLocationIds[ID!]stockLocationTypeIds[ID!]zoneStockLocationIds[ID!]excludeOpenCountsBooleanDefault: trueExclude locations assigned to another open count. Existing assignments in this count are always excluded.
deviatingFromStockCountIdIDSelect locations with a non-zero quantity difference in this completed stock count.
excludedOrganizationIds[ID!]excludedProductIds[ID!]modeStockCountSelectionModeDefault: LOCATION_TOTALControls matching only. Every selected location is counted in full.
INDIVIDUAL_STOCKLOCATION_TOTALnotCountedSinceDateTimeTzSelect locations that have not been counted at or after this timestamp.
organizationIds[ID!]Select locations containing stock for at least one of these organizations.
pickableBooleanFilter locations by pickability. Omit or pass null to include both.
productIds[ID!]quantityMaxIntInclusive maximum quantity, measured across the location or on the matching stock record.
quantityMinIntInclusive minimum quantity, measured across the location or on the matching stock record.
stockLocationTypeIds[ID!]Select locations with one of these stock location types.
zoneStockLocationIds[ID!]Select these zones and all of their descendant locations.
limitIntMaximum locations to add, after exclusions. Omit to add all eligible locations.
priorityStockCountSelectionPriorityDefault: OLDEST_COUNTEDDetermines which locations fit within the limit; never changes task ordering.
OLDEST_COUNTEDRANDOMrandomSeedStringStable seed required for random selection when a limit is provided.
stockLocationCodes[String!]Warehouse stock location codes to add. Locations already assigned are ignored.
stockLocationIds[ID!]Warehouse stock location IDs to add. Locations already assigned are ignored.