Update all sections for an MVT experience

Replaces all existing sections and their versions for a multivariate (MVT) experience with the provided list. If a section or version from the existing configuration is not included in the request, it will be removed. The order of sections, versions, and changes is important and will be preserved. This is a comprehensive update for the entire MVT structure.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
integer
required

ID of the account that owns the retrieved/saved data

integer
required

ID of the project to which save/retrieved data is connected

integer
required

The ID of the exeprience for which to update sections

Query Params
include
array of objects

Array parameter that would mention extra fields to be included into the response; otherwise those fields would be excluded by default

Read more in the section related to Optional Fields

include
expand
array of strings

Specifies the list of objects which would be expanded in the response. Otherwise, only their id would be returned.

Read more in the section related to Expanding Fields

expand
Body Params

Request body for updating all sections (and their versions/changes) for a Multivariate (MVT) experience. The provided list of sections will completely replace the existing MVT structure. Any existing sections not included in the request will be removed. The order of sections, versions, and changes is significant and will be preserved. Caution: Major structural changes to an active MVT can invalidate test results.

sections
array of objects

An array of UpdateSectionRequestData objects. Each object defines a section and its complete set of versions and changes.

  • To update an existing section, provide its id and modified name or versions.
  • To add a new section, provide a new unique id (1-2 chars), name, and its versions.
  • Sections from the current MVT configuration not present in this array will be deleted.
sections
string | null

A server-generated hash that represents the object's state at the time of retrieval. When included in an update request, the operation will only succeed if the object hasn't been modified since this key was obtained. If another update has occurred in the meantime, the request will fail with a conflict error, requiring you to fetch the latest version and retry your update with the new concurrency_key. This implements optimistic concurrency control to prevent lost updates in concurrent scenarios.

Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json