upsertJourney
Topics: Surfaces
Create a journey or overwrite its open draft. PERSONAL is self-service; TEAM/INSTANCE require journey:write.
Returns
JourneyPayload!Arguments
The journey document plus its scope and team assignments. The definition's id (the handle) selects the journey to edit, or creates one if no journey in the tenant carries that handle.
Exact field SDL
"""
Create a journey or overwrite its open draft. PERSONAL is self-service; TEAM/INSTANCE require journey:write.
"""
upsertJourney(
"""
The journey document plus its scope and team assignments. The definition's `id` (the handle) selects the journey to edit, or creates one if no journey in the tenant carries that handle.
"""
input: UpsertJourneyInput!
): JourneyPayload! @topic(names: ["surfaces"])Declared on Mutation. Access is checked by the platform for each operation.