List checkout A/B tests
curl --request GET \
--url https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"abTests": [
{
"id": "66c4a1b2e4b0a1d2c3f4a5b6",
"name": "Free shipping threshold",
"description": "Does a $50 free shipping threshold lift AOV?",
"active": true,
"isConcluded": false,
"concludedToControl": false,
"startDate": "2026-09-15T00:00:00.000Z",
"createdAt": "2026-09-14T18:22:10.000Z",
"treatments": [
{
"name": "Control",
"weight": 50,
"isControl": true,
"isWinner": false
},
{
"name": "$50 threshold",
"weight": 50,
"isControl": false,
"isWinner": false
}
]
},
{
"id": "66a0e7d3e4b0a1d2c3f4a5c1",
"name": "Express upsell",
"description": "Show express shipping first.",
"active": false,
"isConcluded": true,
"concludedToControl": false,
"startDate": "2026-07-01T00:00:00.000Z",
"endDate": "2026-08-01T00:00:00.000Z",
"createdAt": "2026-06-30T12:00:00.000Z",
"treatments": [
{
"name": "Control",
"weight": 50,
"isControl": true,
"isWinner": false
},
{
"name": "Express first",
"weight": 50,
"isControl": false,
"isWinner": true
}
]
}
],
"totalCount": 2
}{
"detail": "<string>",
"instance": "<string>",
"title": "<string>",
"type": "about:blank"
}Checkout A/B Tests
List checkout A/B tests
List the store’s checkout A/B tests, newest first: whether each is running or concluded, when it ran, and its treatments with their traffic weights. This returns test metadata only, not statistical results.
A test has a winner only when it concluded to a treatment other than the
control. When concludedToControl is true, no treatment has isWinner
set, and the test did not produce a winner.
Requires the checkout_read scope.
GET
/
stores
/
{storeId}
/
checkout-ab-tests
List checkout A/B tests
curl --request GET \
--url https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.getredo.com/v2.2/stores/{storeId}/checkout-ab-tests")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"abTests": [
{
"id": "66c4a1b2e4b0a1d2c3f4a5b6",
"name": "Free shipping threshold",
"description": "Does a $50 free shipping threshold lift AOV?",
"active": true,
"isConcluded": false,
"concludedToControl": false,
"startDate": "2026-09-15T00:00:00.000Z",
"createdAt": "2026-09-14T18:22:10.000Z",
"treatments": [
{
"name": "Control",
"weight": 50,
"isControl": true,
"isWinner": false
},
{
"name": "$50 threshold",
"weight": 50,
"isControl": false,
"isWinner": false
}
]
},
{
"id": "66a0e7d3e4b0a1d2c3f4a5c1",
"name": "Express upsell",
"description": "Show express shipping first.",
"active": false,
"isConcluded": true,
"concludedToControl": false,
"startDate": "2026-07-01T00:00:00.000Z",
"endDate": "2026-08-01T00:00:00.000Z",
"createdAt": "2026-06-30T12:00:00.000Z",
"treatments": [
{
"name": "Control",
"weight": 50,
"isControl": true,
"isWinner": false
},
{
"name": "Express first",
"weight": 50,
"isControl": false,
"isWinner": true
}
]
}
],
"totalCount": 2
}{
"detail": "<string>",
"instance": "<string>",
"title": "<string>",
"type": "about:blank"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Store ID
Example:
"64e5a8a1af49a89df37e4ee7"
Query Parameters
true also returns deleted A/B tests. Omit, or pass false, to return only tests that have not been deleted.
Available options:
true, false Was this page helpful?