← API reference
Mutation / costing

updateOperationCostMapping

Update an operation cost mapping. Only provided fields are changed. Requires costcategory:write permission.

Arguments

TypeID of the mapping to update ("ocm_01K…"). Must belong to the calling tenant, otherwise the mutation returns a not-found error.

The fields to change; omitted fields keep their current values.

Returns UpsertOperationCostMappingPayload!

Explore in a view

ERP Costing
View exact SDL
"""
Update an operation cost mapping. Only provided fields are changed. Requires costcategory:write permission.
"""
updateOperationCostMapping(
  """
  TypeID of the mapping to update ("ocm_01K…"). Must belong to the calling tenant, otherwise the mutation returns a not-found error.
  """
  id: OperationCostMappingID!
  """The fields to change; omitted fields keep their current values."""
  input: UpdateOperationCostMappingInput!
): UpsertOperationCostMappingPayload! @topic(names: ["costing"])

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