Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

productAttributeAssign Mutation

Assign attributes to a given product type.

Requires one of the following permissions:MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES
productAttributeAssign(operations: [ProductAttributeAssignInput!]!, productTypeId: ID!): ProductAttributeAssign

Returns

ProductAttributeAssign

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

Arguments

operations

operations · [ProductAttributeAssignInput!]!

The operations to perform.

productTypeId

productTypeId · ID!

ID of the product type to assign the attributes into.


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?