> For the complete Lynkow documentation index in agent-friendly format, see [llms.txt](/llms.txt).

# SDK Types: Product-collection

**Published**: 2026-11-30
**Category**: Types

## `ProductCollection`

*Interface*

A product collection of the storefront.

Text, slugs and paths are per locale. A read with a `locale` is served in that
locale, or in the closest available one when the collection has no translation
there: the LocaleResolution fields say which.

Extends: `LocaleResolution`

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `alternates` | `{ current: boolean; locale: string; path: string }[]` | Yes | The collection page's path in each locale it exists in, for hreflang links, sent when<br>the request has a locale. Empty on a fallback. Add `x-default` yourself. |
| `canonicalPath` | `string \| null` | Yes | Canonical path of the collection page, sent when the request has a locale. Equals<br>`path`, except on a fallback, where it points at the default-locale URL when one exists. |
| `canonicalUrl` | `string \| null` | No | Canonical URL override, or `null` to use ProductCollection.path. A fallback<br>collection with no override carries the absolute `canonicalPath` here when the site has a domain. |
| `description` | `string \| null` | No | Editorial description in the served locale, or `null` when the merchant left it empty. |
| `id` | `string` | No | Prefixed wire id (e.g. `'col_...'`). Stable; safe to store and link. |
| `image` | `string \| null` | No | Public image URL, or `null` when no image is set. |
| `imageAlt` | `string \| null` | No | Alternative text of ProductCollection.image, suited to `<img alt>`, or `null` when none is set (fall back to `title`). |
| `isFallback` | `boolean` | Yes | `true` when the record is served in another locale because `requestedLocale` has no translation.<br>Absent when the request carried no locale. Never `true` with `fallback: false`. |
| `keywords` | `string \| null` | No | Comma-separated SEO keywords (e.g. `'summer, outdoor'`), or `null` when none are set. Suited to `<meta name="keywords">`. |
| `locale` | `string` | Yes | BCP 47 locale code of the record actually served (e.g. `'en'`, `'fr'`).<br>Equals `requestedLocale` unless `isFallback` is `true`. |
| `noFollow` | `boolean` | No | When `true`, the merchant asked search engines not to follow the links of this collection: render `<meta name="robots" content="nofollow">`. Never `null`. |
| `noIndex` | `boolean` | No | When `true`, the merchant asked search engines not to index this collection: render `<meta name="robots" content="noindex">`. Never `null`. |
| `ogDescription` | `string \| null` | No | Open Graph description used when the collection is shared on social networks, or `null` when unset (fall back to `seoDescription`). |
| `ogImage` | `string \| null` | No | Public Open Graph image URL, or `null` when none is set (fall back to ProductCollection.image). |
| `ogImageAlt` | `string \| null` | No | Alternative text of the Open Graph image, suited to `og:image:alt`, or `null` when none is set. |
| `ogTitle` | `string \| null` | No | Open Graph title used when the collection is shared on social networks, or `null` when unset (fall back to `seoTitle`, then `title`). |
| `path` | `string \| null` | No | URL path of the collection page in the requested locale (e.g. `'/fr/collections/ete'`),<br>built from the site's commerce URL settings. `null` while the product catalogue is off<br>for the site. |
| `requestedLocale` | `string` | Yes | BCP 47 locale code the request asked for (e.g. `'de'`), as sent in the<br>`locale` request option or the client's configured locale.<br>Absent when the request carried no locale. |
| `seoDescription` | `string \| null` | No | SEO meta description, or `null` when unset. |
| `seoTitle` | `string \| null` | No | SEO title override, or `null` when unset (fall back to `title`). |
| `slug` | `string` | No | Slug in the served locale: the translated slug when the collection is translated,<br>else the source slug. Accepted as the `collection` filter of `products.list()` with<br>the same `locale`. |
| `structuredData` | `CommerceStructuredData` | Yes | The collection page's JSON-LD structured data. Sent by `productCollections.getBySlug()` only, never by `list()`. |
| `title` | `string` | No | Collection title in the served locale (see LocaleResolution.locale). Always non-empty. |
| `twitterCard` | `"summary" \| "summary_large_image" \| "app" \| "player" \| null` | No | `<meta name="twitter:card">` value used when the collection is shared on social networks, or `null` when unset. |


---

## `ProductCollectionsFilters`

*Interface*

Filters for a storefront collections listing. All optional.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `limit` | `number` | Yes | Items per page. Defaults to 20, max 100. |
| `page` | `number` | Yes | Page number (1-based). Defaults to 1. |


---

## `ProductCollectionsListResponse`

*Interface*

Paginated collections list response: the collections on the page plus pagination metadata.

| Property | Type | Optional | Description |
| --- | --- | --- | --- |
| `data` | `ProductCollection[]` | No | The product collections on this page. |
| `meta` | `PaginationMeta` | No | Pagination info: `total`, `currentPage`, `lastPage` and `perPage`. |