Variants

Update a variant

Renames the variant and/or changes how it triggers. Behavior changes are saved as unpublished draft changes — call POST /variants/{id}/publish to push them live. Traffic is set via /campaigns/{id}/traffic_split. Requires variants:write.

patch/api/v1/variants/{id}

Request

  • Base URL
    https://app.convertflow.co
  • Auth
    HTTP bearer

Request body

namestring

Response

variant updated as a draft

idinteger
campaign_idinteger
namestring
variationstring
percentageinteger nullable
colorstring
screenshotunknown
scoreinteger
score_fieldunknown
unpublishedboolean
buildingboolean
build_failedboolean
created_atstring date-time
updated_atstring date-time
has_custom_codeboolean

Changes

No recorded changes to this operation across all 1 revision of this API.