Skip to main content

productAttributeAssign Mutation

Assign attributes to a given product type.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.
productAttributeAssign(
operations: [ProductAttributeAssignInput!]!
productTypeId: ID!
): ProductAttributeAssign
Show return type

Arguments

operations ● [ProductAttributeAssignInput!]!

The operations to perform.

productTypeId ● ID!

ID of the product type to assign the attributes into.

Type

ProductAttributeAssign

Assign attributes to a given product type.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.