← All types
Sales & CRMIn Input object

UpsertBusinessUnitInput

Input for creating or updating a business unit

Fields

ID for update; omit for create

External system identifier

HTTP(S) link to this record in the external system. Requires an external identity. Omit to preserve the existing link, or pass null to clear it. Removing the external identity also removes its link.

Parent business unit ID for hierarchy

name

String!Required

Business unit name (required)

code

String!Required

Unique code (required)

Description

Whether the business unit is active

Referenced by (1)
Exact type SDL
"""Input for creating or updating a business unit"""
input UpsertBusinessUnitInput {
  """ID for update; omit for create"""
  id: BusinessUnitID
  """External system identifier"""
  externalId: String
  """
  HTTP(S) link to this record in the external system. Requires an external identity. Omit to preserve the existing link, or pass null to clear it. Removing the external identity also removes its link.
  """
  externalUrl: String
  """Parent business unit ID for hierarchy"""
  parentId: BusinessUnitID
  """Business unit name (required)"""
  name: String!
  """Unique code (required)"""
  code: String!
  """Description"""
  description: String
  """Whether the business unit is active"""
  isActive: Boolean
}