From 80afb259999e2a5f8d34fcfdafd57ae263e6efa9 Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Tue, 7 Dec 2021 13:53:19 +0100 Subject: [PATCH] docs: document variant payloads. --- website/docs/advanced/feature-toggle-variants.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/website/docs/advanced/feature-toggle-variants.md b/website/docs/advanced/feature-toggle-variants.md index b69572ad31..ba2f29d27d 100644 --- a/website/docs/advanced/feature-toggle-variants.md +++ b/website/docs/advanced/feature-toggle-variants.md @@ -58,6 +58,14 @@ For instance, if you have three variable weight variants and two fixed weight va ### Variant payload +Each variant can have an associated payload. Use this to add more context or data to a payload that you can access on the client, such as a customized message or other information. + +Unleash currently supports these payload types: + +- JSON +- CSV +- String + ### Overrides ### Variant stickiness