Varify icon

Varify

Interact with the Varify.io A/B testing platform

Experiment → Update

AI-generated

Summary

Update an existing Varify experiment by ID, sending the supplied experiment fields, variations, or targeting rules in a PATCH request.

Inputs

  • Experiment ID (required) — ID of the experiment to update.
  • Name — New experiment name; blank is described as keeping the current name.
  • Page URL — Updated page URL; blank is described as keeping the current URL.
  • Page Name — Updated page name; blank is described as keeping the current name.
  • Tracking Enabled — Whether tracking is enabled. Defaults to true.
  • GA4 Audience ID — Google Analytics 4 audience ID for the experiment.
  • Status — Status to set: Active, Archived, Initial, Paused, or QA. Defaults to Initial.
  • Variations — JSON variations to update or create. Include an ID to update an existing variation; omit the ID to create one.
  • Audience Targeting — JSON targeting rules as a nested array, such as [[{"type":"device","operator":"equals","value":"desktop"}]].
  • Page Targeting — JSON page targeting rules as a nested array, such as [[{"type":"URL","operator":"contains","value":"/products"}]].
  • Request Options — Optional batching, SSL certificate validation, proxy, and request timeout settings.

Output shape

A single API response item containing the result of the experiment update.

Uses the configured Varify API base URL and required Varify OAuth2 credentials. The update request is PATCH /papi/experiments/{experimentId}. Although several fields are described as leaving the current value unchanged when blank, the source does not show how blank fields are handled at runtime.

Links

Discussion