Storefront GraphQL APIReferenceObjects
InventoryStock
type
InventoryStockFields
- fields
_id*ID!tenant*String!lifecycleStatus*InventoryStockLifecycleStatus!Value in
ACTIVEARCHIVEDarchivedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
productId*ID!variantKey?Stringsku?StringonHand*Int!reserved*Int!lowStockThreshold*Int!trackInventory*Boolean!allowBackorder*Boolean!available*Int!status*InventoryStockStatus!Value in
IN_STOCKLOW_STOCKOUT_OF_STOCKNOT_TRACKEDBACKORDERcreatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
updatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
Usages
- Field of
InventoryStockGroup.variants
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}