Skip to main content

productVariantReorderAttributeValues Mutation

Reorder product variant attribute values.

Requires the MANAGE_PRODUCTSpermission.
productVariantReorderAttributeValues(
attributeId: ID!
moves: [ReorderInput!]!
variantId: ID!
): ProductVariantReorderAttributeValues
Show return type

Arguments

attributeId ● ID!

ID of an attribute.

moves ● [ReorderInput!]!

The list of reordering operations for given attribute values.

variantId ● ID!

ID of a product variant.

Type

ProductVariantReorderAttributeValues

Reorder product variant attribute values.

Requires the MANAGE_PRODUCTSpermission.