Skip to main content

attributeUnassign

Unassign attribute from a product type or product. Requires MANAGE_PRODUCTS permission.

attributeUnassign(
attributeIds: [ID!]!
productTypeId: ID
productId: ID
): AttributeUnassign!

Arguments

attributeUnassign.attributeIds ● [ID!]! non-null scalar

attributeUnassign.productTypeId ● ID deprecated scalar

DEPRECATED

Use AttributeUnassignFromProductType mutation instead to unassign attributes from product type. This will be removed on September 27, 2025.

ID of the product type to unassign attributes from.

attributeUnassign.productId ● ID scalar

Type

AttributeUnassign object

Result of attribute unassign mutation.

Was this page helpful?