Category
(OBJECT)
Category of products
link GraphQL Schema definition
- type Category {
- # system's internal ID
- : ID!
- # category's main title
- : String!
- # H1 heading of category (separate from title)
- : String
- # SEO-friendly URL identificator (raw slug)
- : String
- # title for menu
- : String
- # category's description
- : String @deprecated( reason: "Use 'seo_description' field instead." )
- # category language
- : LanguageVersion!
- # URL to category's webpage
- : Url!
- # category visibility state in the eshop
- : CategoryVisibility
- # category contains used goods
- : Boolean!
- # whether category may be part of fulltext search result
- : Boolean
- # parent category
- : Category
- # children categories
- : [Category]
- # products in category
- # please note order of products is independent for each category
- : ProductList
- # introductory text displayed before listing the category content
- : String
- # bottom text displayed after listing the category content
- : String
- # SEO meta description of category
- : String
- # SEO product title for HTML tag TITLE
- : String
- }
link Require by
- CategoryCategory of products
- Mutationset of methods and entities to create and/or modify entities with this API.
- ProductProduct
- Query Querying retrieves data (read access). Batching of multiple queries is not supported with this API. To modify data or perform operations @see Mutation definition. As of GraphQL nature, for each query you need to specify fields returned. To make this simpler you may use predefined fragments of data (default datasets) which honor the _<ObjectName> convention. You may combine predefined fragments with specific field enumeration in your queries. @see fragments.graphql You may need to distinguish between cursors i.e. pageable lists of items (SomeobjectList objects) returned and simple sets of items (array of objects). General rule is that lists are used for 'content generated by public' and are retrieved by getObjectList queries, simple sets are used for 'items created/managed by administrator' and retrieved by listObjects calls. Please note for cursors you may not request more than 30 items at once (i.e. page size is limited to max. 30 items). Querying retrieves data (read access).