Skip to main content
Version: 3.x

ProductAttributeAssignInput

No description

input ProductAttributeAssignInput {
id: ID!
type: ProductAttributeType!
variantSelection: Boolean
}

Fields

ProductAttributeAssignInput.id ● ID! non-null scalar

The ID of the attribute to assign.

ProductAttributeAssignInput.type ● ProductAttributeType! non-null enum

The attribute type to be assigned as.

ProductAttributeAssignInput.variantSelection ● Boolean scalar

Whether attribute is allowed in variant selection. Allowed types are: ['dropdown', 'boolean', 'swatch', 'numeric'].

Added in Saleor 3.1

Member of

productAttributeAssign mutation


Was this page helpful?