Skip to main content

productAttributeAssignmentUpdate Mutation

Update attributes assigned to product variant for given product type.

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

Arguments

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

The operations to perform.

productAttributeAssignmentUpdate.productTypeId ● ID! non-null scalar miscellaneous

ID of the product type to assign the attributes into.

Type

ProductAttributeAssignmentUpdate object products

Update attributes assigned to product variant for given product type.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.