Skip to Content
StoreOSv0.27.1
Storefront GraphQL APIReferenceObjects

StorefrontProduct

typeStorefrontProduct

Fields

  1. fields
_id*ID!
title*String!
handle?String
status?ProductStatus

Product status

Value inPUBLISHEDDRAFT
type?ProductType

Product type

Value inPHYSICALVIRTUALDOWNLOADABLE
gallery?
thumbnail?
shortDescription?String
longDescription?String
informationSections?
technicalSpecs?
price?Float
buyingPrice?Float
comparingPrice?Float
isInStock?Boolean
trackInventory?Boolean
lowStockThreshold?Float
allowBackorder?Boolean
variants?
variantConfigs?
collections?
vendors?
tenant?String
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

Returned by
QUERYproductByHandleQUERYproductById
SDL
type StorefrontProduct {  _id: ID!  title: String!  handle: String  status: ProductStatus  type: ProductType  gallery: [ServerFileReference!]  thumbnail: ServerFileReference  shortDescription: String  longDescription: String  informationSections: [ProductInformationSection!]  technicalSpecs: [TechnicalSpecificationSection!]  price: Float  buyingPrice: Float  comparingPrice: Float  isInStock: Boolean  trackInventory: Boolean  lowStockThreshold: Float  allowBackorder: Boolean  variants: [ProductVariantReference!]  variantConfigs: [ProductVariantConfigReference!]  collections: [Collection!]  vendors: [VendorReference!]  tenant: String  createdAt: DateTime  updatedAt: DateTime}