← API reference
CANONICAL TYPE REFERENCE

UpdateJourneyInput

Patch input for updateJourney — every field is optional and an omitted field leaves that aspect of the journey unchanged. The journey is identified by the mutation's id argument, not by this input.

Observed journey revision; when supplied, concurrent edits must match before the update is applied.

sourceString

Author-owned cococo-journey-source/1 JSON envelope containing sourceXML. Compiled JSON is server-owned.

New distribution scope. Omitted leaves the journey's current scope. Moving a journey out of PERSONAL requires journey:write; a PERSONAL journey can only ever be touched by its owner.

Team TypeIDs (prefix tea) to assign when the resulting scope is TEAM. Patch semantics: omitting it leaves existing assignments untouched (unlike upsertJourney, which always replaces them). Each must belong to the caller's tenant.

View exact SDL
"""
Patch input for `updateJourney` — every field is optional and an omitted field leaves that aspect of the journey unchanged. The journey is identified by the mutation's `id` argument, not by this input.
"""
input UpdateJourneyInput {
  """
  Observed journey revision; when supplied, concurrent edits must match before the update is applied.
  """
  expectedRevision: Int
  """
  Author-owned cococo-journey-source/1 JSON envelope containing sourceXML. Compiled JSON is server-owned.
  """
  source: String
  """
  New distribution scope. Omitted leaves the journey's current scope. Moving a journey out of PERSONAL requires journey:write; a PERSONAL journey can only ever be touched by its owner.
  """
  scope: JourneyScope
  """
  Team TypeIDs (prefix `tea`) to assign when the resulting scope is TEAM. Patch semantics: omitting it leaves existing assignments untouched (unlike `upsertJourney`, which always replaces them). Each must belong to the caller's tenant.
  """
  teamIds: [TeamID!]
}

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