-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema.graphql
1690 lines (1456 loc) · 54.9 KB
/
schema.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# This file was generated based on ".graphqlconfig". Do not edit manually.
schema {
query: Query
mutation: Mutation
}
"A base attribute interface shared by all attribute types. An attribute represents a type of value that can be assigned to a product."
interface Attribute {
code: AttributeCode!
label(languages: [Language!]): [TranslatedString!]! @deprecated(reason: "Use `name` instead.")
name(languages: [Language!]): [TranslatedString!]!
scope: AttributeScope!
}
"Represents a value defining a specific attribute."
interface AttributeValue {
"Represents an attribute bonded to a value."
attribute: Attribute!
"Represents an attribute value translations."
translations(languages: [Language!]): [AttributeValueTranslation!]!
"Represents an attribute value."
valueTranslations(languages: [Language!]): [TranslatedAttributeValue!]! @deprecated(reason: "Use `translations` instead. Each attribute type get corresponding value type. Values of `SelectAttribute` and `MultiSelectAttribute` are returning entire `Option` instead of `OptionCode` key from now on.")
}
"Represents a translated attribute value for language."
interface AttributeValueTranslation {
language: Language!
}
"A base product interface shared by all product types."
interface Product {
"The list of all attributes and their values assigned to a `Product`."
attributeList(
"Provides elements after the specified cursor."
after: String,
codes: [AttributeCode!],
"Provides up to first `n` results. Value cannot be lesser than 0."
first: Int = 50
): AttributeValueConnection
"The list of categories `Product` belongs to."
categoryList(
"Provides elements after the specified cursor."
after: String,
"Provides up to first `n` results. Value cannot be lesser than 0."
first: Int = 50
): CategoryConnection
createdAt: DateTime!
editedAt: DateTime
sku: Sku!
template: Template!
}
"Represents a translated attribute value."
interface TranslatedAttributeValue {
language: Language!
}
"Product grouped in `GroupingProduct`."
union GroupedProductProduct = SimpleProduct | VariableProduct
type AttributeConnection {
"Edges of the connection"
edges: [AttributeEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type AttributeCreateDatePayload {
attribute: DateAttribute!
}
type AttributeCreateFilePayload {
attribute: FileAttribute!
}
type AttributeCreateGalleryPayload {
attribute: GalleryAttribute!
}
type AttributeCreateImagePayload {
attribute: ImageAttribute!
}
type AttributeCreateMultiSelectPayload {
attribute: MultiSelectAttribute!
}
type AttributeCreateNumericPayload {
attribute: NumericAttribute!
}
type AttributeCreatePricePayload {
attribute: PriceAttribute!
}
type AttributeCreateProductRelationPayload {
attribute: ProductRelationAttribute!
}
type AttributeCreateSelectPayload {
attribute: SelectAttribute!
}
type AttributeCreateTextPayload {
attribute: TextAttribute!
}
type AttributeCreateTextareaPayload {
attribute: TextareaAttribute!
}
type AttributeCreateUnitPayload {
attribute: UnitAttribute!
}
type AttributeDateSetFormatPayload {
attribute: DateAttribute!
}
type AttributeDeletePayload {
code: AttributeCode!
}
type AttributeDeletedConnection {
"Edges of the connection"
edges: [AttributeDeletedEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type AttributeDeletedEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: AttributeCode!
}
type AttributeEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: Attribute!
}
type AttributeMultiSelectSetOptionsPayload {
attribute: MultiSelectAttribute!
}
type AttributePriceSetCurrencyPayload {
attribute: PriceAttribute!
}
type AttributeSelectSetOptionsPayload {
attribute: SelectAttribute!
}
type AttributeSetLabelPayload {
attribute: Attribute!
}
type AttributeSetNamePayload {
attribute: Attribute!
}
type AttributeTextareaSetRichEditPayload {
attribute: TextareaAttribute!
}
type AttributeUnitSetUnitPayload {
attribute: UnitAttribute!
}
type AttributeValueConnection {
"Edges of the connection"
edges: [AttributeValueEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type AttributeValueEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: AttributeValue!
}
"Represents a category."
type Category {
code: CategoryCode!
name(languages: [Language!]): [TranslatedString!]!
}
type CategoryConnection {
"Edges of the connection"
edges: [CategoryEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type CategoryCreatePayload {
category: Category!
}
type CategoryDeletePayload {
code: CategoryCode
}
type CategoryDeletedConnection {
"Edges of the connection"
edges: [CategoryDeletedEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type CategoryDeletedEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: CategoryCode!
}
type CategoryEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: Category!
}
type CategorySetNamePayload {
category: Category!
}
"Represents a tree of categories."
type CategoryTree {
"Provides a list of Categories on CategoryTree."
categoryTreeLeafList(
"Provides elements after the specified cursor."
after: String,
"Provides up to first `n` results. Value cannot be lesser than 0 and higher than 1000."
first: Int = 50
): CategoryTreeLeafConnection!
code: CategoryTreeCode!
name(languages: [Language!]): [TranslatedString!]!
}
type CategoryTreeConnection {
"Edges of the connection"
edges: [CategoryTreeEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type CategoryTreeDeletedConnection {
"Edges of the connection"
edges: [CategoryTreeDeletedEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type CategoryTreeDeletedEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: String!
}
type CategoryTreeEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: CategoryTree!
}
"Represents a leaf (node) of category tree."
type CategoryTreeLeaf {
category: Category!
parentCategory: Category
}
type CategoryTreeLeafConnection {
"Edges of the connection"
edges: [CategoryTreeLeafEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type CategoryTreeLeafEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: CategoryTreeLeaf!
}
"Represents a date."
type DateAttribute implements Attribute {
code: AttributeCode!
format: DateFormat!
label(languages: [Language!]): [TranslatedString!]! @deprecated(reason: "Use `name` instead.")
name(languages: [Language!]): [TranslatedString!]!
scope: AttributeScope!
}
"Represents a value of `DateAttribute`."
type DateAttributeValue implements AttributeValue {
"Represents an attribute bonded to a value."
attribute: DateAttribute!
"Represents an attribute value translations."
translations(languages: [Language!]): [DateAttributeValueTranslation!]!
"Represents an attribute value."
valueTranslations(languages: [Language!]): [TranslatedAttributeValue!]! @deprecated(reason: "Use `translations` instead. Each attribute type get corresponding value type. Values of `SelectAttribute` and `MultiSelectAttribute` are returning entire `Option` instead of `OptionCode` key from now on.")
}
"Represents a value translation of `DateAttribute`."
type DateAttributeValueTranslation implements AttributeValueTranslation {
language: Language!
value: String
}
"Represents a collection of multimedia files of any type."
type FileAttribute implements Attribute {
code: AttributeCode!
label(languages: [Language!]): [TranslatedString!]! @deprecated(reason: "Use `name` instead.")
name(languages: [Language!]): [TranslatedString!]!
scope: AttributeScope!
}
"Represents a value of `FileAttribute`."
type FileAttributeValue implements AttributeValue {
"Represents an attribute bonded to a value."
attribute: FileAttribute!
"Represents an attribute value translations."
translations(languages: [Language!]): [FileAttributeValueTranslation!]!
"Represents an attribute value."
valueTranslations(languages: [Language!]): [TranslatedAttributeValue!]! @deprecated(reason: "Use `translations` instead. Each attribute type get corresponding value type. Values of `SelectAttribute` and `MultiSelectAttribute` are returning entire `Option` instead of `OptionCode` key from now on.")
}
"Represents a value translation of `FileAttribute`."
type FileAttributeValueTranslation implements AttributeValueTranslation {
language: Language!
value: [Multimedia!]!
}
"Represents a collection of images."
type GalleryAttribute implements Attribute {
code: AttributeCode!
label(languages: [Language!]): [TranslatedString!]! @deprecated(reason: "Use `name` instead.")
name(languages: [Language!]): [TranslatedString!]!
scope: AttributeScope!
}
"Represents a value of `GalleryAttribute`."
type GalleryAttributeValue implements AttributeValue {
"Represents an attribute bonded to a value."
attribute: GalleryAttribute!
"Represents an attribute value translations."
translations(languages: [Language!]): [GalleryAttributeValueTranslation!]!
"Represents an attribute value."
valueTranslations(languages: [Language!]): [TranslatedAttributeValue!]! @deprecated(reason: "Use `translations` instead. Each attribute type get corresponding value type. Values of `SelectAttribute` and `MultiSelectAttribute` are returning entire `Option` instead of `OptionCode` key from now on.")
}
"Represents a value translation of `GalleryAttribute`."
type GalleryAttributeValueTranslation implements AttributeValueTranslation {
language: Language!
value: [Multimedia!]!
}
"Represents a product grouped in `GroupingProduct` in a specific quantity for the set."
type GroupedProduct {
"Grouped product."
product: GroupedProductProduct!
"Quantity of a grouped product."
quantity: Int!
}
type GroupedProductConnection {
"Edges of the connection"
edges: [GroupedProductEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type GroupedProductEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: GroupedProduct!
}
"A product grouping other products. Can represent products like the ones with common features or promotional packages."
type GroupingProduct implements Product {
"The list of all attributes and their values assigned to a `Product`."
attributeList(
"Provides elements after the specified cursor."
after: String,
codes: [AttributeCode!],
"Provides up to first `n` results. Value cannot be lesser than 0."
first: Int = 50
): AttributeValueConnection
"The list of categories `Product` belongs to."
categoryList(
"Provides elements after the specified cursor."
after: String,
"Provides up to first `n` results. Value cannot be lesser than 0."
first: Int = 50
): CategoryConnection
"Grouped products."
childrenList(
"Provides elements after the specified cursor."
after: String,
"Provides up to first `n` results. Value cannot be lesser than 0."
first: Int = 50
): GroupedProductConnection
createdAt: DateTime!
editedAt: DateTime
sku: Sku!
template: Template!
}
"Represents an image."
type ImageAttribute implements Attribute {
code: AttributeCode!
label(languages: [Language!]): [TranslatedString!]! @deprecated(reason: "Use `name` instead.")
name(languages: [Language!]): [TranslatedString!]!
scope: AttributeScope!
}
"Represents a value of `ImageAttribute`."
type ImageAttributeValue implements AttributeValue {
"Represents an attribute bonded to a value."
attribute: ImageAttribute!
"Represents an attribute value translations."
translations(languages: [Language!]): [ImageAttributeValueTranslation!]!
"Represents an attribute value."
valueTranslations(languages: [Language!]): [TranslatedAttributeValue!]! @deprecated(reason: "Use `translations` instead. Each attribute type get corresponding value type. Values of `SelectAttribute` and `MultiSelectAttribute` are returning entire `Option` instead of `OptionCode` key from now on.")
}
"Represents a value translation of `ImageAttribute`."
type ImageAttributeValueTranslation implements AttributeValueTranslation {
language: Language!
value: Multimedia
}
type LanguageConnection {
"Edges of the connection"
edges: [LanguageEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type LanguageEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: Language!
}
"Represents a set of options allowing to pick one or more of them."
type MultiSelectAttribute implements Attribute {
code: AttributeCode!
label(languages: [Language!]): [TranslatedString!]! @deprecated(reason: "Use `name` instead.")
name(languages: [Language!]): [TranslatedString!]!
options: [Option!]!
scope: AttributeScope!
}
"Represents a value of `MultiSelectAttribute`."
type MultiSelectAttributeValue implements AttributeValue {
"Represents an attribute bonded to a value."
attribute: MultiSelectAttribute!
"Represents an attribute value translations."
translations(languages: [Language!]): [MultiSelectAttributeValueTranslation!]!
"Represents an attribute value."
valueTranslations(languages: [Language!]): [TranslatedAttributeValue!]! @deprecated(reason: "Use `translations` instead. Each attribute type get corresponding value type. Values of `SelectAttribute` and `MultiSelectAttribute` are returning entire `Option` instead of `OptionCode` key from now on.")
}
"Represents a value translation of `MultiSelectAttribute`."
type MultiSelectAttributeValueTranslation implements AttributeValueTranslation {
language: Language!
value: [Option!]!
}
"Represents a multimedia file. The multimedia can be a text file, image, document file, etc."
type Multimedia {
"Represents the alternate text for an image if it cannot be displayed."
alt(languages: [Language!]): [TranslatedString!]!
extension: String!
"Folder where multimedia is stored."
folder: MultimediaFolder
mime: String
name: MultimediaName!
path: MultimediaPath!
"File size in bytes."
size: Int!
"Represents the title tooltip value."
title(languages: [Language!]): [TranslatedString!]!
"URL to download binary multimedia file."
url: String!
}
"Represents a value of `FileAttribute` and `GalleryAttribute`."
type MultimediaArrayAttributeValue implements TranslatedAttributeValue {
language: Language!
value: [Multimedia!]!
}
"Represents a value of `ImageAttribute`."
type MultimediaAttributeValue implements TranslatedAttributeValue {
language: Language!
value: Multimedia
}
type MultimediaConnection {
"Edges of the connection"
edges: [MultimediaEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type MultimediaCreateInputPayload {
multimedia: Multimedia!
}
type MultimediaDeletePayload {
path: MultimediaPath!
}
type MultimediaEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: Multimedia!
}
"Represents a filesystem-like folder allowing to organize multimedia. Does not correspond to the physical file path or its URL."
type MultimediaFolder {
name: MultimediaFolderName!
}
type MultimediaFolderConnection {
"Edges of the connection"
edges: [MultimediaFolderEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type MultimediaFolderEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: MultimediaFolder!
}
type MultimediaSetAltPayload {
multimedia: Multimedia!
}
type MultimediaSetNamePayload {
multimedia: Multimedia!
}
type MultimediaSetTitlePayload {
multimedia: Multimedia!
}
type Mutation {
"Creates a `DateAttribute`."
attributeCreateDate(input: AttributeCreateDateInput!): AttributeCreateDatePayload
"Creates a `FileAttribute`."
attributeCreateFile(input: AttributeCreateFileInput!): AttributeCreateFilePayload
"Creates a `GalleryAttribute`."
attributeCreateGallery(input: AttributeCreateGalleryInput!): AttributeCreateGalleryPayload
"Creates an `ImageAttribute`."
attributeCreateImage(input: AttributeCreateImageInput!): AttributeCreateImagePayload
"Creates a `MultiSelectAttribute`."
attributeCreateMultiSelect(input: AttributeCreateMultiSelectInput!): AttributeCreateMultiSelectPayload
"Creates a `NumericAttribute`."
attributeCreateNumeric(input: AttributeCreateNumericInput!): AttributeCreateNumericPayload
"Creates a `PriceAttribute`."
attributeCreatePrice(input: AttributeCreatePriceInput!): AttributeCreatePricePayload
"Creates a `ProductRelationAttribute`."
attributeCreateProductRelation(input: AttributeCreateProductRelationInput!): AttributeCreateProductRelationPayload
"Creates a `SelectAttribute`."
attributeCreateSelect(input: AttributeCreateSelectInput!): AttributeCreateSelectPayload
"Creates a `TextAttribute`."
attributeCreateText(input: AttributeCreateTextInput!): AttributeCreateTextPayload
"Creates a `TextareaAttribute`."
attributeCreateTextarea(input: AttributeCreateTextareaInput!): AttributeCreateTextareaPayload
"Creates an `UnitAttribute`."
attributeCreateUnit(input: AttributeCreateUnitInput!): AttributeCreateUnitPayload
"Sets a `DateAttribute` format."
attributeDateSetFormat(input: AttributeDateSetFormatInput!): AttributeDateSetFormatPayload
"Deletes an attribute."
attributeDelete(input: AttributeDeleteInput!): AttributeDeletePayload
"Sets a `MultiSelectAttribute` options."
attributeMultiSelectSetOptions(input: AttributeMultiSelectSetOptionsInput!): AttributeMultiSelectSetOptionsPayload
"Sets a `PriceAttribute` currency."
attributePriceSetCurrency(input: AttributePriceSetCurrencyInput!): AttributePriceSetCurrencyPayload
"Sets a `SelectAttribute` options."
attributeSelectSetOptions(input: AttributeSelectSetOptionsInput!): AttributeSelectSetOptionsPayload
"Sets an attribute label."
attributeSetLabel(input: AttributeSetLabelInput!): AttributeSetLabelPayload @deprecated(reason: "Use `attributeSetName` instead.")
"Sets an attribute name."
attributeSetName(input: AttributeSetNameInput!): AttributeSetNamePayload
"Sets a `TextareaAttribute` richEdit."
attributeTextareaSetRichEdit(input: AttributeTextareaSetRichEditInput!): AttributeTextareaSetRichEditPayload
"Sets an `UnitAttribute` unit."
attributeUnitSetUnit(input: AttributeUnitSetUnitInput!): AttributeUnitSetUnitPayload
"Creates a `Category`."
categoryCreate(input: CategoryCreateInput!): CategoryCreatePayload
"Deletes a `Category`."
categoryDelete(input: CategoryDeleteInput!): CategoryDeletePayload
"Sets a `Category` name."
categorySetName(input: CategorySetNameInput!): CategorySetNamePayload
"Creates a `Multimedia`."
multimediaCreate(input: MultimediaCreateInput!): MultimediaCreateInputPayload
"Deletes a `Multimedia`."
multimediaDelete(input: MultimediaDeleteInput!): MultimediaDeletePayload
"Sets a `Multimedia` alt."
multimediaSetAlt(input: MultimediaSetAltInput!): MultimediaSetAltPayload
"Sets a `Multimedia` name."
multimediaSetName(input: MultimediaSetNameInput!): MultimediaSetNamePayload
"Sets a `Multimedia` title."
multimediaSetTitle(input: MultimediaSetTitleInput!): MultimediaSetTitlePayload
"Adds a `DateAttribute` value translations to a product."
productAddAttributeValueTranslationsDate(input: ProductAddAttributeValueTranslationsDateInput!): ProductAddAttributeValueTranslationsDatePayload
"Adds a `FileAttribute` value translations to a product."
productAddAttributeValueTranslationsFile(input: ProductAddAttributeValueTranslationsFileInput!): ProductAddAttributeValueTranslationsFilePayload
"Adds a `GalleryAttribute` value translations to a product."
productAddAttributeValueTranslationsGallery(input: ProductAddAttributeValueTranslationsGalleryInput!): ProductAddAttributeValueTranslationsGalleryPayload
"Adds a `ImageAttribute` value translations to a product."
productAddAttributeValueTranslationsImage(input: ProductAddAttributeValueTranslationsImageInput!): ProductAddAttributeValueTranslationsImagePayload
"Adds a `MultiSelectAttribute` value translations to a product."
productAddAttributeValueTranslationsMultiSelect(input: ProductAddAttributeValueTranslationsMultiSelectInput!): ProductAddAttributeValueTranslationsMultiSelectPayload
"Adds a `NumericAttribute` value translations to a product."
productAddAttributeValueTranslationsNumeric(input: ProductAddAttributeValueTranslationsNumericInput!): ProductAddAttributeValueTranslationsNumericPayload
"Adds a `PriceAttribute` value translations to a product."
productAddAttributeValueTranslationsPrice(input: ProductAddAttributeValueTranslationsPriceInput!): ProductAddAttributeValueTranslationsPricePayload
"Adds a `ProductRelationAttribute` value translations to a product."
productAddAttributeValueTranslationsProductRelation(input: ProductAddAttributeValueTranslationsProductRelationInput!): ProductAddAttributeValueTranslationsProductRelationPayload
"Adds a `SelectAttribute` value translations to a product."
productAddAttributeValueTranslationsSelect(input: ProductAddAttributeValueTranslationsSelectInput!): ProductAddAttributeValueTranslationsSelectPayload
"Adds a `TextAttribute` value translations to a product."
productAddAttributeValueTranslationsText(input: ProductAddAttributeValueTranslationsTextInput!): ProductAddAttributeValueTranslationsTextPayload
"Adds a `TextareaAttribute` value translations to a product."
productAddAttributeValueTranslationsTextarea(input: ProductAddAttributeValueTranslationsTextareaInput!): ProductAddAttributeValueTranslationsTextareaPayload
"Adds a `UnitAttribute` value translations to a product."
productAddAttributeValueTranslationsUnit(input: ProductAddAttributeValueTranslationsUnitInput!): ProductAddAttributeValueTranslationsUnitPayload
"Adds a product to categories."
productAddCategories(input: ProductAddCategoriesInput!): ProductAddCategoriesPayload
"Creates a `GroupingProduct`."
productCreateGrouping(input: ProductCreateGroupingInput!): ProductCreateGroupingPayload
"Creates a `SimpleProduct`."
productCreateSimple(input: ProductCreateSimpleInput!): ProductCreateSimplePayload
"Creates a `VariableProduct`."
productCreateVariable(input: ProductCreateVariableInput!): ProductCreateVariablePayload
"Deletes a product."
productDelete(input: ProductDeleteInput!): ProductDeletePayload
"Deletes an attribute value translations from a product."
productDeleteAttributeValueTranslations(input: ProductDeleteAttributeValueTranslationsInput!): ProductDeleteAttributeValueTranslationsPayload
"Adds a child product to a `GroupingProduct`."
productGroupingAddChild(input: ProductGroupingAddChildInput!): ProductGroupingAddChildPayload
"Removes a child product from a `GroupingProduct`."
productGroupingRemoveChild(input: ProductGroupingRemoveChildInput!): ProductGroupingRemoveChildPayload
"Set a child product quantity of a `GroupingProduct`."
productGroupingSetChildQuantity(input: ProductGroupingSetChildQuantityInput!): ProductGroupingSetChildQuantityPayload
"Removes a product from categories."
productRemoveCategories(input: ProductRemoveCategoriesInput!): ProductRemoveCategoriesPayload
"Sets a product `Template`."
productSetTemplate(input: ProductSetTemplateInput!): ProductSetTemplatePayload
"Adds a variant product to a `VariableProduct`."
productVariableAddVariant(input: ProductVariableAddVariantInput!): ProductVariableAddVariantPayload
"Removes a variant product from a `VariableProduct`."
productVariableRemoveVariant(input: ProductVariableRemoveVariantInput!): ProductVariableRemoveVariantPayload
"Sets binding attributes to `VariableProduct`."
productVariableSetBindings(input: ProductVariableSetBindingsInput!): ProductVariableSetBindingsPayload
}
"Represents a value of `NumericAttribute`. Not attribute type matching name is purposeful - conflicts with already existing type."
type NumberAttributeValue implements AttributeValue {
"Represents an attribute bonded to a value."
attribute: NumericAttribute!
"Represents an attribute value translations."
translations(languages: [Language!]): [NumericAttributeValueTranslation!]!
"Represents an attribute value."
valueTranslations(languages: [Language!]): [TranslatedAttributeValue!]! @deprecated(reason: "Use `translations` instead. Each attribute type get corresponding value type. Values of `SelectAttribute` and `MultiSelectAttribute` are returning entire `Option` instead of `OptionCode` key from now on.")
}
"Represents a number."
type NumericAttribute implements Attribute {
code: AttributeCode!
label(languages: [Language!]): [TranslatedString!]! @deprecated(reason: "Use `name` instead.")
name(languages: [Language!]): [TranslatedString!]!
scope: AttributeScope!
}
"Represents a value of `NumericAttribute`, `PriceAttribute` and `UnitAttribute`."
type NumericAttributeValue implements TranslatedAttributeValue {
language: Language!
value: Float
}
"Represents a value translation of `NumericAttribute`."
type NumericAttributeValueTranslation implements AttributeValueTranslation {
language: Language!
value: Float
}
"Represents an option of a select and multi-select attribute."
type Option {
code: OptionCode!
label(languages: [Language!]): [TranslatedString!]! @deprecated(reason: "Use `name` instead.")
name(languages: [Language!]): [TranslatedString!]!
}
"Information about pagination in a connection."
type PageInfo {
"When paginating forwards, the cursor to continue."
endCursor: String
"When paginating forwards, are there more items?"
hasNextPage: Boolean!
"When paginating backwards, are there more items?"
hasPreviousPage: Boolean!
"When paginating backwards, the cursor to continue."
startCursor: String
}
"Represents a positive price of a specific currency."
type PriceAttribute implements Attribute {
code: AttributeCode!
currency: Currency!
label(languages: [Language!]): [TranslatedString!]! @deprecated(reason: "Use `name` instead.")
name(languages: [Language!]): [TranslatedString!]!
scope: AttributeScope!
}
"Represents a value of `PriceAttribute`."
type PriceAttributeValue implements AttributeValue {
"Represents an attribute bonded to a value."
attribute: PriceAttribute!
"Represents an attribute value translations."
translations(languages: [Language!]): [PriceAttributeValueTranslation!]!
"Represents an attribute value."
valueTranslations(languages: [Language!]): [TranslatedAttributeValue!]! @deprecated(reason: "Use `translations` instead. Each attribute type get corresponding value type. Values of `SelectAttribute` and `MultiSelectAttribute` are returning entire `Option` instead of `OptionCode` key from now on.")
}
"Represents a value translation of `PriceAttribute`."
type PriceAttributeValueTranslation implements AttributeValueTranslation {
language: Language!
value: Float
}
type ProductAddAttributeValueTranslationsDatePayload {
product: Product!
}
type ProductAddAttributeValueTranslationsFilePayload {
product: Product!
}
type ProductAddAttributeValueTranslationsGalleryPayload {
product: Product!
}
type ProductAddAttributeValueTranslationsImagePayload {
product: Product!
}
type ProductAddAttributeValueTranslationsMultiSelectPayload {
product: Product!
}
type ProductAddAttributeValueTranslationsNumericPayload {
product: Product!
}
type ProductAddAttributeValueTranslationsPricePayload {
product: Product!
}
type ProductAddAttributeValueTranslationsProductRelationPayload {
product: Product!
}
type ProductAddAttributeValueTranslationsSelectPayload {
product: Product!
}
type ProductAddAttributeValueTranslationsTextPayload {
product: Product!
}
type ProductAddAttributeValueTranslationsTextareaPayload {
product: Product!
}
type ProductAddAttributeValueTranslationsUnitPayload {
product: Product!
}
type ProductAddCategoriesPayload {
product: Product!
}
"Represents a value of `ProductRelationAttribute`."
type ProductArrayAttributeValue implements TranslatedAttributeValue {
language: Language!
value: [Product!]!
}
type ProductConnection {
"Edges of the connection"
edges: [ProductEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type ProductCreateGroupingPayload {
product: GroupingProduct!
}
type ProductCreateSimplePayload {
product: SimpleProduct!
}
type ProductCreateVariablePayload {
product: VariableProduct!
}
type ProductDeleteAttributeValueTranslationsPayload {
product: Product!
}
type ProductDeletePayload {
sku: Sku
}
type ProductDeletedConnection {
"Edges of the connection"
edges: [ProductDeletedEdge!]
"Page info of the connection"
pageInfo: PageInfo
"Total count of items in the connection."
totalCount: Int
}
type ProductDeletedEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: Sku!
}
type ProductEdge {
"The edge cursor"
cursor: String!
"Node of the Edge"
node: Product!
}
type ProductGroupingAddChildPayload {
product: GroupingProduct!
}
type ProductGroupingRemoveChildPayload {
product: GroupingProduct!
}
type ProductGroupingSetChildQuantityPayload {
product: GroupingProduct!
}
"Represents a relation to the collection of other products."
type ProductRelationAttribute implements Attribute {
code: AttributeCode!
label(languages: [Language!]): [TranslatedString!]! @deprecated(reason: "Use `name` instead.")
name(languages: [Language!]): [TranslatedString!]!
scope: AttributeScope!
}
"Represents a value of `ProductRelationAttribute`."
type ProductRelationAttributeValue implements AttributeValue {
"Represents an attribute bonded to a value."
attribute: ProductRelationAttribute!
"Represents an attribute value translations."
translations(languages: [Language!]): [ProductRelationAttributeValueTranslation!]!
"Represents an attribute value."
valueTranslations(languages: [Language!]): [TranslatedAttributeValue!]! @deprecated(reason: "Use `translations` instead. Each attribute type get corresponding value type. Values of `SelectAttribute` and `MultiSelectAttribute` are returning entire `Option` instead of `OptionCode` key from now on.")
}
"Represents a value translation of `ProductRelationAttribute`."
type ProductRelationAttributeValueTranslation implements AttributeValueTranslation {
language: Language!
value: [Product!]!
}
type ProductRemoveCategoriesPayload {
product: Product!
}
type ProductSetTemplatePayload {
product: Product!
}
type ProductVariableAddVariantPayload {
product: VariableProduct!
}
type ProductVariableRemoveVariantPayload {
product: VariableProduct!
}
type ProductVariableSetBindingsPayload {
product: VariableProduct!
}
type Query {
"Provides an Attribute identified by AttributeCode."
attribute(code: AttributeCode!): Attribute
"Provides a stream of Deleted Attributes AttributeCodes. Newest deleted AttributeCode is always at the end of the stream."
attributeDeletedStream(
"Provides elements after the specified cursor."
after: String,
"Provides up to first `n` results. Value cannot be lesser than 0 and higher than 200."
first: Int = 50
): AttributeDeletedConnection
"Provides a stream of Attributes. Newest updated Attribute is always at the end of the stream."
attributeStream(
"Provides elements after the specified cursor."
after: String,
"Provides up to first `n` results. Value cannot be lesser than 0 and higher than 200."
first: Int = 50
): AttributeConnection
"Provides a Category identified by CategoryCode."
category(code: CategoryCode!): Category
"Provides a stream of Deleted Categories CategoryCodes. Newest deleted CategoryCode is always at the end of the stream."
categoryDeletedStream(
"Provides elements after the specified cursor."
after: String,
"Provides up to first `n` results. Value cannot be lesser than 0 and higher than 200."
first: Int = 50
): CategoryDeletedConnection
"Provides a stream of Categories. Newest updated Category is always at the end of the stream."
categoryStream(
"Provides elements after the specified cursor."
after: String,
"Provides up to first `n` results. Value cannot be lesser than 0 and higher than 200."
first: Int = 50
): CategoryConnection
"Provides a CategoryTree identified by CategoryTreeCode."
categoryTree(code: CategoryTreeCode!): CategoryTree
"Provides a stream of Deleted Category Trees codes. Newest deleted code is always at the end of the stream."
categoryTreeDeletedStream(
"Provides elements after the specified cursor."
after: String,
"Provides up to first `n` results. Value cannot be lesser than 0 and higher than 200."
first: Int = 50
): CategoryTreeDeletedConnection
"Provides a stream of Category Trees. Newest updated CategoryTree is always at the end of the stream."
categoryTreeStream(
"Provides elements after the specified cursor."
after: String,
"Provides up to first `n` results. Value cannot be lesser than 0 and higher than 200."
first: Int = 50
): CategoryTreeConnection
"Provides a list of active Languages."
languageList(
"Provides elements after the specified cursor."
after: String,
"Provides up to first `n` results. Value cannot be lesser than 0 and higher than 1000."
first: Int = 50
): LanguageConnection
"Provides a list of MultimediaFolder."
multimediaFolderList(