Mutations
Mutations allow modifing data on the server.
attributeAddMetadata
Adds Attribute
metadata.
Input fields:
input
Returns: AttributeAddMetadataPayload
attributeCreateDate
Creates DateAttribute
Input fields:
input
Returns: AttributeCreateDatePayload
attributeCreateFile
Creates FileAttribute
Input fields:
input
Returns: AttributeCreateFilePayload
attributeCreateGallery
Creates GalleryAttribute
Input fields:
input
Returns: AttributeCreateGalleryPayload
attributeCreateImage
Creates ImageAttribute
Input fields:
input
Returns: AttributeCreateImagePayload
attributeCreateMultiSelect
Creates MultiSelectAttribute
Input fields:
input
Returns: AttributeCreateMultiSelectPayload
attributeCreateNumeric
Creates NumericAttribute
Input fields:
input
Returns: AttributeCreateNumericPayload
attributeCreatePrice
Creates PriceAttribute
Input fields:
input
Returns: AttributeCreatePricePayload
attributeCreateProductRelation
Creates ProductRelationAttribute
Input fields:
input
Returns: AttributeCreateProductRelationPayload
attributeCreateSelect
Creates SelectAttribute
Input fields:
input
Returns: AttributeCreateSelectPayload
attributeCreateTextarea
Creates TextareaAttribute
Input fields:
input
Returns: AttributeCreateTextareaPayload
attributeCreateText
Creates TextAttribute
Input fields:
input
Returns: AttributeCreateTextPayload
attributeCreateUnit
Creates UnitAttribute
Input fields:
input
Returns: AttributeCreateUnitPayload
attributeDateSetFormat
Sets a DateAttribute
format.
Input fields:
input
Returns: AttributeDateSetFormatPayload
attributeDelete
Deletes Attribute
.
Input fields:
input
Returns: AttributeDeletePayload
attributeDeleteMetadata
Deletes Attribute
metadata.
Input fields:
input
Returns: AttributeDeleteMetadataPayload
attributeMultiSelectAddOption
Adds a MultiSelectAttribute
option.
Input fields:
input
Returns: AttributeMultiSelectAddOptionPayload
attributeMultiSelectDeleteOption
Deletes a MultiSelectAttribute
option.
Input fields:
input
Returns: AttributeMultiSelectDeleteOptionPayload
attributeMultiSelectSetOptionName
Sets a MultiSelectAttribute
option name.
Input fields:
input
Returns: AttributeMultiSelectSetOptionNamePayload
attributeMultiSelectSetOptions
Sets a MultiSelectAttribute
options.
Input fields:
input
Returns: AttributeMultiSelectSetOptionsPayload
attributeOptionAddCustomFieldImage
Adds a custom field to OptionAttribute
.
Input fields:
input
Returns: AttributeOptionAddCustomFieldImagePayload
attributeOptionAddCustomFieldTextarea
Adds a custom field to OptionAttribute
.
Input fields:
input
Returns: AttributeOptionAddCustomFieldTextareaPayload
attributeOptionAddCustomFieldTextareaRTE
Adds a custom field to OptionAttribute
.
Input fields:
input
Returns: AttributeOptionAddCustomFieldTextareaRTEPayload
attributeOptionAddCustomFieldText
Adds a custom field to OptionAttribute
.
Input fields:
input
Returns: AttributeOptionAddCustomFieldTextPayload
attributeOptionAddOptionCustomFieldValueTranslationsImage
Adds custom field value translations to an Option
.
Input fields:
input
Returns: AttributeOptionAddOptionCustomFieldValueTranslationsImagePayload
attributeOptionAddOptionCustomFieldValueTranslationsTextarea
Adds custom field value translations to an Option
.
Input fields:
input
Returns: AttributeOptionAddOptionCustomFieldValueTranslationsTextareaPayload
attributeOptionAddOptionCustomFieldValueTranslationsTextareaRTE
Adds custom field value translations to an Option
.
Input fields:
input
Returns: AttributeOptionAddOptionCustomFieldValueTranslationsTextareaRTEPayload
attributeOptionAddOptionCustomFieldValueTranslationsText
Adds custom field value translations to an Option
.
Input fields:
input
Returns: AttributeOptionAddOptionCustomFieldValueTranslationsTextPayload
attributeOptionDeleteCustomField
Deletes custom field from an OptionAttribute
.
Input fields:
input
Returns: AttributeOptionDeleteCustomFieldPayload
attributeOptionDeleteOptionCustomFieldValueTranslations
Deletes custom field value translations from a Option
.
Input fields:
input
Returns: AttributeOptionDeleteOptionCustomFieldValueTranslationsPayload
attributePriceSetCurrency
Sets a PriceAttribute
currency.
Input fields:
input
Returns: AttributePriceSetCurrencyPayload
attributeSelectAddOption
Adds a SelectAttribute
option.
Input fields:
input
Returns: AttributeSelectAddOptionPayload
attributeSelectDeleteOption
Deletes a SelectAttribute
option.
Input fields:
input
Returns: AttributeSelectDeleteOptionPayload
attributeSelectSetOptionName
Sets a SelectAttribute
option name.
Input fields:
input
Returns: AttributeSelectSetOptionNamePayload
attributeSelectSetOptions
Sets a SelectAttribute
options.
Input fields:
input
Returns: AttributeSelectSetOptionsPayload
attributeSetName
Sets Attribute
name.
Input fields:
input
Returns: AttributeSetNamePayload
attributeTextareaSetRichEdit
Sets a TextareaAttribute
richEdit.
Input fields:
input
Returns: AttributeTextareaSetRichEditPayload
attributeUnitSetUnit
Sets an UnitAttribute
unit.
Input fields:
input
Returns: AttributeUnitSetUnitPayload
categoryAddAttributeValueTranslationsDate
Adds a DateAttribute
value translations to a category.
Input fields:
input
Returns: CategoryAddAttributeValueTranslationsDatePayload
categoryAddAttributeValueTranslationsFile
Adds a FileAttribute
value translations to a category.
Input fields:
input
Returns: CategoryAddAttributeValueTranslationsFilePayload
categoryAddAttributeValueTranslationsGallery
Adds a GalleryAttribute
value translations to a category.
Input fields:
input
Returns: CategoryAddAttributeValueTranslationsGalleryPayload
categoryAddAttributeValueTranslationsImage
Adds a ImageAttribute
value translations to a category.
Input fields:
input
Returns: CategoryAddAttributeValueTranslationsImagePayload
categoryAddAttributeValueTranslationsMultiSelect
Adds a MultiSelectAttribute
value translations to a category.
Input fields:
input
Returns: CategoryAddAttributeValueTranslationsMultiSelectPayload
categoryAddAttributeValueTranslationsNumeric
Adds a NumericAttribute
value translations to a category.
Input fields:
input
Returns: CategoryAddAttributeValueTranslationsNumericPayload
categoryAddAttributeValueTranslationsPrice
Adds a PriceAttribute
value translations to a category.
Input fields:
input
Returns: CategoryAddAttributeValueTranslationsPricePayload
categoryAddAttributeValueTranslationsProductRelation
Adds a ProductRelationAttribute
value translations to a category.
Input fields:
input
Returns: CategoryAddAttributeValueTranslationsProductRelationPayload
categoryAddAttributeValueTranslationsSelect
Adds a SelectAttribute
value translations to a category.
Input fields:
input
Returns: CategoryAddAttributeValueTranslationsSelectPayload
categoryAddAttributeValueTranslationsTextarea
Adds a TextareaAttribute
value translations to a category.
Input fields:
input
Returns: CategoryAddAttributeValueTranslationsTextareaPayload
categoryAddAttributeValueTranslationsText
Adds a TextAttribute
value translations to a category.
Input fields:
input
Returns: CategoryAddAttributeValueTranslationsTextPayload
categoryAddAttributeValueTranslationsUnit
Adds a UnitAttribute
value translations to a category.
Input fields:
input
Returns: CategoryAddAttributeValueTranslationsUnitPayload
categoryAttributeAddAttribute
Adds an Attribute
as allowed to be used in Category
.
Input fields:
input
Returns: CategoryAttributeAddAttributePayload
categoryAttributeRemoveAttribute
Removes an Attribute
as allowed to be used in Category
.
Input fields:
input
Returns: CategoryAttributeRemoveAttributePayload
categoryCreate
Creates a Category
.
Input fields:
input
Returns: CategoryCreatePayload
categoryDeleteAttributeValueTranslations
Deletes an attribute value translations from a Category
.
Input fields:
input
Returns: CategoryDeleteAttributeValueTranslationsPayload
categoryDelete
Deletes a Category
.
Input fields:
input
Returns: CategoryDeletePayload
categorySetName
Sets a Category
name.
Input fields:
input
Returns: CategorySetNamePayload
multimediaCreate
Creates a Multimedia
.
Input fields:
input
Returns: MultimediaCreatePayload
multimediaDelete
Deletes a Multimedia
.
Input fields:
input
Returns: MultimediaDeletePayload
multimediaFolderCreate
Creates a MultimediaFolder
.
Input fields:
input
Returns: MultimediaFolderCreatePayload
multimediaFolderDelete
Deletes a MultimediaFolder
.
Input fields:
input
Returns: MultimediaFolderDeletePayload
multimediaMove
Moves a Multimedia
to MultimediaFolder
. Multimedia.path
identifier is changed as a result.
Input fields:
input
Returns: MultimediaMovePayload
multimediaReplace
Replaces a Multimedia
with given MultimediaPath
. As a result new Multimedia
is created, all relations to it are replaced with a new resource, and the existing one is deleted.
Input fields:
input
Returns: MultimediaReplacePayload
multimediaSetAlt
Sets a Multimedia
alt.
Input fields:
input
Returns: MultimediaSetAltPayload
multimediaSetName
Sets a Multimedia
name.
Input fields:
input
Returns: MultimediaSetNamePayload
multimediaSetTitle
Sets a Multimedia
title.
Input fields:
input
Returns: MultimediaSetTitlePayload
productAddAttributeValueTranslationsDate
Adds a DateAttribute
value translations to a product.
Input fields:
input
Returns: ProductAddAttributeValueTranslationsDatePayload
productAddAttributeValueTranslationsFile
Adds a FileAttribute
value translations to a product.
Input fields:
input
Returns: ProductAddAttributeValueTranslationsFilePayload
productAddAttributeValueTranslationsGallery
Adds a GalleryAttribute
value translations to a product.
Input fields:
input
Returns: ProductAddAttributeValueTranslationsGalleryPayload
productAddAttributeValueTranslationsImage
Adds a ImageAttribute
value translations to a product.
Input fields:
input
Returns: ProductAddAttributeValueTranslationsImagePayload
productAddAttributeValueTranslationsMultiSelect
Adds a MultiSelectAttribute
value translations to a product.
Input fields:
input
Returns: ProductAddAttributeValueTranslationsMultiSelectPayload
productAddAttributeValueTranslationsNumeric
Adds a NumericAttribute
value translations to a product.
Input fields:
input
Returns: ProductAddAttributeValueTranslationsNumericPayload
productAddAttributeValueTranslationsPrice
Adds a PriceAttribute
value translations to a product.
Input fields:
input
Returns: ProductAddAttributeValueTranslationsPricePayload
productAddAttributeValueTranslationsProductRelation
Adds a ProductRelationAttribute
value translations to a product.
Input fields:
input
Returns: ProductAddAttributeValueTranslationsProductRelationPayload
productAddAttributeValueTranslationsSelect
Adds a SelectAttribute
value translations to a product.
Input fields:
input
Returns: ProductAddAttributeValueTranslationsSelectPayload
productAddAttributeValueTranslationsTextarea
Adds a TextareaAttribute
value translations to a product.
Input fields:
input
Returns: ProductAddAttributeValueTranslationsTextareaPayload
productAddAttributeValueTranslationsText
Adds a TextAttribute
value translations to a product.
Input fields:
input
Returns: ProductAddAttributeValueTranslationsTextPayload
productAddAttributeValueTranslationsUnit
Adds a UnitAttribute
value translations to a product.
Input fields:
input
Returns: ProductAddAttributeValueTranslationsUnitPayload
productAddCategories
Adds a product to categories.
Input fields:
input
Returns: ProductAddCategoriesPayload
productCreateGrouping
Creates a GroupingProduct
.
Input fields:
input
Returns: ProductCreateGroupingPayload
productCreateSimple
Creates a SimpleProduct
.
Input fields:
input
Returns: ProductCreateSimplePayload
productCreateVariable
Creates a VariableProduct
.
Input fields:
input
Returns: ProductCreateVariablePayload
productDeleteAttributeValueTranslations
Deletes an attribute value translations from a Product
.
Input fields:
input
Returns: ProductDeleteAttributeValueTranslationsPayload
productDelete
Deletes a product.
Input fields:
input
Returns: ProductDeletePayload
productGroupingAddChild
Adds a child product to a GroupingProduct
.
Input fields:
input
Returns: ProductGroupingAddChildPayload
productGroupingRemoveChild
Removes a child product from a GroupingProduct
.
Input fields:
input
Returns: ProductGroupingRemoveChildPayload
productGroupingSetChildQuantity
Set a child product quantity of a GroupingProduct
.
Input fields:
input
Returns: ProductGroupingSetChildQuantityPayload
productRemoveCategories
Removes a product from categories.
Input fields:
input
Returns: ProductRemoveCategoriesPayload
productSetStatus
Sets a product status.
Input fields:
input
Returns: ProductSetStatusPayload
productSetTemplate
Sets a product Template
.
Input fields:
input
Returns: ProductSetTemplatePayload
productVariableAddVariant
Adds a variant product to a VariableProduct
.
Input fields:
input
Returns: ProductVariableAddVariantPayload
productVariableRemoveVariant
Removes a variant product from a VariableProduct
.
Input fields:
input
Returns: ProductVariableRemoveVariantPayload
productVariableSetBindings
Sets binding attributes to VariableProduct
.
Input fields:
input
Returns: ProductVariableSetBindingsPayload
Last updated