Skip to main content

productVariantReorderAttributeValues Mutation

Reorder product variant attribute values.

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

Arguments

productVariantReorderAttributeValues.attributeId ● ID! non-null scalar miscellaneous

ID of an attribute.

productVariantReorderAttributeValues.moves ● [ReorderInput!]! non-null input miscellaneous

The list of reordering operations for given attribute values.

productVariantReorderAttributeValues.variantId ● ID! non-null scalar miscellaneous

ID of a product variant.

Type

ProductVariantReorderAttributeValues object products

Reorder product variant attribute values.

Requires MANAGE_PRODUCTSpermission.