Documentation Index
Fetch the complete documentation index at: https://docs.abconvert.io/llms.txt
Use this file to discover all available pages before exploring further.
Preview — this page is an early draft. We’re still verifying the API reference against the current endpoints. Fields, response shapes, and examples may change before this section is marked stable. Follow PRO-1459 or ask in
#abconvert-dev if you’re integrating against this today.Price experiments
ABConvert offers two strategies for price testing, each with its own endpoint.v1 — Duplicate variant strategy
Creates a price experiment by duplicating existing product variants and assigning the new price to the duplicate. Compatible with all Shopify plans.Request body
A descriptive name for the experiment, shown in the ABConvert dashboard.
One or more products to enroll in the experiment.
Traffic split configuration. Weights must sum to 100.
Optional experiment settings such as start date, end date, and targeting rules.
Example request
v2 — Cart transform strategy (Shopify Plus)
Creates a price experiment using Shopify Functions cart transforms to apply price changes at checkout. Requires Shopify Plus.Request body
A descriptive name for the experiment.
Products to enroll. Same structure as v1 without variant-level pricing — the price change is computed from
priceChangeType and priceChange.How to compute the price change. Either
"PERCENTAGE" or "FIXED".The magnitude of the price change. For
PERCENTAGE, provide a value like 10 for a 10% reduction. For FIXED, provide the monetary amount.Traffic split configuration — same structure as v1.
Example request
Cart transform experiments (v2) require Shopify Plus and an active
cart-transformer Shopify Function extension. ABConvert handles function deployment automatically.Other experiment types
Each experiment type below has its own creation endpoint. They all accept aname, testGroups, and settings field at minimum, plus type-specific parameters.
Creation endpoints reference
| Experiment type | Endpoint |
|---|---|
| Price (duplicate variant) | POST /api/price-experiments/v1/create |
| Price (cart transform, Plus) | POST /api/price-experiments/v2/create |
| Content / image | POST /api/content-experiments/create |
| Shipping rate | POST /api/shipping-experiments/create |
| URL redirect | POST /api/redirect-experiments/create |
| Page template | POST /api/template-experiments/create |
| Theme | POST /api/theme-experiments/create |
| Checkout UI | POST /api/checkout-experiments/create |
Responses
All creation endpoints return"success" on success, or a standard error envelope on failure.