Skip to main content

clusterOptionAssignProducts

Attach existing products to a cluster option so they become selectable for it.

Per-item outcomes are returned through the updated cluster option.

Possible errors:

  • CLUSTER_OPTION_NOT_FOUND: The supplied cluster option identifier did not match any option.
  • PRODUCT_NOT_FOUND: One or more of the supplied product identifiers did not match any product.

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

clusterOptionAssignProducts(
uuid: String!
productIds: [Float!]!
): ClusterOption!

Arguments

clusterOptionAssignProducts.uuid ● String! non-null scalar

Global identifier of the cluster option to attach products to.

clusterOptionAssignProducts.productIds ● [Float!]! non-null scalar

Identifiers of the products to attach to the cluster option.

Type

ClusterOption object

Cluster option for configuring cluster product selections