> ## Documentation Index
> Fetch the complete documentation index at: https://docs-test.rye.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# shopifyCollection

> Returns information about Shopify Collection

***

### Arguments

<ParamField path="id" type={<>String!</>} required>
  The Shopify Collection ID.
</ParamField>

### Returns

<ParamField path="ShopifyCollection.*" type={<><a href="/docs/api-reference/shopifycollection">ShopifyCollection</a></>}>
  Any requested field from the
  [`ShopifyCollection`](/docs/api-reference/shopifycollection)
  object.
</ParamField>

### Example - request

```GraphQL theme={null}
query GetShopifyCollection {
  shopifyCollection(id: "123456789") {
    id
    title
    description
    productsConnection(first: 5) {
      edges {
        node {
          id
          title
          description
          vendor
          url
        }
      }
      pageInfo {
        endCursor
        hasNextPage
      }
    }
  }
}
```

### Example - response

```json theme={null}
{
  "data": {
    "shopifyCollection": {
      "id": "123456789",
      "title": "Summer Collection",
      "description": "A handpicked selection of our summer favorites.",
      "productsConnection": {
        "edges": [
          {
            "node": {
              "id": "987654321",
              "title": "Beach Towel",
              "description": "A colorful, soft beach towel perfect for summer days.",
              "vendor": "Beachware Co.",
              "url": "https://example.com/beach-towel"
            }
          },
          {
            "node": {
              "id": "987654322",
              "title": "Sunglasses",
              "description": "Stylish and protective sunglasses for bright days.",
              "vendor": "Sunny Eyewear",
              "url": "https://example.com/sunglasses"
            }
          }
        ],
        "pageInfo": {
          "endCursor": "abcd1234",
          "hasNextPage": true
        }
      }
    }
  }
}
```
