Journeys

Replace a journey

Changed on

Replaces a journey's working draft, leaving the published version live until you publish. Reach for this when editing a journey already running.

put/journeys/{templateId}

Request

Path parameters

templateIdstring required

Journey id

Request body

namestring required
enabledboolean
state'DRAFT' | 'PUBLISHED'

Lifecycle state of a journey.

Response

Updated journey

idstring required
namestring required
state'DRAFT' | 'PUBLISHED' required

Lifecycle state of a journey.

enabledboolean required
createdinteger nullable required
creatorstring nullable required
updatedinteger nullable required
updaterstring nullable required
publishedinteger nullable required

Changes

    • info

      added the new optional request property ////

    • info

      added the optional property //// to the response with the status

    • breaking

      the response property //// became optional for the status

    • info

      added the new optional request property ///

    • info

      the request property //// became optional

    • info

      added the optional property /// to the response with the status