Journeys

patchUpdateJourney

Changed on

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

patch/v1/journey/configuration

Request

  • Base URL
    https://journey-config.sls.epilot.io
  • URL
    https://journey-config.sls.epilot.io/v1/journey/configuration
  • Auth
    HTTP bearer

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)",
    "settings": {
      "embedOptions": {
        "lang": "de"
      },
      "offline": {
        "packTtlHours": 24
      }
    },
    "validationRules": {
      "block1": "rule123",
      "block2": [
        "rule456",
        "rule789"
      ],
      "block3": {
        "field1": "rule101",
        "field2": [
          "rule102",
          "rule103"
        ]
      }
    },
    "_manifest": [
      "123e4567-e89b-12d3-a456-426614174000"
    ]
  }
}

Changes

    • info

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

    • info

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

    • info

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