Skip to main content

clusterOptionProductCreate

Create a product directly within a cluster option.

The product is created in the catalogue and automatically attached to the cluster option so it becomes selectable for the option.

Possible errors:

  • CLUSTER_OPTION_NOT_FOUND: The supplied cluster option identifier did not match any option.
  • PRODUCT_EXISTS: A product with the supplied SKU or source identifier already exists.
  • SCHEMA_VALIDATION: One or more input fields failed validation.

AUTH: Role=[product.OWNER]

clusterOptionProductCreate(
id: Int!
input: CreateProductInput!
): Product!

Arguments

clusterOptionProductCreate.id ● Int! non-null scalar

Numeric identifier of the cluster option the new product should be attached to.

clusterOptionProductCreate.input ● CreateProductInput! non-null input

Product creation data including localized content, SKU and status.

Type

Product object

Product entity representing items in the product catalog.

External entity from the product service that provides basic product identification and categorization. Used as a reference for product-specific attributes and relationships within the attribute system.