Skip to main content

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 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.

Added in Saleor 3.1
Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.