Skip to main content

productClusterOptionMoveAbove

Reorder a product within its cluster option so it appears immediately before another product.

Both products must belong to the same cluster option. The full list of product relationships in that option after the move is returned so callers can update their UI in a single round trip.

Possible errors:

  • CLUSTER_OPTION_NOT_FOUND: One or both of the supplied product identifiers do not belong to the same cluster option.

AUTH: Role=[product.OWNER,product.EDITOR]

productClusterOptionMoveAbove(
productUuid: String!
targetProductUuid: String!
): [ProductClusterOptionRelationship!]!

Arguments

productClusterOptionMoveAbove.productUuid ● String! non-null scalar

Global identifier of the product to move.

productClusterOptionMoveAbove.targetProductUuid ● String! non-null scalar

Global identifier of the product the moved product should appear immediately before.

Type

ProductClusterOptionRelationship object