getCostCenterBy
Topics: Commerce
Fetch a cost center by external ID or code. Requires costcenter:read permission.
Exact field 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"])Declared on Query. Access is checked by the platform for each operation.