Apps & SurfacesMu Mutation

updateJourney

Topics: Surfaces

Patch an existing journey — only provided fields are changed. Owner for PERSONAL, else journey:write.

Returns

JourneyPayload!

Arguments

id

JourneyID!Required

TypeID of the journey to patch (prefix jny). This, not the definition's handle, identifies the record; the handle is never reassigned.

The aspects to change. Omitted fields leave the journey untouched.

Exact field SDL
"""
Patch an existing journey — only provided fields are changed. Owner for PERSONAL, else journey:write.
"""
updateJourney(
  """
  TypeID of the journey to patch (prefix `jny`). This, not the definition's handle, identifies the record; the handle is never reassigned.
  """
  id: JourneyID!
  """The aspects to change. Omitted fields leave the journey untouched."""
  input: UpdateJourneyInput!
): JourneyPayload! @topic(names: ["surfaces"])

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