Setting the file. One moment.
Subchapter 38.18
queries/collections.graphql
GraphQL40 lines816 B
# scopes: read_products
# Bulk query: every collection with its product ids. Connections: collections, products, metafields.
{
collections {
edges {
node {
id
title
handle
descriptionHtml
sortOrder
templateSuffix
updatedAt
image { url width height altText }
seo { title description }
ruleSet { appliedDisjunctively rules { column relation condition } }
products {
edges {
node {
__typename
id
}
}
}
metafields {
edges {
node {
__typename
id
namespace
key
type
value
}
}
}
}
}
}
}