A valid request URL is required to generate request examples{
"test_id": "<string>",
"collection_id": "<string>",
"name": "<string>",
"variant_a_version_uuid": "<string>",
"variant_b_version_uuid": "<string>",
"scope_type": "all",
"market_group_ids": [
"<string>"
],
"applies_to_market_ids": [
"<string>"
],
"traffic_split": 123,
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"status": "running",
"promoted_variant": "A",
"created_at": "2023-11-07T05:31:56Z",
"created_by_email": "<string>",
"stats": {
"by_variant": {
"A": {
"page_views": 123,
"clicks": 123,
"add_to_carts": 123,
"purchases": 123,
"click_through_rate": 123,
"add_to_cart_rate": 123,
"conversion_rate": 123
},
"B": {
"page_views": 123,
"clicks": 123,
"add_to_carts": 123,
"purchases": 123,
"click_through_rate": 123,
"add_to_cart_rate": 123,
"conversion_rate": 123
}
},
"by_market_and_variant": [
{
"market_id": "<string>",
"variant": "A",
"page_views": 123,
"clicks": 123,
"add_to_carts": 123,
"purchases": 123
}
],
"lift_b_over_a": {
"page_views": 123,
"clicks": 123,
"add_to_carts": 123,
"purchases": 123,
"conversion_rate": 123
},
"significance": {
"purchases": {
"is_significant": true,
"p_value": 123,
"method": "two_proportion_z_test"
},
"add_to_carts": {
"is_significant": true,
"p_value": 123,
"method": "two_proportion_z_test"
},
"clicks": {
"is_significant": true,
"p_value": 123,
"method": "two_proportion_z_test"
}
},
"time_series": [
{
"day": "<string>",
"variant": "A",
"value": 123
}
]
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Read one collection version A/B test with its results
Returns the test plus its results so far: per-variant and per-market KPIs, B-over-A lift, significance and a daily series. Results are null before the start date or when analytics are unavailable. Read-only.
A valid request URL is required to generate request examples{
"test_id": "<string>",
"collection_id": "<string>",
"name": "<string>",
"variant_a_version_uuid": "<string>",
"variant_b_version_uuid": "<string>",
"scope_type": "all",
"market_group_ids": [
"<string>"
],
"applies_to_market_ids": [
"<string>"
],
"traffic_split": 123,
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"status": "running",
"promoted_variant": "A",
"created_at": "2023-11-07T05:31:56Z",
"created_by_email": "<string>",
"stats": {
"by_variant": {
"A": {
"page_views": 123,
"clicks": 123,
"add_to_carts": 123,
"purchases": 123,
"click_through_rate": 123,
"add_to_cart_rate": 123,
"conversion_rate": 123
},
"B": {
"page_views": 123,
"clicks": 123,
"add_to_carts": 123,
"purchases": 123,
"click_through_rate": 123,
"add_to_cart_rate": 123,
"conversion_rate": 123
}
},
"by_market_and_variant": [
{
"market_id": "<string>",
"variant": "A",
"page_views": 123,
"clicks": 123,
"add_to_carts": 123,
"purchases": 123
}
],
"lift_b_over_a": {
"page_views": 123,
"clicks": 123,
"add_to_carts": 123,
"purchases": 123,
"conversion_rate": 123
},
"significance": {
"purchases": {
"is_significant": true,
"p_value": 123,
"method": "two_proportion_z_test"
},
"add_to_carts": {
"is_significant": true,
"p_value": 123,
"method": "two_proportion_z_test"
},
"clicks": {
"is_significant": true,
"p_value": 123,
"method": "two_proportion_z_test"
}
},
"time_series": [
{
"day": "<string>",
"variant": "A",
"value": 123
}
]
}
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
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
Numeric Shopify collection id.
The test's id.
Query Parameters
Lite merchant id, e.g. shopify-<shop id>.
Response
The test and its results.
all, market_groups The scope resolved to numeric Shopify market ids, sorted; two running tests on a collection never share one.
Percent of traffic routed to variant B (10–90).
running, ended, winner_promoted A, B, null Always empty: the test is storefront-readable.
Null before the start date, or when analytics are unavailable.
Show child attributes
Show child attributes
Was this page helpful?

