---
title: ProductAttributeAssign Object
seo:
  title: ProductAttributeAssign Object
  description: 'Object: ProductAttributeAssign Object'
slug: api-reference/products/objects/product-attribute-assign
sidebar:
  label: ProductAttributeAssign
search:
  tags:
    - API reference
    - Products
lastModified: '2026-04-13'
---

Assign attributes to a given product type. 



Requires one of the following permissions: `MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES`.





```graphql
type ProductAttributeAssign {
  productType: ProductType
  productErrors: [ProductError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [ProductError!]!
}
```


## Fields

### productType [#product-type]

**`productType`** · [`ProductType`](/api-reference/products/objects/product-type)

The updated product type.
### productErrors [#product-errors]

**`productErrors`** · [`[ProductError!]!`](/api-reference/products/objects/product-error)



:::warning[Deprecated]
Use `errors` field instead.
:::

### errors [#errors]

**`errors`** · [`[ProductError!]!`](/api-reference/products/objects/product-error)



## Used by

- [productAttributeAssign (mutations)](/api-reference/products/mutations/product-attribute-assign)

---

Schema: **Saleor 3.23.43**. [Download SDL](/schema/saleor.graphql).
