Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

Shopify App Bridge session token of the embedded Depict: Search & Merchandising app. The shop in the token determines the merchant; merchant_id parameters must belong to that shop.

Path Parameters

collection_id
string
required

Numeric Shopify collection id.

test_id
string
required

The test's id.

Query Parameters

merchant_id
string
required

Lite merchant id, e.g. shopify-<shop id>.

Response

The test and its results.

test_id
string
required
collection_id
string
required
name
string
required
variant_a_version_uuid
string
required
variant_b_version_uuid
string
required
scope_type
enum<string>
required
Available options:
all,
market_groups
market_group_ids
string[]
required
applies_to_market_ids
string[]
required

The scope resolved to numeric Shopify market ids, sorted; two running tests on a collection never share one.

traffic_split
integer
required

Percent of traffic routed to variant B (10–90).

start_date
string<date-time>
required
end_date
string<date-time>
required
status
enum<string>
required
Available options:
running,
ended,
winner_promoted
promoted_variant
enum<string> | null
required
Available options:
A,
B,
null
created_at
string<date-time>
required
created_by_email
string
required

Always empty: the test is storefront-readable.

stats
object | null
required

Null before the start date, or when analytics are unavailable.