Skip to main content

attributeCreate Mutation

Creates an attribute.

Triggers the following webhook events:

  • ATTRIBUTE_CREATED (async): An attribute was created.
attributeCreate(
input: AttributeCreateInput!
): AttributeCreate
Details
type AttributeCreate {
attribute: Attribute
attributeErrors: [AttributeError!]! @deprecated
errors: [AttributeError!]!
}

Arguments

input ● AttributeCreateInput!

Fields required to create an attribute.

Type

AttributeCreate

Creates an attribute.

Triggers the following webhook events:

  • ATTRIBUTE_CREATED (async): An attribute was created.