← API reference
Mutation / commerce

updateProduct

Update a product. Only provided fields are changed. Requires product:write permission.

Arguments

Product ID to update

Fields to update — only provided fields are changed

Returns UpsertProductPayload!

Explore in a view

Order Intake
View exact SDL
"""
Update a product. Only provided fields are changed. Requires product:write permission.
"""
updateProduct(
  """Product ID to update"""
  id: ProductID!
  """Fields to update — only provided fields are changed"""
  input: UpdateProductInput!
): UpsertProductPayload! @topic(names: ["commerce"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.