Skip to main content

clusterProductUpdate

Apply a partial update to a product attached to the supplied cluster.

Only the fields supplied in the input are modified; omitted fields are left untouched. The product is also re-attached to the cluster to repair drift.

Possible errors:

  • CLUSTER_NOT_FOUND: The supplied cluster identifier did not match any cluster.
  • PRODUCT_NOT_FOUND: The supplied product identifier did not match any product.
  • SCHEMA_VALIDATION: One or more input fields failed validation.

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

clusterProductUpdate(
id: Int!
productId: Int!
input: UpdateProductInput!
): Product!

Arguments​

clusterProductUpdate.id ● Int! non-null scalar​

Numeric identifier of the cluster the product is attached to.

clusterProductUpdate.productId ● Int! non-null scalar​

Numeric identifier of the product to update.

clusterProductUpdate.input ● UpdateProductInput! non-null input​

Fields to update on the product. Omitted fields keep their current value.

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.