--- title: collection - Storefront API description: Fetch a specific `Collection` by one of its unique attributes. api_version: 2025-10 api_name: storefront type: query api_type: graphql source_url: html: 'https://shopify.dev/docs/api/storefront/latest/queries/collection' md: 'https://shopify.dev/docs/api/storefront/latest/queries/collection.md' --- # collection query Fetch a specific `Collection` by one of its unique attributes. ## Arguments * handle [String](https://shopify.dev/docs/api/storefront/latest/scalars/String) The handle of the `Collection`. * id [ID](https://shopify.dev/docs/api/storefront/latest/scalars/ID) The ID of the `Collection`. *** ## Possible returns * Collection [Collection](https://shopify.dev/docs/api/storefront/latest/objects/Collection) A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. *** ## Examples * ### collection reference ## Query Reference ```graphql { collection { # collection fields } } ```