Mutation / commerce
updateCostCenter
Update a cost center. Only provided fields are changed. Requires costcenter:write permission.
Arguments
idCostCenterID!Cost center ID to update
inputUpdateCostCenterInput!Fields to update — only provided fields are changed
Returns UpsertCostCenterPayload!
Explore in a view
View exact SDL
"""
Update a cost center. Only provided fields are changed. Requires costcenter:write permission.
"""
updateCostCenter(
"""Cost center ID to update"""
id: CostCenterID!
"""Fields to update — only provided fields are changed"""
input: UpdateCostCenterInput!
): UpsertCostCenterPayload! @topic(names: ["commerce"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.