Skip to main content

clusterProductCreate

Create a product within the supplied cluster.

The product is created in the catalogue and automatically attached to the cluster so it becomes selectable through the cluster's options.

Possible errors:

  • CLUSTER_NOT_FOUND: The supplied cluster identifier did not match any cluster.
  • 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]

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

Arguments​

clusterProductCreate.id ● Int! non-null scalar​

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

clusterProductCreate.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.