Query / commerce
getCostCenter
Fetch a single cost center by ID. Requires costcenter:read permission.
Arguments
idCostCenterID!Cost center ID to fetch
Returns CostCenterState
Scalar fields at a glance
idCostCenterID!externalIdStringbusinessUnitIdBusinessUnitID!nameString!codeString!descriptionStringExplore in a view
View exact SDL
"""Fetch a single cost center by ID. Requires costcenter:read permission."""
getCostCenter(
"""Cost center ID to fetch"""
id: CostCenterID!
): CostCenterState @topic(names: ["commerce"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.