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.Delete any experiment
Deletes an experiment of any type — price, content, shipping, redirect, template, theme, or checkout. ABConvert determines what to clean up based on the experiment’s type.What gets cleaned up
When you delete an experiment, ABConvert:- Removes duplicate variants created for price experiments (v1 strategy).
- Resets product prices for any variants that were modified.
- Deletes metafields written to products or the store for this experiment.
- Removes script tags associated with the experiment if no other active experiments depend on them.
- Deregisters Shopify Functions for cart transform or delivery customization experiments.
- Deletes all analytics records (views, add-to-carts, checkouts, orders) tied to the experiment.
Path parameters
The experiment’s
_id value as returned by the list or get endpoints.Example request
Response
Delete a price experiment
An alternative delete endpoint specific to price experiments. Use this if you need to explicitly target a price experiment, particularly when troubleshooting cleanup issues with price variant duplicates.What gets cleaned up
In addition to the general cleanup described above, this endpoint specifically:- Archives or deletes duplicated variants created by the v1 (duplicate variant) price testing strategy.
- Removes cart transform function configuration for v2 (cart transform) experiments.
- Restores original prices on all product variants that were part of the experiment.
Path parameters
The price experiment’s
_id value.Example request
Response
Summary
| Use case | Method | Path |
|---|---|---|
| Delete any experiment type | DELETE | /api/experiments/:id |
| Delete a price experiment explicitly | DELETE | /api/price-experiments/:id |