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.

Query Parameters

merchant_id
string
required

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

id_token
string

App Bridge session token, when not sent as a bearer header.

from_ts
string
required

Current window start, inclusive ("YYYY-MM-DD HH:MM:SS", UTC)

Pattern: ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
to_ts
string
required

Current window end, exclusive ("YYYY-MM-DD HH:MM:SS", UTC)

Pattern: ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
prev_from_ts
string
required

Previous window start, inclusive ("YYYY-MM-DD HH:MM:SS", UTC)

Pattern: ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
prev_to_ts
string
required

Previous window end, exclusive ("YYYY-MM-DD HH:MM:SS", UTC)

Pattern: ^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$
tz
string

IANA timezone the pipes bucket hours/days in; UTC when omitted.

Pattern: ^[A-Za-z_+\-/0-9]{1,64}$
country
string

Two-letter country code to narrow to.

Pattern: ^[A-Z0-9]{2}$
currency
string

Accepted and ignored (older portal bundles still send it).

order_by
enum<string>

Sort column; searches by default.

Available options:
searches,
no_results,
no_click_rate,
median_click_position,
clicks,
add_to_carts,
purchases
offset
string

Rows to skip; 0 by default.

Pattern: ^\d{1,7}$
page_size
string

Rows to return, 1–100000; 100 by default.

Pattern: ^[1-9]\d{0,6}$

Response

The report.

query
string
required
searches
number
required
no_results
number
required
sessions
number
required
clicks
number
required
searches_with_click
number
required
no_click_rate
number
required

1 - searches_with_click / searches

positioned_searches
number
required
median_click_position
number | null
required

Median first position clicked (1 = first) over searches with a positioned click; null under the minimum sample.