Storeware Docs
Storefront GraphQL

Queries

The fields a storefront query starts from, and what each returns.

shop

The shop this credential names.

Returns Shop!.

What Shop answers

FieldTypeDescription
collection(handle)Collection
collections[Collection!]!
product(handle)ProductOne product by handle. Null for a draft, an archived one, or nothing at all.
products(after, before, collection, first, last)ShopProductsConnection!Published products, in a stable order that survives the catalogue changing.

collection takes:

ArgumentTypeDescription
handleString!

product takes:

ArgumentTypeDescription
handleString!

products takes:

ArgumentTypeDescription
afterString
beforeString
collectionStringLimit to one collection, by its handle.
firstInt
lastInt

On this page