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

# productAttributeAssignmentUpdate Mutation

Update attributes assigned to product variant for given product type.

Requires the MANAGE\_PRODUCT\_TYPES\_AND\_ATTRIBUTES permission.

```graphql
productAttributeAssignmentUpdate(
  operations: [ProductAttributeAssignmentUpdateInput!]!
  productTypeId: ID!
): ProductAttributeAssignmentUpdate
```

Details

```graphql
type ProductAttributeAssignmentUpdate {
  productType: ProductType
  productErrors: [ProductError!]! @deprecated
  errors: [ProductError!]!
}
```

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

### Arguments

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

#### [`operations`](#operations) ● [`[ProductAttributeAssignmentUpdateInput!]!`](/api-reference/products/inputs/product-attribute-assignment-update-input.md)

The operations to perform.

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

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

ID of the product type to assign the attributes into.

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

### Type

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

#### [`ProductAttributeAssignmentUpdate`](/api-reference/products/objects/product-attribute-assignment-update.md)

Update attributes assigned to product variant for given product type.

Requires the MANAGE\_PRODUCT\_TYPES\_AND\_ATTRIBUTES permission.
