Skip to main content

attributeValueCreate Mutation

Creates a value for an attribute.

Requires MANAGE_PRODUCTSpermission.

Triggers the following webhook events:

  • ATTRIBUTE_VALUE_CREATED (async): An attribute value was created.
  • ATTRIBUTE_UPDATED (async): An attribute was updated.
attributeValueCreate(
attribute: ID!
input: AttributeValueCreateInput!
): AttributeValueCreate

Arguments

attributeValueCreate.attribute ● ID! non-null scalar miscellaneous

Attribute to which value will be assigned.

attributeValueCreate.input ● AttributeValueCreateInput! non-null input attributes

Fields required to create an AttributeValue.

Type

AttributeValueCreate object attributes

Creates a value for an attribute.

Requires MANAGE_PRODUCTSpermission.

Triggers the following webhook events:

  • ATTRIBUTE_VALUE_CREATED (async): An attribute value was created.
  • ATTRIBUTE_UPDATED (async): An attribute was updated.