Skip to main content

clusterOptionProductUpdate

Apply a partial update to a product attached to a cluster option.

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

Possible errors:

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

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

Arguments

clusterOptionProductUpdate.id ● Int! non-null scalar

Numeric identifier of the cluster option the product is attached to.

clusterOptionProductUpdate.productId ● Int! non-null scalar

Numeric identifier of the product to update.

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