Query / commerce
getCostCenterBy
Fetch a cost center by external ID or code. Requires costcenter:read permission.
Arguments
externalIdStringExternal system identifier
codeStringCost center code
Returns CostCenterState
Scalar fields at a glance
idCostCenterID!externalIdStringbusinessUnitIdBusinessUnitID!nameString!codeString!descriptionStringExplore in a view
View exact SDL
"""
Fetch a cost center by external ID or code. Requires costcenter:read permission.
"""
getCostCenterBy(
"""External system identifier"""
externalId: String
"""Cost center code"""
code: String
): CostCenterState @topic(names: ["commerce"])Schema reference describes the API contract. Actual access is checked by the platform for every operation.