← API reference
CANONICAL TYPE REFERENCE

UpsertCostCategoryInput

Input for creating or updating a cost category

ID for update; omit for create

External system identifier

nameString!

Category name (required)

codeString!

Unique category code (required)

Description

Unit of measure (required)

isActiveBoolean

Whether the category is active

View exact SDL
"""Input for creating or updating a cost category"""
input UpsertCostCategoryInput {
  """ID for update; omit for create"""
  id: CostCategoryID
  """External system identifier"""
  externalId: String
  """Category name (required)"""
  name: String!
  """Unique category code (required)"""
  code: String!
  """Description"""
  description: String
  """Unit of measure (required)"""
  unit: CostCategoryUnit!
  """Whether the category is active"""
  isActive: Boolean
}

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