Skip to Content
StoreOSv0.27.1
Storefront GraphQL APIReferenceObjects

Product

typeProduct

Fields

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

Product status

Value inPUBLISHEDDRAFT
type?ProductType

Product type

Value inPHYSICALVIRTUALDOWNLOADABLE
gallery?
downloadableFiles?
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?
isDemo?Boolean
tenant?String
commits?
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.

SDL
type Product {  _id: ID!  title: String!  handle: String  status: ProductStatus  type: ProductType  gallery: [ServerFileReference!]  downloadableFiles: [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!]  isDemo: Boolean  tenant: String  commits: [ResourceCommitHistoryReference!]  createdAt: DateTime  updatedAt: DateTime}