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}$

Response

The report.

current
object[]
required
previous
object[]
required