> Documentation index: [Saleor](/llms.txt) · [This section](/api-reference/products/llms.txt)
> Source: https://docs.saleor.io/api-reference/products/inputs/product-attribute-assign-input

# ProductAttributeAssignInput Input Type

No description

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

<a id="fields"></a>

### Fields

<a id="id"></a>

#### [`id`](#id) ● [`ID!`](/api-reference/miscellaneous/scalars/id.md)

The ID of the attribute to assign.

<a id="type"></a>

#### [`type`](#type) ● [`ProductAttributeType!`](/api-reference/products/enums/product-attribute-type.md)

The attribute type to be assigned as.

<a id="variant-selection"></a>

#### [`variantSelection`](#variant-selection) ● [`Boolean`](/api-reference/miscellaneous/scalars/boolean.md)

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

<a id="member-of"></a>

### Member Of

[`productAttributeAssign`](/api-reference/products/mutations/product-attribute-assign.md) mutation
