Skip to main content

Collection Object

Description

Represents a curated collection of items with filtering and display settings.

Declaration

type Collection {
_id: ID!
created: Date
createdBy: UserReference
id: Int!
title: String!
description: CollectionDescription
handle: String!
sort: CollectionSort
viewType: String
seo: SeoEntry
path: String
banner: CollectionBanner
segments: [CollectionSegment!]!
}

Fields

NameTypeDescription
_idID!Internal database identifier.
createdDateDate when the collection was created.
createdByUserReferenceUser who created the collection.
idInt!Numeric identifier for the collection.
titleString!Title of the collection.
descriptionCollectionDescriptionDescription of the collection.
handleString!URL-friendly handle for the collection.
sortCollectionSortDefault sort configuration for the collection.
viewTypeStringView type for displaying the collection (e.g., "tile", "list", "full").
seoSeoEntrySEO metadata for the collection.
path ⚠️StringURL path to the collection page. This field is deprecated. ⚠️ Deprecated: No longer supported
bannerCollectionBannerBanner image for the collection.
segments[CollectionSegment!]!Segments defining filter criteria for the collection.