Skip to main content

productTypeReorderAttributes Mutation

Reorder the attributes of a product type.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.
productTypeReorderAttributes(
moves: [ReorderInput!]!
productTypeId: ID!
type: ProductAttributeType!
): ProductTypeReorderAttributes
Details
type ProductTypeReorderAttributes {
productType: ProductType
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
}

Arguments

moves ● [ReorderInput!]!

The list of attribute reordering operations.

productTypeId ● ID!

ID of a product type.

type ● ProductAttributeType!

The attribute type to reorder.

Type

ProductTypeReorderAttributes

Reorder the attributes of a product type.

Requires the MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.