Error
A valid request URL is required to generate request examples{}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}API Reference
Revenue and sell-through per product in a collection
Returns, for every product in the collection (0 revenue when it sold nothing), revenue over [from_date, to_date] converted to the merchant’s base currency (ECB rates at to_date; an unconvertible currency adds 0), and the sell-through rate. Read-only; answers from Tinybird analytics.
GET
/
collections
/
{collection_id}
/
product-metrics
Error
A valid request URL is required to generate request examples{}{
"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.
Path Parameters
Numeric Shopify collection id.
Query Parameters
Lite merchant id, e.g. shopify-<shop id>.
First day, inclusive.
Pattern:
^\d{4}-\d{2}-\d{2}$Example:
"2026-09-01"
Last day, inclusive.
Pattern:
^\d{4}-\d{2}-\d{2}$Example:
"2026-09-01"
Restricts revenue to one Shopify market's countries; sell_through_rate is then null.
Response
Metrics by product id.
Show child attributes
Show child attributes
Was this page helpful?

