Storefront GraphQL APIReferenceObjects
StorefrontProduct
type
StorefrontProductFields
- fields
_id*ID!title*String!handle?Stringstatus?ProductStatusProduct status
Value in
PUBLISHEDDRAFTtype?ProductTypeProduct type
Value in
PHYSICALVIRTUALDOWNLOADABLEgallery?thumbnail?shortDescription?StringlongDescription?StringinformationSections?technicalSpecs?price?FloatbuyingPrice?FloatcomparingPrice?FloatisInStock?BooleantrackInventory?BooleanlowStockThreshold?FloatallowBackorder?Booleanvariants?variantConfigs?collections?vendors?tenant?StringcreatedAt?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
- Returned by
- QUERY
productByHandleQUERYproductById - Field of
ProductsWithPagination.nodes
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}