← API reference
CANONICAL TYPE REFERENCE

UpsertCostRateInput

Input for creating or updating a cost rate. Creating with an existing rate's category/center creates a new version.

ID for update; omit for create

Associated cost category ID (required)

Associated cost center ID (optional)

rateFloat!

Rate amount (required)

Currency code (required)

Effective start date (defaults to today)

Effective end date (null = no end)

View exact SDL
"""
Input for creating or updating a cost rate. Creating with an existing rate's category/center creates a new version.
"""
input UpsertCostRateInput {
  """ID for update; omit for create"""
  id: CostRateID
  """Associated cost category ID (required)"""
  costCategoryId: CostCategoryID!
  """Associated cost center ID (optional)"""
  costCenterId: CostCenterID
  """Rate amount (required)"""
  rate: Float!
  """Currency code (required)"""
  currency: CurrencyISO!
  """Effective start date (defaults to today)"""
  effectiveFrom: String
  """Effective end date (null = no end)"""
  effectiveTo: String
}

One stable address across all schema views. Follow a field’s type to explore connections between domains.