Skip to main content
Version: 3.x

productAttributeAssignmentUpdate

Update attributes assigned to product variant for given product type.

Added in Saleor 3.1
Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.
productAttributeAssignmentUpdate(
operations: [ProductAttributeAssignmentUpdateInput!]!
productTypeId: ID!
): ProductAttributeAssignmentUpdate

Arguments

productAttributeAssignmentUpdate.operations ● [ProductAttributeAssignmentUpdateInput!]! non-null input

The operations to perform.

productAttributeAssignmentUpdate.productTypeId ● ID! non-null scalar

ID of the product type to assign the attributes into.

Type

ProductAttributeAssignmentUpdate object

Update attributes assigned to product variant for given product type.

Added in Saleor 3.1
Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Was this page helpful?