Skip to main content

collection

Returns the details of a product based on the specified locator.

Usage​

Arguments

slug*String
Description

Slug of the collection you want to query.

query ($slug: String!) {
collection (slug: $slug) {
# StoreCollection fields
}
}

Example​

Get the ID, type, SEO title and selected facets - with key and value - of the collection with slug office.

Didn't find your answers? Ask the Community. For documentation suggestions, submit your feedback.

JOIN THE COMMUNITY