OBJECT

Category

link GraphQL Schema definition

1type Category implements ObjectWithTranslations, ObjectWithAttributes {
2id: Int!
3
4name: String!
5
6status: Status!
7
8isTopCategory: Boolean!
9
10uri: String!
11
12displaySortType: String!
13
14metaTitle: String
15
16metaDescription: String
17
18metaKeywords: String
19
20# Required permission: Category:read
21#
22# Limit is optional
23#
24# Store restrictions apply.
25#
26# Arguments
27# where: (self-explanatory)
28# sort: (self-explanatory)
29# limit: (self-explanatory)
30# page: (self-explanatory)
31childCategories(where: CategoryFilter, sort: [CategorySort!] = [customOrder_ASC], limit: Int, page: Int): [Category!]!
32
33# Required permission: Display:read
34#
35# Limit must be in range 1 - 200
36#
37# Store restrictions apply.
38#
39# Arguments
40# where: (self-explanatory)
41# sort: (self-explanatory)
42# first: (self-explanatory)
43# after: (self-explanatory)
44# last: (self-explanatory)
45# before: (self-explanatory)
46displayConnection(where: DisplayFilter, sort: [DisplaySort!], first: Int, after: String, last: Int, before: String): DisplayConnection!
47
48# Required permission: Translation:read
49#
50# All elements are always returned
51#
52# Arguments
53# where: (self-explanatory)
54translations(where: TranslationFilter): [LanguageTranslation!]!
55
56# Required permission: Category:read
57#
58# Store restrictions apply.
59parentCategory: Category
60
61# Required permission: Store:read
62#
63# Store restrictions apply.
64store: Store!
65
66# Required permission: Category.attributes:read
67#
68# All elements are always returned
69#
70# Arguments
71# where: (self-explanatory)
72attributes(where: AssignedAttributeFilter): [Attribute!]!
73
74}