Mutation / commerce
updateProduct
Update a product. Only provided fields are changed. Requires product:write permission.
Arguments
idProductID!Product ID to update
inputUpdateProductInput!Fields to update — only provided fields are changed
Returns UpsertProductPayload!
Explore in a view
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.