Sales & CRMQu Query

getCostCenter

Topics: Commerce

Fetch a single cost center by ID. Requires costcenter:read permission.

Returns

CostCenterState

Arguments

Cost center ID to fetch

Exact field SDL
"""Fetch a single cost center by ID. Requires costcenter:read permission."""
getCostCenter(
  """Cost center ID to fetch"""
  id: CostCenterID!
): CostCenterState @topic(names: ["commerce"])

Declared on Query. Access is checked by the platform for each operation.