Skip to main content

clusterOptionCreate

Create a new configuration option for a product cluster.

Adds a new selectable option to a cluster, allowing customers to choose from different product variants or configurations. Each option can have its own pricing, availability, and product associations.

Possible errors:

  • CREATE_CLUSTER_OPTION_ERROR: Failed to create the cluster option

AUTH: Role=[product.OWNER]

clusterOptionCreate(
clusterId: Int!
input: ClusterOptionCreateInput!
): ClusterOption!

Arguments

clusterOptionCreate.clusterId ● Int! non-null scalar

Unique identifier of the cluster to add the option to.

Must be a valid cluster ID that exists in the system.

clusterOptionCreate.input ● ClusterOptionCreateInput! non-null input

Cluster option creation data including configuration and metadata.

Contains option details, pricing information, and product associations needed to create a functional cluster option.

Type

ClusterOption object