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 |
|---|---|---|---|
|
| 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 |
|
| Yes | Canonical path of the collection page, sent when the request has a locale. Equals<br> |
|
| No | Canonical URL override, or |
|
| No | Editorial description in the served locale, or |
|
| No | Prefixed wire id (e.g. |
|
| No | Public image URL, or |
|
| No | Alternative text of ProductCollection.image, suited to |
|
| Yes |
|
|
| No | Comma-separated SEO keywords (e.g. |
|
| Yes | BCP 47 locale code of the record actually served (e.g. |
|
| No | When |
|
| No | When |
|
| No | Open Graph description used when the collection is shared on social networks, or |
|
| No | Public Open Graph image URL, or |
|
| No | Alternative text of the Open Graph image, suited to |
|
| No | Open Graph title used when the collection is shared on social networks, or |
|
| No | URL path of the collection page in the requested locale (e.g. |
|
| Yes | BCP 47 locale code the request asked for (e.g. |
|
| No | SEO meta description, or |
|
| No | SEO title override, or |
|
| No | Slug in the served locale: the translated slug when the collection is translated,<br>else the source slug. Accepted as the |
|
| Yes | The collection page's JSON-LD structured data. Sent by |
|
| No | Collection title in the served locale (see LocaleResolution.locale). Always non-empty. |
|
| No |
|
ProductCollectionsFilters
Interface
Filters for a storefront collections listing. All optional.
Property | Type | Optional | Description |
|---|---|---|---|
|
| Yes | Items per page. Defaults to 20, max 100. |
|
| 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 |
|---|---|---|---|
|
| No | The product collections on this page. |
|
| No | Pagination info: |