โ† API reference
Query / commerce

getCostCenterBy

Fetch a cost center by external ID or code. Requires costcenter:read permission.

Arguments

externalIdString

External system identifier

codeString

Cost center code

Returns CostCenterState

Scalar fields at a glance

externalIdString
businessUnitIdBusinessUnitID!
nameString!
codeString!
descriptionString
โ†— View the complete CostCenterState type

Explore in a view

Order Intake
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.