Skip to Content
StoreOSv0.27.1
Storefront GraphQL APIReferenceObjects

InventoryStock

typeInventoryStock

Fields

  1. fields
_id*ID!
tenant*String!
lifecycleStatus*InventoryStockLifecycleStatus!
Value inACTIVEARCHIVED
archivedAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

productId*ID!
variantKey?String
sku?String
onHand*Int!
reserved*Int!
lowStockThreshold*Int!
trackInventory*Boolean!
allowBackorder*Boolean!
available*Int!
status*InventoryStockStatus!
Value inIN_STOCKLOW_STOCKOUT_OF_STOCKNOT_TRACKEDBACKORDER
createdAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

updatedAt?DateTime

A date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.

Usages

Field of
InventoryStockGroup.variants
SDL
type InventoryStock {  _id: ID!  tenant: String!  lifecycleStatus: InventoryStockLifecycleStatus!  archivedAt: DateTime  productId: ID!  variantKey: String  sku: String  onHand: Int!  reserved: Int!  lowStockThreshold: Int!  trackInventory: Boolean!  allowBackorder: Boolean!  available: Int!  status: InventoryStockStatus!  createdAt: DateTime  updatedAt: DateTime}