OBJECT

Mutation

link GraphQL Schema definition

1type Mutation {
2# Generate an access token with given user parameters and permissions, and valid
3# for given time (30 days by default)
4#
5# Required permission: admin
6#
7# Arguments
8# user: (self-explanatory)
9# ttl: (self-explanatory)
10generateToken(user: GraphQLUserInput!, ttl: Int! = 2592000): GraphQLAccess!
11
12# Update access token - extend validity or modify permissions
13#
14# Required permission: admin
15#
16# Arguments
17# tokenData: (self-explanatory)
18updateToken(tokenData: GraphQLUpdateTokenInput!): GraphQLAccess!
19
20# Disable given token by changing expiration date
21#
22# Required permission: admin
23#
24# Arguments
25# token: (self-explanatory)
26revokeAccess(token: String!): GraphQLAccess
27
28# Assigns dynamic and mapped attributes to an object.
29#
30# Required permission: Attribute:write
31#
32# Requires field selected: userErrors
33#
34# Arguments
35# input: (self-explanatory)
36assignAttributes(input: AttributesAssignGenericInput!): AttributesAssignPayload!
37
38# Unassigns dynamic and mapped attributes from an object.
39#
40# Required permission: Attribute:write
41#
42# Requires field selected: userErrors
43#
44# Arguments
45# input: (self-explanatory)
46unassignAttributes(input: AttributesUnassignGenericInput!): AttributesUnassignPayload!
47
48# Create a mapped attribute
49#
50# Required permission: Attribute:write
51#
52# Requires field selected: userErrors
53#
54# Arguments
55# input: (self-explanatory)
56createAttribute(input: AttributeCreateInput!): AttributeCreatePayload!
57
58# Update a mapped attribute
59#
60# Required permission: Attribute:write
61#
62# Requires field selected: userErrors
63#
64# Arguments
65# id: (self-explanatory)
66# input: (self-explanatory)
67updateAttribute(id: Int!, input: AttributeUpdateInput!): AttributeUpdatePayload!
68
69# Create a brand
70#
71# Required permission: Brand:write
72#
73# Requires field selected: userErrors
74#
75# Arguments
76# input: (self-explanatory)
77createBrand(input: BrandCreateInput!): BrandCreatePayload!
78
79# Update a brand
80#
81# Required permission: Brand:write
82#
83# Requires field selected: userErrors
84#
85# Arguments
86# id: (self-explanatory)
87# input: (self-explanatory)
88updateBrand(id: Int!, input: BrandUpdateInput!): BrandUpdatePayload!
89
90# Creates a new collection
91#
92# Required permission: Collection:write
93#
94# Requires field selected: userErrors
95#
96# Arguments
97# input: (self-explanatory)
98createCollection(input: CollectionCreateInput!): CollectionCreatePayload!
99
100# Update a collection
101#
102# Required permission: Collection:write
103#
104# Requires field selected: userErrors
105#
106# Arguments
107# id: (self-explanatory)
108# input: (self-explanatory)
109updateCollection(id: Int!, input: CollectionUpdateInput!): CollectionUpdatePayload!
110
111# Create a new display
112#
113# Required permission: Display:write
114#
115# Requires field selected: userErrors
116#
117# Arguments
118# input: (self-explanatory)
119createDisplay(input: DisplayCreateInput!): DisplayCreatePayload!
120
121# Update an existing display
122#
123# Required permission: Display:write
124#
125# Requires field selected: userErrors
126#
127# Arguments
128# id: (self-explanatory)
129# input: (self-explanatory)
130updateDisplay(id: Int!, input: DisplayUpdateInput!): DisplayUpdatePayload!
131
132# Create a media upload policy
133#
134# Required permission: ProductMedia:write
135#
136# Requires field selected: userErrors
137#
138# Arguments
139# input: (self-explanatory)
140createMediaUpload(input: MediaUploadCreateInput!): MediaUploadCreatePayload!
141
142# Complete media upload by assigning media to:
143#
144# - Product (required permission: 'Product:write')
145#
146# - ProductVariant (required permission: 'ProductVariant:write')
147#
148#
149# Required permission: ProductMedia:write
150#
151# Requires field selected: userErrors
152#
153# Arguments
154# input: (self-explanatory)
155completeMediaUpload(input: MediaUploadCompleteInput!): MediaUploadCompletePayload!
156
157# Update product media
158#
159# Required permission: ProductMedia:write
160#
161# Requires field selected: userErrors
162#
163# Arguments
164# id: (self-explanatory)
165# input: (self-explanatory)
166updateProductMedia(id: Int!, input: ProductMediaUpdateInput!): ProductMediaUpdatePayload!
167
168# Delete a product media
169#
170# Required permission: ProductMedia:write
171#
172# Requires field selected: userErrors
173#
174# Arguments
175# id: (self-explanatory)
176deleteProductMedia(id: Int!): ProductMediaDeletePayload!
177
178# Create a new folder
179#
180# Required permission: Folder:write
181#
182# Requires field selected: userErrors
183#
184# Arguments
185# input: (self-explanatory)
186createFolder(input: FolderCreateInput): FolderCreatePayload!
187
188# Update an existing folder
189#
190# Required permission: Folder:write
191#
192# Requires field selected: userErrors
193#
194# Arguments
195# id: (self-explanatory)
196# input: (self-explanatory)
197updateFolder(id: Int!, input: FolderUpdateInput): FolderUpdatePayload!
198
199# Create a Price Alteration
200#
201# Required permission: Price:write
202#
203# Requires field selected: userErrors
204#
205# Arguments
206# input: (self-explanatory)
207createPriceAlteration(input: PriceAlterationCreateInput!): PriceAlterationPayload!
208
209# Update a Price Alteration
210#
211# Required permission: Price:write
212#
213# Requires field selected: userErrors
214#
215# Arguments
216# id: (self-explanatory)
217# input: (self-explanatory)
218updatePriceAlteration(
219id: Int!,
220input: PriceAlterationUpdateInput!
221): PriceAlterationPayload!
222
223# Create a product
224#
225# Required permission: Product:write
226#
227# Requires field selected: userErrors
228#
229# Arguments
230# input: (self-explanatory)
231createProduct(input: ProductCreateInput!): ProductCreatePayload!
232
233# Update a product
234#
235# Required permission: Product:write
236#
237# Requires field selected: userErrors
238#
239# Arguments
240# id: (self-explanatory)
241# input: (self-explanatory)
242updateProduct(id: Int!, input: ProductUpdateInput!): ProductUpdatePayload!
243
244# Create a product variant
245#
246# Required permission: ProductVariant:write
247#
248# Requires field selected: userErrors
249#
250# Arguments
251# input: (self-explanatory)
252createProductVariant(input: ProductVariantCreateInput!): ProductVariantCreatePayload!
253
254# Update a product variant
255#
256# Required permission: ProductVariant:write
257#
258# Requires field selected: userErrors
259#
260# Arguments
261# id: (self-explanatory)
262# input: (self-explanatory)
263updateProductVariant(
264id: Int!,
265input: ProductVariantUpdateInput!
266): ProductVariantUpdatePayload!
267
268# Add, update or delete a translations for given object and language
269#
270# Required permission: Localization:write
271#
272# Requires field selected: userErrors
273#
274# Arguments
275# input: (self-explanatory)
276localize(input: LocalizeInput!): LocalizePayload!
277
278# Set prices on products for given pricelist.
279# Individual variant prices can also be set from the product price level.
280# You can set up to 100 product prices in one call.
281#
282# Required permission: Price:write
283#
284# Requires field selected: userErrors
285#
286# Arguments
287# input: (self-explanatory)
288setPrices(input: ProductPricesSetInput!): PricesSetPayload!
289
290# Set altered prices on products for given pricelist.
291# Same rules as for setPrices
292#
293# Required permission: Price:write
294#
295# Requires field selected: userErrors
296#
297# Arguments
298# input: (self-explanatory)
299setAlteredPrices(input: ProductAlteredPricesSetInput!): AlteredPricesSetPayload!
300
301# Relate a display to another display
302#
303# Required permission: Display:write
304#
305# Requires field selected: userErrors
306#
307# Arguments
308# input: (self-explanatory)
309addDisplayRelation(input: DisplayRelationAddInput!): DisplayRelationAddPayload!
310
311# Remove a display relation
312#
313# Required permission: Display:write
314#
315# Requires field selected: userErrors
316#
317# Arguments
318# input: (self-explanatory)
319removeDisplayRelation(input: DisplayRelationRemoveInput!): DisplayRelationRemovePayload!
320
321# Create a pricelist
322#
323# Required permission: Pricelist:write
324#
325# Requires field selected: userErrors
326#
327# Arguments
328# input: (self-explanatory)
329createPricelist(input: PricelistCreateInput!): PricelistCreatePayload!
330
331# Update a pricelist
332#
333# Required permission: Pricelist:write
334#
335# Requires field selected: userErrors
336#
337# Arguments
338# id: (self-explanatory)
339# input: (self-explanatory)
340updatePricelist(id: Int!, input: PricelistUpdateInput!): PricelistUpdatePayload!
341
342# Delete a pricelist
343#
344# Required permission: Pricelist:write
345#
346# Requires field selected: userErrors
347#
348# Arguments
349# id: (self-explanatory)
350deletePricelist(id: Int!): PricelistDeletePayload!
351
352# Create a product variant size
353#
354# Required permission: ProductVariant:write
355#
356# Requires field selected: userErrors
357#
358# Arguments
359# input: (self-explanatory)
360createProductSize(input: ProductSizeCreateInput!): ProductSizeCreatePayload!
361
362# Update a product variant size
363#
364# Required permission: ProductVariant:write
365#
366# Requires field selected: userErrors
367#
368# Arguments
369# id: (self-explanatory)
370# input: (self-explanatory)
371updateProductSize(id: Int!, input: ProductSizeUpdateInput!): ProductSizeUpdatePayload!
372
373# Create a delivery window
374#
375# Required permission: DeliveryWindow:write
376#
377# Requires field selected: userErrors
378#
379# Arguments
380# input: (self-explanatory)
381createDeliveryWindow(input: DeliveryWindowCreateInput!): DeliveryWindowCreatePayload!
382
383# Update a delivery window
384#
385# Required permission: DeliveryWindow:write
386#
387# Requires field selected: userErrors
388#
389# Arguments
390# id: (self-explanatory)
391# input: (self-explanatory)
392updateDeliveryWindow(
393id: Int!,
394input: DeliveryWindowUpdateInput!
395): DeliveryWindowUpdatePayload!
396
397# Sets how variants should be available in given delivery window. If provided
398# variant already is assigned to that delivery
399# window then it will be updated with provided parameters.
400#
401# Required permission: DeliveryWindow:write
402#
403# Requires field selected: userErrors
404#
405# Arguments
406# input: (self-explanatory)
407setDeliveryWindowVariants(
408input: DeliveryWindowVariantsSetInput!
409): DeliveryWindowVariantsSetPayload!
410
411# Unsets variants from delivery window
412#
413# Required permission: DeliveryWindow:write
414#
415# Requires field selected: userErrors
416#
417# Arguments
418# input: (self-explanatory)
419unsetDeliveryWindowVariants(
420input: DeliveryWindowVariantsUnsetInput!
421): DeliveryWindowVariantsUnsetPayload!
422
423# Create a shipping
424#
425# Required permission: ShippingOption:write
426#
427# Requires field selected: userErrors
428#
429# Arguments
430# input: (self-explanatory)
431createShippingOption(input: ShippingOptionCreateInput!): ShippingOptionCreatePayload!
432
433# Update a shipping option
434#
435# Required permission: ShippingOption:write
436#
437# Requires field selected: userErrors
438#
439# Arguments
440# id: (self-explanatory)
441# input: (self-explanatory)
442updateShippingOption(
443id: Int!,
444input: ShippingOptionUpdateInput!
445): ShippingOptionUpdatePayload!
446
447# Delete a shipping option
448#
449# Required permission: ShippingOption:write
450#
451# Requires field selected: userErrors
452#
453# Arguments
454# id: (self-explanatory)
455deleteShippingOption(id: Int!): ShippingOptionDeletePayload!
456
457# Change stock for many items
458#
459# Required permission: StockChange:write
460#
461# Requires field selected: userErrors
462#
463# Arguments
464# input: (self-explanatory)
465changeStock(input: StockChangeInput!): StockChangePayload!
466
467# Create a subscription plan
468#
469# Required permission: SubscriptionPlan:write
470#
471# Requires field selected: userErrors
472#
473# Arguments
474# input: (self-explanatory)
475createSubscriptionPlan(
476input: SubscriptionPlanCreateInput!
477): SubscriptionPlanCreatePayload!
478
479# Update a subscription plan
480#
481# Required permission: SubscriptionPlan:write
482#
483# Requires field selected: userErrors
484#
485# Arguments
486# id: (self-explanatory)
487# input: (self-explanatory)
488updateSubscriptionPlan(
489id: Int!,
490input: SubscriptionPlanUpdateInput!
491): SubscriptionPlanUpdatePayload!
492
493# Update a subscription contract
494#
495# Required permission: Subscription:write
496#
497# Requires field selected: userErrors
498#
499# Arguments
500# id: (self-explanatory)
501# input: (self-explanatory)
502updateSubscriptionContract(
503id: Int!,
504input: SubscriptionContractUpdateInput!
505): SubscriptionContractUpdatePayload!
506
507# Set variants to a subscription plan.
508# You can set up to 100 variants in one call.
509#
510# Required permission: SubscriptionPlan:write
511#
512# Requires field selected: userErrors
513#
514# Arguments
515# input: (self-explanatory)
516setSubscriptionPlanVariants(
517input: SubscriptionPlanVariantsSetInput!
518): SubscriptionPlanVariantsSetPayload!
519
520# Unset variants from a subscription plan.
521# You can unset up to 100 variants in one call.
522#
523# Required permission: SubscriptionPlan:write
524#
525# Requires field selected: userErrors
526#
527# Arguments
528# input: (self-explanatory)
529unsetSubscriptionPlanVariants(
530input: SubscriptionPlanVariantsUnsetInput!
531): SubscriptionPlanVariantsUnsetPayload!
532
533# Create a size chart
534#
535# Required permission: SizeChart:write
536#
537# Requires field selected: userErrors
538#
539# Arguments
540# input: (self-explanatory)
541createSizeChart(input: SizeChartCreateInput!): SizeChartCreatePayload!
542
543# Update a size chart. Covers adding, removing and rearranging sizes. For renaming
544# sizes use `updateSizeChartLabels`
545#
546# Required permission: SizeChart:write
547#
548# Requires field selected: userErrors
549#
550# Arguments
551# id: (self-explanatory)
552# input: (self-explanatory)
553updateSizeChart(id: Int!, input: SizeChartUpdateInput!): SizeChartUpdatePayload!
554
555# Update size labels
556#
557# Required permission: SizeChart:write
558#
559# Requires field selected: userErrors
560#
561# Arguments
562# id: (self-explanatory)
563# input: (self-explanatory)
564updateSizeChartLabels(
565id: Int!,
566input: SizeChartLabelsUpdateInput!
567): SizeChartUpdatePayload!
568
569# Merge two size charts into one
570#
571# Required permission: SizeChart:write
572#
573# Requires field selected: userErrors
574#
575# Arguments
576# input: (self-explanatory)
577mergeSizeCharts(input: SizeChartMergeInput!): SizeChartUpdatePayload!
578
579# Delete a size chart
580#
581# Required permission: SizeChart:write
582#
583# Requires field selected: userErrors
584#
585# Arguments
586# id: (self-explanatory)
587deleteSizeChart(id: Int!): SizeChartDeletePayload!
588
589# Create a bundle
590#
591# Required permission: Bundle:write
592#
593# Requires field selected: userErrors
594#
595# Arguments
596# input: (self-explanatory)
597createBundle(input: BundleCreateInput!): BundleCreatePayload!
598
599# Update a bundle
600#
601# Required permission: Bundle:write
602#
603# Requires field selected: userErrors
604#
605# Arguments
606# id: (self-explanatory)
607# input: (self-explanatory)
608updateBundle(id: Int!, input: BundleUpdateInput!): BundleUpdatePayload!
609
610# Create a measurement chart
611#
612# Required permission: MeasurementChart:write
613#
614# Requires field selected: userErrors
615#
616# Arguments
617# input: (self-explanatory)
618createMeasurementChart(
619input: MeasurementChartCreateInput!
620): MeasurementChartCreatePayload!
621
622# Update a measurement chart
623#
624# Required permission: MeasurementChart:write
625#
626# Requires field selected: userErrors
627#
628# Arguments
629# id: (self-explanatory)
630# input: (self-explanatory)
631updateMeasurementChart(
632id: Int!,
633input: MeasurementChartUpdateInput!
634): MeasurementChartUpdatePayload!
635
636# Delete a measurement chart
637#
638# Required permission: MeasurementChart:write
639#
640# Requires field selected: userErrors
641#
642# Arguments
643# id: (self-explanatory)
644deleteMeasurementChart(id: Int!): MeasurementChartDeletePayload!
645
646# Create a customer
647#
648# Required permission: Customer:write
649#
650# Requires field selected: userErrors
651#
652# Arguments
653# input: (self-explanatory)
654createCustomer(input: CustomerCreateInput!): CustomerCreatePayload!
655
656# Update a customer
657#
658# Required permission: Customer:write
659#
660# Requires field selected: userErrors
661#
662# Arguments
663# id: (self-explanatory)
664# input: (self-explanatory)
665updateCustomer(id: Int!, input: CustomerUpdateInput!): CustomerUpdatePayload!
666
667# Delete a customer
668#
669# Required permission: Customer:write
670#
671# Requires field selected: userErrors
672#
673# Arguments
674# id: (self-explanatory)
675deleteCustomer(id: Int!): CustomerDeletePayload!
676
677# Create an account
678#
679# Required permission: Account:write
680#
681# Requires field selected: userErrors
682#
683# Arguments
684# input: (self-explanatory)
685createAccount(input: AccountCreateInput!): AccountCreatePayload!
686
687# Update an account
688#
689# Required permission: Account:write
690#
691# Requires field selected: userErrors
692#
693# Arguments
694# id: (self-explanatory)
695# input: (self-explanatory)
696updateAccount(id: Int!, input: AccountUpdateInput!): AccountUpdatePayload!
697
698# Delete an account
699#
700# Required permission: Account:write
701#
702# Requires field selected: userErrors
703#
704# Arguments
705# id: (self-explanatory)
706deleteAccount(id: Int!): AccountDeletePayload!
707
708# Create an address book entry for an account
709#
710# Required permission: Account:write
711#
712# Arguments
713# input: (self-explanatory)
714createAddressBookEntry(
715input: AddressBookEntryCreateInput!
716): AddressBookEntryCreatePayload!
717
718# Update an address book entry for an account
719#
720# Required permission: Account:write
721#
722# Arguments
723# id: (self-explanatory)
724# input: (self-explanatory)
725updateAddressBookEntry(
726id: Int!,
727input: AddressBookEntryUpdateInput!
728): AddressBookEntryUpdatePayload!
729
730# Delete an address book from an account
731#
732# Required permission: Account:write
733#
734# Requires field selected: userErrors
735#
736# Arguments
737# id: (self-explanatory)
738deleteAddressBookEntry(id: Int!): AddressBookEntryDeletePayload!
739
740# Create a buyer for an account
741#
742# Required permission: Buyer:write
743#
744# Requires field selected: userErrors
745#
746# Arguments
747# input: (self-explanatory)
748createBuyer(input: BuyerCreateInput!): BuyerCreatePayload!
749
750# Update a buyer for an account
751#
752# Required permission: Buyer:write
753#
754# Requires field selected: userErrors
755#
756# Arguments
757# id: (self-explanatory)
758# input: (self-explanatory)
759updateBuyer(id: Int!, input: BuyerUpdateInput!): BuyerUpdatePayload!
760
761# Delete a buyer from an account
762#
763# Required permission: Buyer:write
764#
765# Requires field selected: userErrors
766#
767# Arguments
768# id: (self-explanatory)
769deleteBuyer(id: Int!): BuyerDeletePayload!
770
771# Create a campaign
772#
773# Required permission: Campaign:write
774#
775# Requires field selected: userErrors
776#
777# Arguments
778# input: (self-explanatory)
779createCampaign(input: CampaignCreateInput!): CampaignCreatePayload!
780
781# Update a campaign
782#
783# Required permission: Campaign:write
784#
785# Requires field selected: userErrors
786#
787# Arguments
788# id: (self-explanatory)
789# input: (self-explanatory)
790updateCampaign(id: Int!, input: CampaignUpdateInput!): CampaignUpdatePayload!
791
792# Delete a campaign
793#
794# Required permission: Campaign:write
795#
796# Requires field selected: userErrors
797#
798# Arguments
799# id: (self-explanatory)
800deleteCampaign(id: Int!): CampaignDeletePayload!
801
802# Set campaign variants
803#
804# Required permission: Campaign:write
805#
806# Requires field selected: userErrors
807#
808# Arguments
809# input: (self-explanatory)
810setCampaignVariants(input: CampaignVariantsSetInput!): CampaignVariantsSetPayload!
811
812# Unset campaign variants
813#
814# Required permission: Campaign:write
815#
816# Requires field selected: userErrors
817#
818# Arguments
819# input: (self-explanatory)
820unsetCampaignVariants(input: CampaignVariantsUnsetInput!): CampaignVariantsUnsetPayload!
821
822# Create a market
823#
824# Required permission: Market:write
825#
826# Requires field selected: userErrors
827#
828# Arguments
829# input: (self-explanatory)
830createMarket(input: MarketCreateInput!): MarketCreatePayload!
831
832# Update a market
833#
834# Required permission: Market:write
835#
836# Requires field selected: userErrors
837#
838# Arguments
839# id: (self-explanatory)
840# input: (self-explanatory)
841updateMarket(id: Int!, input: MarketUpdateInput!): MarketUpdatePayload!
842
843# Delete a market
844#
845# Required permission: Market:write
846#
847# Requires field selected: userErrors
848#
849# Arguments
850# id: (self-explanatory)
851deleteMarket(id: Int!): MarketDeletePayload!
852
853# Assign displays to a market
854#
855# Required permission: Display:write
856#
857# Arguments
858# input: (self-explanatory)
859setMarketDisplays(input: MarketDisplaysSetInput!): MarketDisplaysSetPayload!
860
861# Unassign displays from a market
862#
863# Required permission: Display:write
864#
865# Arguments
866# input: (self-explanatory)
867unsetMarketDisplays(input: MarketDisplaysUnsetInput!): MarketDisplaysUnsetPayload!
868
869# Create a category
870#
871# Required permission: Category:write
872#
873# Requires field selected: userErrors
874#
875# Arguments
876# input: (self-explanatory)
877createCategory(input: CategoryCreateInput!): CategoryCreatePayload!
878
879# Update a category
880#
881# Required permission: Category:write
882#
883# Requires field selected: userErrors
884#
885# Arguments
886# id: (self-explanatory)
887# input: (self-explanatory)
888updateCategory(id: Int!, input: CategoryUpdateInput!): CategoryUpdatePayload!
889
890# Delete a category
891#
892# Required permission: Category:write
893#
894# Requires field selected: userErrors
895#
896# Arguments
897# id: (self-explanatory)
898# input: (self-explanatory)
899deleteCategory(id: Int!, input: CategoryDeleteInput! = {deleteChildrenStrategy: RESTRICT_IF_PRESENT}): CategoryDeletePayload!
900
901# Set category displays
902#
903# Required permission: Category:write
904#
905# Requires field selected: userErrors
906#
907# Arguments
908# input: (self-explanatory)
909setCategoryDisplays(input: CategoryDisplaysSetInput!): CategoryDisplaysSetPayload!
910
911# Unset category displays
912#
913# Required permission: Category:write
914#
915# Requires field selected: userErrors
916#
917# Arguments
918# input: (self-explanatory)
919unsetCategoryDisplays(input: CategoryDisplaysUnsetInput!): CategoryDisplaysUnsetPayload!
920
921# Sort displays of a category
922#
923# Required permission: Category:write
924#
925# Requires field selected: userErrors
926#
927# Arguments
928# input: (self-explanatory)
929sortCategoryDisplays(input: CategoryDisplaysSortInput!): CategoryDisplaysSortPayload!
930
931# Create a discount
932#
933# Required permission: Discount:write
934#
935# Requires field selected: userErrors
936#
937# Arguments
938# input: (self-explanatory)
939createDiscount(input: DiscountCreateInput!): DiscountCreatePayload!
940
941# Update a discount
942#
943# Required permission: Discount:write
944#
945# Requires field selected: userErrors
946#
947# Arguments
948# id: (self-explanatory)
949# input: (self-explanatory)
950updateDiscount(id: Int!, input: DiscountUpdateInput!): DiscountUpdatePayload!
951
952# Delete a discount
953#
954# Required permission: Discount:write
955#
956# Requires field selected: userErrors
957#
958# Arguments
959# id: (self-explanatory)
960deleteDiscount(id: Int!): DiscountDeletePayload!
961
962# Add an action to a discount
963#
964# Required permission: Discount:write
965#
966# Requires field selected: userErrors
967#
968# Arguments
969# input: (self-explanatory)
970addDiscountAction(input: DiscountActionCreateInput): DiscountActionCreatePayload!
971
972# Required permission: MediaBatch:write
973#
974# Arguments
975# input: (self-explanatory)
976createMediaBatch(input: MediaBatchCreateInput!): MediaBatchCreatePayload!
977
978}

link Required by

This element is not required by anyone