← API reference
Mutation / costing

updateCostCategory

Update a cost category in place. Only provided fields are changed. Requires costcategory:write permission.

Arguments

Cost category ID to update

Fields to update — only provided fields are changed

Returns UpsertCostCategoryPayload!

Explore in a view

ERP Costing
View exact SDL
"""
Update a cost category in place. Only provided fields are changed. Requires costcategory:write permission.
"""
updateCostCategory(
  """Cost category ID to update"""
  id: CostCategoryID!
  """Fields to update — only provided fields are changed"""
  input: UpdateCostCategoryInput!
): UpsertCostCategoryPayload! @topic(names: ["costing"])

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