Storefront GraphQL APIReferenceObjects
StorefrontCollection
type
StorefrontCollectionFields
- fields
_id*ID!logo?name?Stringslug?StringURL handle used in storefront links (/collections/{slug})
description?StringparentCategory?IDParent collection ID for subcollection hierarchy
level?IntDepth level in the hierarchy
sortOrder?IntPosition among sibling collections (ascending). Ties sort by name.
children?Child subcollections (populated via virtual)
tenant?StringcreatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
updatedAt?DateTimeA date-time string at UTC, such as 2019-12-03T09:54:33Z, compliant with the date-time format.
Usages
- Returned by
- QUERY
collectionQUERYcollectionById - Field of
CollectionsWithPagination.nodes
type StorefrontCollection { _id: ID! logo: ServerFileReference name: String slug: String description: String parentCategory: ID level: Int sortOrder: Int children: [Collection!] tenant: String createdAt: DateTime updatedAt: DateTime}