OBJECT

Category

link GraphQL Schema definition

1type Category implements Localizable {
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(
32where: CategoryFilter,
33sort: [CategorySort!] = [customOrder_ASC],
34limit: Int,
35page: Int
36): [Category!]!
37
38# Required permission: Display:read
39#
40# Limit must be in range 1 - 200
41#
42# Store restrictions apply.
43#
44# Arguments
45# where: (self-explanatory)
46# sort: (self-explanatory)
47# first: (self-explanatory)
48# after: (self-explanatory)
49# last: (self-explanatory)
50# before: (self-explanatory)
51displayConnection(
52where: DisplayFilter,
53sort: [DisplaySort!],
54first: Int,
55after: String,
56last: Int,
57before: String
58): DisplayConnection!
59
60# Required permission: Localization:read
61#
62# All elements are always returned
63#
64# Arguments
65# where: (self-explanatory)
66localized(where: LocalizationFilter): [Localization!]!
67
68# Required permission: Category:read
69#
70# Store restrictions apply.
71parentCategory: Category
72
73# Required permission: Store:read
74#
75# Store restrictions apply.
76store: Store!
77
78}