> Agent-readable docs index: /llms.txt. Download /docs.zip to grep all markdown files locally.

---
title: "shopifyCollection"
description: "Returns information about Shopify Collection"
---

***

### Arguments

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

### Returns

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

### Example - request

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

### Example - response

```json
{
  "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
        }
      }
    }
  }
}
```


---

*Powered by [holocron.so](https://holocron.so)*
