Skip to main content
Version: 3.x

productAttributeAssignmentUpdate

Update attributes assigned to product variant for given product type.

Added in Saleor 3.1.

Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.

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

Arguments

operations ([ProductAttributeAssignmentUpdateInput!]!)

The operations to perform.

productTypeId (ID!)

ID of the product type to assign the attributes into.

Type

ProductAttributeAssignmentUpdate

Update attributes assigned to product variant for given product type.

Added in Saleor 3.1.

Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.