← API reference
Mutation / costing

upsertCostCategory

Create or update a cost category. Requires costcategory:write permission.

Arguments

Cost category data

Returns UpsertCostCategoryPayload!

Explore in a view

ERP Costing
View exact SDL
"""
Create or update a cost category. Requires costcategory:write permission.
"""
upsertCostCategory(
  """Cost category data"""
  input: UpsertCostCategoryInput!
): UpsertCostCategoryPayload! @topic(names: ["costing"])

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