updateCostCenter
Topics: Commerce
Update a cost center. Only provided fields are changed. Requires costcenter:write permission.
Returns
UpsertCostCenterPayload!Arguments
Cost center ID to update
Fields to update — only provided fields are changed
Exact field 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"])Declared on Mutation. Access is checked by the platform for each operation.