Journeys

patchUpdateJourney

Update a Journey (partially / patch). Support for nested properties updates (e.g. "property[0].name").

patch/v1/journey/configuration

Request body

journeyIdstring uuid required
__lastModifiedAtstring nullable

If passed with value of null, the API won't modify the lastModifiedAt field on updating the journey

Example request

{
  "journeyId": "509cdffe-424f-457a-95c2-9708c304ce77"
}

Response

Success

Example response

{
  "createdJourney": {
    "journey_type": "Sales template (Premium)",
    "validationRules": {
      "block1": "rule123",
      "block2": [
        "rule456",
        "rule789"
      ],
      "block3": {
        "field1": "rule101",
        "field2": [
          "rule102",
          "rule103"
        ]
      }
    },
    "_manifest": [
      "123e4567-e89b-12d3-a456-426614174000"
    ]
  }
}

Changes