Skip to main content

ProductAttributeAssignInput

No description

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

Fields

ProductAttributeAssignInput.id ● ID! non-null scalar miscellaneous

The ID of the attribute to assign.

ProductAttributeAssignInput.type ● ProductAttributeType! non-null enum products

The attribute type to be assigned as.

ProductAttributeAssignInput.variantSelection ● Boolean scalar miscellaneous

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

Added in Saleor 3.1

Member Of

productAttributeAssign mutation