Product
Product
Properties
| Property | Type |
|---|---|
description | string |
descriptionHtml | string |
handle | string |
id | string |
onlineStoreUrl | string |
options | ProductOption[] |
productType | string |
publishedAt | string |
selectedVariant | ProductVariant |
seo | Seo |
title | string |
trackingParameter | string |
trackingParameters | string |
updatedAt | string |
variants | ProductVariantConnection |
vendor | string |
ProductVariant
Properties
| Property | Type |
|---|---|
availableForSale | boolean |
compareAtPrice? | Money |
id | string |
image? | Image |
images | Image[] |
price? | Money |
quantityPriceBreaks | QuantityPriceBreakConnection |
quantityRule | QuantityRule |
requiresShipping | boolean |
selectedOptions | SelectedOption[] |
sku | string |
title | string |
CategoriesQuery
type CategoriesQuery: object;Type declaration
| Name | Type |
|---|---|
collections | object |
collections.nodes | CollectionFragment[] |
collections.pageInfo | PageInfo |
Category
type Category: object;Type declaration
| Name | Type |
|---|---|
createdAt | string |
description | string |
descriptionHtml | string |
handle | string |
id | string |
image | Image |
onlineStoreUrl | string |
subCategories | Category[] |
title | string |
trackingParameters | string |
updatedAt | string |
CategoryQuery
type CategoryQuery: object;Type declaration
| Name | Type |
|---|---|
category | Pick<Category, "id" | "handle" | "title" | "description"> & object |
CategoryTree
type CategoryTree: object;Type declaration
| Name | Type |
|---|---|
categories | Category[] |
CollectionFragment
type CollectionFragment: Pick<Category, "id" | "title" | "handle"> & object;Type declaration
| Name | Type |
|---|---|
image | Pick<Image, | "id" | "url" | "altText" | "width" | "height"> |
ProductItemFragment
type ProductItemFragment: Pick<Product, "id" | "handle" | "title"> & object;Type declaration
| Name | Type |
|---|---|
featuredImage | Pick<Image, | "id" | "altText" | "url" | "width" | "height"> |
priceRange | object |
priceRange.maxVariantPrice | Pick<Money, "amount" | "currencyCode"> |
priceRange.minVariantPrice | Pick<Money, "amount" | "currencyCode"> |
variants | object |
variants.nodes | object[] |
ProductOption
type ProductOption: object;Type declaration
| Name | Type |
|---|---|
id | string |
name | string |
values | string[] |
ProductVariantConnection
type ProductVariantConnection: object;Type declaration
| Name | Type |
|---|---|
nodes | ProductVariant[] |
pageInfo | PageInfo |
QuantityPriceBreak
type QuantityPriceBreak: object;Type declaration
| Name | Type |
|---|---|
minimumQuantity | number |
price | Money |
QuantityPriceBreakConnection
type QuantityPriceBreakConnection: object;Type declaration
| Name | Type |
|---|---|
nodes | QuantityPriceBreak[] |
pageInfo | PageInfo |
QuantityRule
type QuantityRule: object;Type declaration
| Name | Type |
|---|---|
increment | number |
maximum | number |
minimum | number |
RecommendedProductsQuery
type RecommendedProductsQuery: object;Type declaration
| Name | Type |
|---|---|
products | object |
products.nodes | Pick<Product, "id" | "title" | "handle"> & object[] |