• The GraphQL Storefront API now supports most of the properties on variants.
  • You can now get the manually-set related products of a given product with the Storefront API

Consider this query which demonstrates the new capabilities:

query { site { product(id: "UHJvZHVjdDo2NTYz") { id entityId name relatedProducts { edges { node { name defaultImage { url(width: 200) } } } } variants(first: 10) { edges { node { id entityId sku weight { value unit } height { value unit } depth { value unit } defaultImage { url(width: 200) } options(first: 5) { edges { node { displayName values { edges { node { label } } } } } } } } } } } } 

In a future release, we’ll support:

  • Automatically selected related products
  • Variant price