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

product_id
string
required

Shopify product id (numeric string).

Query Parameters

merchant_id
string
required

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

from_date
string<date>
required

First day, inclusive.

to_date
string<date>
required

Last day, inclusive.

score_reference
number | null

A positive value replaces the catalogue's top score as the score scale (used when fetching a comparison period).

market_id
string

Restrict to one market (or market group); omit for all markets.

Response

The analytics.

currency
string
required

Shop currency every amount is in.

kpis
object
required
series
object
required

Daily values aligned with dates.

collections
object[]
required
revenue_rank
object | null

Where the product's revenue ranks in the catalogue.

partial_metrics
object

Metric name → why it is incomplete (e.g. a data source was unavailable).

score_reference
number | null