Mutations

Mutations allow modifing data on the server.

attributeAddMetadata

Adds Attribute metadata.

Input fields:

Returns: AttributeAddMetadataPayload

attributeCreateDate

Creates DateAttribute

Input fields:

Returns: AttributeCreateDatePayload

attributeCreateFile

Creates FileAttribute

Input fields:

Returns: AttributeCreateFilePayload

attributeCreateGallery

Creates GalleryAttribute

Input fields:

Returns: AttributeCreateGalleryPayload

attributeCreateImage

Creates ImageAttribute

Input fields:

Returns: AttributeCreateImagePayload

attributeCreateMultiSelect

Creates MultiSelectAttribute

Input fields:

Returns: AttributeCreateMultiSelectPayload

attributeCreateNumeric

Creates NumericAttribute

Input fields:

Returns: AttributeCreateNumericPayload

attributeCreatePrice

Creates PriceAttribute

Input fields:

Returns: AttributeCreatePricePayload

attributeCreateProductRelation

Creates ProductRelationAttribute

Input fields:

Returns: AttributeCreateProductRelationPayload

attributeCreateSelect

Creates SelectAttribute

Input fields:

Returns: AttributeCreateSelectPayload

attributeCreateTextarea

Creates TextareaAttribute

Input fields:

Returns: AttributeCreateTextareaPayload

attributeCreateText

Creates TextAttribute

Input fields:

Returns: AttributeCreateTextPayload

attributeCreateUnit

Creates UnitAttribute

Input fields:

Returns: AttributeCreateUnitPayload

attributeDateSetFormat

Sets a DateAttribute format.

Input fields:

Returns: AttributeDateSetFormatPayload

attributeDelete

Deletes Attribute.

Input fields:

Returns: AttributeDeletePayload

attributeDeleteMetadata

Deletes Attribute metadata.

Input fields:

Returns: AttributeDeleteMetadataPayload

attributeMultiSelectAddOption

Adds a MultiSelectAttribute option.

Input fields:

Returns: AttributeMultiSelectAddOptionPayload

attributeMultiSelectDeleteOption

Deletes a MultiSelectAttribute option.

Input fields:

Returns: AttributeMultiSelectDeleteOptionPayload

attributeMultiSelectSetOptionName

Sets a MultiSelectAttribute option name.

Input fields:

Returns: AttributeMultiSelectSetOptionNamePayload

attributeMultiSelectSetOptions

Sets a MultiSelectAttribute options.

Input fields:

Returns: AttributeMultiSelectSetOptionsPayload

attributeOptionAddCustomFieldImage

Adds a custom field to OptionAttribute.

Input fields:

Returns: AttributeOptionAddCustomFieldImagePayload

attributeOptionAddCustomFieldTextarea

Adds a custom field to OptionAttribute.

Input fields:

Returns: AttributeOptionAddCustomFieldTextareaPayload

attributeOptionAddCustomFieldTextareaRTE

Adds a custom field to OptionAttribute.

Input fields:

Returns: AttributeOptionAddCustomFieldTextareaRTEPayload

attributeOptionAddCustomFieldText

Adds a custom field to OptionAttribute.

Input fields:

Returns: AttributeOptionAddCustomFieldTextPayload

attributeOptionAddOptionCustomFieldValueTranslationsImage

Deletes custom field value translations from a Option.

Input fields:

Returns: AttributeOptionAddOptionCustomFieldValueTranslationsImagePayload

attributeOptionAddOptionCustomFieldValueTranslationsTextarea

Deletes custom field value translations from a Option.

Input fields:

Returns: AttributeOptionAddOptionCustomFieldValueTranslationsTextareaPayload

attributeOptionAddOptionCustomFieldValueTranslationsTextareaRTE

Deletes custom field value translations from a Option.

Input fields:

Returns: AttributeOptionAddOptionCustomFieldValueTranslationsTextareaRTEPayload

attributeOptionAddOptionCustomFieldValueTranslationsText

Deletes custom field value translations from a Option.

Input fields:

Returns: AttributeOptionAddOptionCustomFieldValueTranslationsTextPayload

attributeOptionDeleteCustomField

Deletes custom field from an OptionAttribute.

Input fields:

Returns: AttributeOptionDeleteCustomFieldPayload

attributeOptionDeleteOptionCustomFieldValueTranslations

Deletes custom field value translations from a Option.

Input fields:

Returns: AttributeOptionDeleteOptionCustomFieldValueTranslationsPayload

attributePriceSetCurrency

Sets a PriceAttribute currency.

Input fields:

Returns: AttributePriceSetCurrencyPayload

attributeSelectAddOption

Adds a SelectAttribute option.

Input fields:

Returns: AttributeSelectAddOptionPayload

attributeSelectDeleteOption

Deletes a SelectAttribute option.

Input fields:

Returns: AttributeSelectDeleteOptionPayload

attributeSelectSetOptionName

Sets a SelectAttribute option name.

Input fields:

Returns: AttributeSelectSetOptionNamePayload

attributeSelectSetOptions

Sets a SelectAttribute options.

Input fields:

Returns: AttributeSelectSetOptionsPayload

attributeSetName

Sets Attribute name.

Input fields:

Returns: AttributeSetNamePayload

attributeTextareaSetRichEdit

Sets a TextareaAttribute richEdit.

Input fields:

Returns: AttributeTextareaSetRichEditPayload

attributeUnitSetUnit

Sets an UnitAttribute unit.

Input fields:

Returns: AttributeUnitSetUnitPayload

categoryAddAttributeValueTranslationsDate

Adds a DateAttribute value translations to a category.

Input fields:

Returns: CategoryAddAttributeValueTranslationsDatePayload

categoryAddAttributeValueTranslationsFile

Adds a FileAttribute value translations to a category.

Input fields:

Returns: CategoryAddAttributeValueTranslationsFilePayload

categoryAddAttributeValueTranslationsGallery

Adds a GalleryAttribute value translations to a category.

Input fields:

Returns: CategoryAddAttributeValueTranslationsGalleryPayload

categoryAddAttributeValueTranslationsImage

Adds a ImageAttribute value translations to a category.

Input fields:

Returns: CategoryAddAttributeValueTranslationsImagePayload

categoryAddAttributeValueTranslationsMultiSelect

Adds a MultiSelectAttribute value translations to a category.

Input fields:

Returns: CategoryAddAttributeValueTranslationsMultiSelectPayload

categoryAddAttributeValueTranslationsNumeric

Adds a NumericAttribute value translations to a category.

Input fields:

Returns: CategoryAddAttributeValueTranslationsNumericPayload

categoryAddAttributeValueTranslationsPrice

Adds a PriceAttribute value translations to a category.

Input fields:

Returns: CategoryAddAttributeValueTranslationsPricePayload

categoryAddAttributeValueTranslationsProductRelation

Adds a ProductRelationAttribute value translations to a category.

Input fields:

Returns: CategoryAddAttributeValueTranslationsProductRelationPayload

categoryAddAttributeValueTranslationsSelect

Adds a SelectAttribute value translations to a category.

Input fields:

Returns: CategoryAddAttributeValueTranslationsSelectPayload

categoryAddAttributeValueTranslationsTextarea

Adds a TextareaAttribute value translations to a category.

Input fields:

Returns: CategoryAddAttributeValueTranslationsTextareaPayload

categoryAddAttributeValueTranslationsText

Adds a TextAttribute value translations to a category.

Input fields:

Returns: CategoryAddAttributeValueTranslationsTextPayload

categoryAddAttributeValueTranslationsUnit

Adds a UnitAttribute value translations to a category.

Input fields:

Returns: CategoryAddAttributeValueTranslationsUnitPayload

categoryAttributeAddAttribute

Adds an Attribute as allowed to be used in Category.

Input fields:

Returns: CategoryAttributeAddAttributePayload

categoryAttributeRemoveAttribute

Removes an Attribute as allowed to be used in Category.

Input fields:

Returns: CategoryAttributeRemoveAttributePayload

categoryCreate

Creates a Category.

Input fields:

Returns: CategoryCreatePayload

categoryDeleteAttributeValueTranslations

Deletes an attribute value translations from a Category.

Input fields:

Returns: CategoryDeleteAttributeValueTranslationsPayload

categoryDelete

Deletes a Category.

Input fields:

Returns: CategoryDeletePayload

categorySetName

Sets a Category name.

Input fields:

Returns: CategorySetNamePayload

multimediaCreate

Creates a Multimedia.

Input fields:

Returns: MultimediaCreatePayload

multimediaDelete

Deletes a Multimedia.

Input fields:

Returns: MultimediaDeletePayload

multimediaFolderCreate

Creates a MultimediaFolder.

Input fields:

Returns: MultimediaFolderCreatePayload

multimediaMove

Moves a Multimedia to MultimediaFolder. Multimedia.path identifier is changed as a result.

Input fields:

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:

Returns: MultimediaReplacePayload

multimediaSetAlt

Sets a Multimedia alt.

Input fields:

Returns: MultimediaSetAltPayload

multimediaSetName

Sets a Multimedia name.

Input fields:

Returns: MultimediaSetNamePayload

multimediaSetTitle

Sets a Multimedia title.

Input fields:

Returns: MultimediaSetTitlePayload

productAddAttributeValueTranslationsDate

Adds a DateAttribute value translations to a product.

Input fields:

Returns: ProductAddAttributeValueTranslationsDatePayload

productAddAttributeValueTranslationsFile

Adds a FileAttribute value translations to a product.

Input fields:

Returns: ProductAddAttributeValueTranslationsFilePayload

productAddAttributeValueTranslationsGallery

Adds a GalleryAttribute value translations to a product.

Input fields:

Returns: ProductAddAttributeValueTranslationsGalleryPayload

productAddAttributeValueTranslationsImage

Adds a ImageAttribute value translations to a product.

Input fields:

Returns: ProductAddAttributeValueTranslationsImagePayload

productAddAttributeValueTranslationsMultiSelect

Adds a MultiSelectAttribute value translations to a product.

Input fields:

Returns: ProductAddAttributeValueTranslationsMultiSelectPayload

productAddAttributeValueTranslationsNumeric

Adds a NumericAttribute value translations to a product.

Input fields:

Returns: ProductAddAttributeValueTranslationsNumericPayload

productAddAttributeValueTranslationsPrice

Adds a PriceAttribute value translations to a product.

Input fields:

Returns: ProductAddAttributeValueTranslationsPricePayload

productAddAttributeValueTranslationsProductRelation

Adds a ProductRelationAttribute value translations to a product.

Input fields:

Returns: ProductAddAttributeValueTranslationsProductRelationPayload

productAddAttributeValueTranslationsSelect

Adds a SelectAttribute value translations to a product.

Input fields:

Returns: ProductAddAttributeValueTranslationsSelectPayload

productAddAttributeValueTranslationsTextarea

Adds a TextareaAttribute value translations to a product.

Input fields:

Returns: ProductAddAttributeValueTranslationsTextareaPayload

productAddAttributeValueTranslationsText

Adds a TextAttribute value translations to a product.

Input fields:

Returns: ProductAddAttributeValueTranslationsTextPayload

productAddAttributeValueTranslationsUnit

Adds a UnitAttribute value translations to a product.

Input fields:

Returns: ProductAddAttributeValueTranslationsUnitPayload

productAddCategories

Adds a product to categories.

Input fields:

Returns: ProductAddCategoriesPayload

productCreateGrouping

Creates a GroupingProduct.

Input fields:

Returns: ProductCreateGroupingPayload

productCreateSimple

Creates a SimpleProduct.

Input fields:

Returns: ProductCreateSimplePayload

productCreateVariable

Creates a VariableProduct.

Input fields:

Returns: ProductCreateVariablePayload

productDeleteAttributeValueTranslations

Deletes an attribute value translations from a Product.

Input fields:

Returns: ProductDeleteAttributeValueTranslationsPayload

productDelete

Deletes a product.

Input fields:

Returns: ProductDeletePayload

productGroupingAddChild

Adds a child product to a GroupingProduct.

Input fields:

Returns: ProductGroupingAddChildPayload

productGroupingRemoveChild

Removes a child product from a GroupingProduct.

Input fields:

Returns: ProductGroupingRemoveChildPayload

productGroupingSetChildQuantity

Set a child product quantity of a GroupingProduct.

Input fields:

Returns: ProductGroupingSetChildQuantityPayload

productRemoveCategories

Removes a product from categories.

Input fields:

Returns: ProductRemoveCategoriesPayload

productSetTemplate

Sets a product Template.

Input fields:

Returns: ProductSetTemplatePayload

productVariableAddVariant

Adds a variant product to a VariableProduct.

Input fields:

Returns: ProductVariableAddVariantPayload

productVariableRemoveVariant

Removes a variant product from a VariableProduct.

Input fields:

Returns: ProductVariableRemoveVariantPayload

productVariableSetBindings

Sets binding attributes to VariableProduct.

Input fields:

Returns: ProductVariableSetBindingsPayload

Last updated