Skip to Content
StoreOSv0.27.1
Core GraphQL APIReferenceObjects

InventoryStock

typeInventoryStock

Fields

  1. fields
_id*ID!
allowBackorder*Boolean!
archivedAt?DateTime

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

available*Int!
createdAt?DateTime

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

lifecycleStatus*InventoryStockLifecycleStatus!
Value inACTIVEARCHIVED
lowStockThreshold*Int!
onHand*Int!
productId*ID!
reserved*Int!
sku?String
status*InventoryStockStatus!
Value inBACKORDERIN_STOCKLOW_STOCKNOT_TRACKEDOUT_OF_STOCK
tenant*String!
trackInventory*Boolean!
updatedAt?DateTime

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

variantKey?String

Usages

SDL
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}