List sandbox test products
curl --request GET \
--url https://sandbox.kalixo.io/v2/sandbox/scenarios \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://sandbox.kalixo.io/v2/sandbox/scenarios', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox.kalixo.io/v2/sandbox/scenarios"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.kalixo.io/v2/sandbox/scenarios",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"products": [
{
"productCode": "10999000412573",
"name": "Kalixo Test - Success (Fixed)",
"price": 499,
"currencyCode": "GBP",
"denominationType": "fixed",
"isSandboxProduct": true,
"expectedOutcome": "completed with SANDBOX-* test code(s)",
"sampleOrderLine": {
"productCode": "10999000412573",
"quantity": 1,
"price": 499
}
},
{
"productCode": "10999000412581",
"name": "Kalixo Test - Success (Open)",
"price": 1000,
"currencyCode": "GBP",
"denominationType": "open",
"isSandboxProduct": true,
"expectedOutcome": "completed - send line price for open denomination",
"sampleOrderLine": {
"productCode": "10999000412581",
"quantity": 1,
"price": 1000
}
},
{
"productCode": "10999000412599",
"name": "Kalixo Test - Async Failure",
"price": 499,
"currencyCode": "GBP",
"denominationType": "fixed",
"isSandboxProduct": true,
"expectedOutcome": "failed (no codes)",
"sampleOrderLine": {
"productCode": "10999000412599",
"quantity": 1,
"price": 499
}
},
{
"productCode": "10999000412607",
"name": "Kalixo Test - Partial Completion",
"price": 499,
"currencyCode": "GBP",
"denominationType": "fixed",
"isSandboxProduct": true,
"expectedOutcome": "partially_completed when qty ≥ 2 (odd units succeed)",
"sampleOrderLine": {
"productCode": "10999000412607",
"quantity": 1,
"price": 499
}
},
{
"productCode": "10999000412615",
"name": "Kalixo Test - Slow Processing",
"price": 499,
"currencyCode": "GBP",
"denominationType": "fixed",
"isSandboxProduct": true,
"expectedOutcome": "processing ~10s then completed",
"sampleOrderLine": {
"productCode": "10999000412615",
"quantity": 1,
"price": 499
}
}
],
"note": "Kalixo Test products appear in GET /v2/catalog/products alongside your assigned catalog. All sandbox orders return SANDBOX-* test codes only."
}Sandbox
List sandbox test products
Sandbox only. Returns the Kalixo Test products with their expected outcome and a sampleOrderLine you can send to POST /orders as-is. The same products appear in GET /catalog/products with brand Kalixo Test and isSandboxProduct: true. On the production API this endpoint returns 404.
GET
/
sandbox
/
scenarios
List sandbox test products
curl --request GET \
--url https://sandbox.kalixo.io/v2/sandbox/scenarios \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://sandbox.kalixo.io/v2/sandbox/scenarios', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://sandbox.kalixo.io/v2/sandbox/scenarios"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.kalixo.io/v2/sandbox/scenarios",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}{
"products": [
{
"productCode": "10999000412573",
"name": "Kalixo Test - Success (Fixed)",
"price": 499,
"currencyCode": "GBP",
"denominationType": "fixed",
"isSandboxProduct": true,
"expectedOutcome": "completed with SANDBOX-* test code(s)",
"sampleOrderLine": {
"productCode": "10999000412573",
"quantity": 1,
"price": 499
}
},
{
"productCode": "10999000412581",
"name": "Kalixo Test - Success (Open)",
"price": 1000,
"currencyCode": "GBP",
"denominationType": "open",
"isSandboxProduct": true,
"expectedOutcome": "completed - send line price for open denomination",
"sampleOrderLine": {
"productCode": "10999000412581",
"quantity": 1,
"price": 1000
}
},
{
"productCode": "10999000412599",
"name": "Kalixo Test - Async Failure",
"price": 499,
"currencyCode": "GBP",
"denominationType": "fixed",
"isSandboxProduct": true,
"expectedOutcome": "failed (no codes)",
"sampleOrderLine": {
"productCode": "10999000412599",
"quantity": 1,
"price": 499
}
},
{
"productCode": "10999000412607",
"name": "Kalixo Test - Partial Completion",
"price": 499,
"currencyCode": "GBP",
"denominationType": "fixed",
"isSandboxProduct": true,
"expectedOutcome": "partially_completed when qty ≥ 2 (odd units succeed)",
"sampleOrderLine": {
"productCode": "10999000412607",
"quantity": 1,
"price": 499
}
},
{
"productCode": "10999000412615",
"name": "Kalixo Test - Slow Processing",
"price": 499,
"currencyCode": "GBP",
"denominationType": "fixed",
"isSandboxProduct": true,
"expectedOutcome": "processing ~10s then completed",
"sampleOrderLine": {
"productCode": "10999000412615",
"quantity": 1,
"price": 499
}
}
],
"note": "Kalixo Test products appear in GET /v2/catalog/products alongside your assigned catalog. All sandbox orders return SANDBOX-* test codes only."
}