A valid request URL is required to generate request examples{
"current": [
{
"hour": "<string>",
"sessions_with_search": 123,
"sessions_with_purchase": 123,
"conversion_rate": 123
}
],
"previous": [
{
"hour": "<string>",
"sessions_with_search": 123,
"sessions_with_purchase": 123,
"conversion_rate": 123
}
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Hourly conversion of sessions that searched
Sessions with a search, and how many of those purchased, per hour. Takes the current and previous windows (from_ts/to_ts, prev_from_ts/prev_to_ts) and answers both, for period-over-period comparison. Read-only.
A valid request URL is required to generate request examples{
"current": [
{
"hour": "<string>",
"sessions_with_search": 123,
"sessions_with_purchase": 123,
"conversion_rate": 123
}
],
"previous": [
{
"hour": "<string>",
"sessions_with_search": 123,
"sessions_with_purchase": 123,
"conversion_rate": 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.
Query Parameters
Lite merchant id, e.g. shopify-<shop id>.
App Bridge session token, when not sent as a bearer header.
Current window start, inclusive ("YYYY-MM-DD HH:MM:SS", UTC)
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$Current window end, exclusive ("YYYY-MM-DD HH:MM:SS", UTC)
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$Previous window start, inclusive ("YYYY-MM-DD HH:MM:SS", UTC)
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$Previous window end, exclusive ("YYYY-MM-DD HH:MM:SS", UTC)
^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$IANA timezone the pipes bucket hours/days in; UTC when omitted.
^[A-Za-z_+\-/0-9]{1,64}$Two-letter country code to narrow to.
^[A-Z0-9]{2}$Was this page helpful?

