Skip to main content

BlockCollectionData Object

Description

Data configuration for a collection block.

Declaration

type BlockCollectionData {
collectionRef: ID
entriesPerRow: Int!
limit: Int!
sortBy: String!
sortOrder: Int!
informationLevel: Int!
aspectRatio: String
}

Fields

NameTypeDescription
collectionRefIDReference to the collection to display.
entriesPerRowInt!Number of entries to display per row.
limitInt!Maximum number of items to display.
sortByString!Field to sort by (e.g., "listings.available", "listings.prices.beforeTaxes").
sortOrderInt!Sort order (1 for ascending, -1 for descending).
informationLevelInt!Information detail level (1, 2, or 3).
aspectRatioStringAspect ratio for item images (e.g., "1/1", "auto").