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

The collection's numeric Shopify id.

Query Parameters

merchant_id
string
required

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

from_date
string
required

First day, inclusive.

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-09-01"

to_date
string
required

Last day, inclusive.

Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-09-01"

Response

The test's metrics.

Daily A/B series for one collection test, plus pooled z-tests.

page_views
object[]
required
clicks
object[]
required
click_thru_rate
object[]
required
p_value_click_thru_rate
number | null
required

Two-proportion z-test p-value over the whole window; null when a variant has no traffic.

add_to_carts
object[]
required
add_to_cart_thru_rate
object[]
required
p_value_add_to_cart_thru_rate
number | null
required

Two-proportion z-test p-value over the whole window; null when a variant has no traffic.

purchases
object[]
required
purchases_thru_rate
object[]
required
p_value_purchases_thru_rate
number | null
required

Two-proportion z-test p-value over the whole window; null when a variant has no traffic.