← API reference
Mutation / costing

updateRecordedCost

Update a recorded cost. Only provided fields are changed. Requires recordedcost:write permission.

Arguments

Recorded cost ID to update

Fields to update — only provided fields are changed

Returns UpsertRecordedCostPayload!

Explore in a view

ERP Costing
View exact SDL
"""
Update a recorded cost. Only provided fields are changed. Requires recordedcost:write permission.
"""
updateRecordedCost(
  """Recorded cost ID to update"""
  id: RecordedCostID!
  """Fields to update — only provided fields are changed"""
  input: UpdateRecordedCostInput!
): UpsertRecordedCostPayload! @topic(names: ["costing"])

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