Skip to main content

productAttributeAssignmentUpdate Mutation

Update attributes assigned to product variant for given product type.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.
productAttributeAssignmentUpdate(
operations: [ProductAttributeAssignmentUpdateInput!]!
productTypeId: ID!
): ProductAttributeAssignmentUpdate
Show return type

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.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.