Skip to main content
Version: 3.x

attributeValueCreate

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

Attribute to which value will be assigned.

attributeValueCreate.input ● AttributeValueCreateInput! non-null input

Fields required to create an AttributeValue.

Type

AttributeValueCreate object

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.

Was this page helpful?