Skip to main content
Version: 3.x

productAttributeAssign

Assign attributes to a given product type.

Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.

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

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 one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.