Skip to main content

productAttributeAssign Mutation

Assign attributes to a given product type.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.
productAttributeAssign(
operations: [ProductAttributeAssignInput!]!
productTypeId: ID!
): ProductAttributeAssign

Arguments

productAttributeAssign.operations ● [ProductAttributeAssignInput!]! non-null input products

The operations to perform.

productAttributeAssign.productTypeId ● ID! non-null scalar miscellaneous

ID of the product type to assign the attributes into.

Type

ProductAttributeAssign object products

Assign attributes to a given product type.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.