Core GraphQL APIReferenceObjects
InventoryStock
type
InventoryStockFields
- fields
_id*ID!allowBackorder*Boolean!archivedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
available*Int!createdAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
lifecycleStatus*InventoryStockLifecycleStatus!Value in
ACTIVEARCHIVEDlowStockThreshold*Int!onHand*Int!productId*ID!reserved*Int!sku?Stringstatus*InventoryStockStatus!Value in
BACKORDERIN_STOCKLOW_STOCKNOT_TRACKEDOUT_OF_STOCKtenant*String!trackInventory*Boolean!updatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
variantKey?StringUsages
- Returned by
- MUTATION
inventory__adjustStockMUTATIONinventory__initializeStockMUTATIONinventory__receiveStock - Field of
InventoryStockGroup.variantsInventoryStocksWithPagination.nodes
type InventoryStock { _id: ID! allowBackorder: Boolean! archivedAt: DateTime available: Int! createdAt: DateTime lifecycleStatus: InventoryStockLifecycleStatus! lowStockThreshold: Int! onHand: Int! productId: ID! reserved: Int! sku: String status: InventoryStockStatus! tenant: String! trackInventory: Boolean! updatedAt: DateTime variantKey: String}