Collection
A collection of links for displaying.
type Collection {
assets: [CollectionAsset!]!
brands(
first: Int
after: String
last: Int
before: String
): BrandConnection!
description: String!
headerBackgroundColor: String!
headerDescription: String
headerDescriptionColor: String!
headerImage: String
id: ID!
links(
first: Int!
): [Link!]!
linksCount: Int!
name: String
nameColor: String!
showTitle: Boolean!
style: CollectionStyle
updatedAt: DateTimeISO!
}
Fields
Collection.assets ● [CollectionAsset!]! non-null object
A list of a collection's images
Collection.brands ● BrandConnection! non-null object
A paginated list of the collection's brands
Collection.brands.first●IntscalarReturns the first n elements from the list.
Collection.brands.after ● String scalar
Returns the elements in the list that come after the specified cursor.
Collection.brands.last ● Int scalar
Returns the last n elements from the list.
Collection.brands.before ● String scalar
Returns the elements in the list that come before the specified cursor.
Collection.description ● String! non-null scalar
Collection's description
Collection.headerBackgroundColor ● String! non-null scalar
Collection's header color
Collection.headerDescription ● String scalar
Collection's description in header
Collection.headerDescriptionColor ● String! non-null scalar
Collection's header description color
Collection.headerImage ● String scalar
Collection.id ● ID! non-null scalar
Collection's ID
Collection.links ● [Link!]! non-null object
An unpaginated list of the collection's links, max: 100
Collection.links.first●Int!non-null scalarThe number of links to return
Collection.linksCount ● Int! non-null scalar
The count of all the links matching the currency for the collection
Collection.name ● String scalar
Collection's name
Collection.nameColor ● String! non-null scalar
Collection's name color
Collection.showTitle ● Boolean! non-null scalar
If collection's title should be shown
Collection.style ● CollectionStyle enum
The collection's style type
Collection.updatedAt ● DateTimeISO! non-null scalar
Collection's last updated at timestamp
Returned by
CategorySearch query ● Collection query
Member of
CollectionEdge object ● StoreFront object