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
Details
type ProductAttributeAssignmentUpdate {
productType: ProductType
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
}

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.