OBJECT
Category
link GraphQL Schema definition
- type Category implements Document {
- : String
- : String
- : Boolean
- # NB: Carries a performance cost, as asking for this will result in a separate API
- # call in the backend.
- : HtmlHead
- : Int!
- : [CategoryImage]
- # A dynamic category has no fixed products; products are dynamically included
- # based on filters defined on the category in Admin. N.B. Products found on a
- # dynamic category has no route that includes said category, instead
- # product.primaryRoute will have to be used.
- : Boolean!
- # Whether or not this category and all its children are considered hidden
- : Boolean! @deprecated( reason: "This field should no longer be used and will always be false." )
- : Int!
- # When empty will display the value of the name field
- : String
- : String!
- : Category
- : Category @deprecated( reason: "Use parent instead" )
- : Int @deprecated( reason: "Use parent.id instead" )
- # The primary route of this Category. NB: Carries a performance cost, as asking
- # for this will result in a separate API call in the backend.
- : Route
- # NB: Carries a performance cost, as asking for this will result in a separate API
- # call in the backend.
- #
- # Arguments
- # first: [Not documented]
- # offset: [Not documented]
- # orderBy: [Not documented]
- # orderByDirection: [Not documented]
- # filters: [Not documented]
- (
- : Paging,
- : Int,
- : ProductOrderOptions,
- : SortDirection,
- : FilterInput
- ): PagedResult
- : [Category]
- }