A valid request URL is required to generate request examples{
"new_in_days": 123,
"bestseller_n_products": 123,
"slowmover_n_products": 123,
"low_in_stock_percentage": 123,
"order_data_days": 123,
"trending_n_products": 123,
"new_in_date_source": "published_at",
"config_name": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}The thresholds behind the computed product badges
How the dynamic badges are computed for this merchant: the New in window, how many products count as bestsellers, slow movers and trending, the low-stock percentage and the order window. Read-only; a merchant that never saved settings gets the defaults.
A valid request URL is required to generate request examples{
"new_in_days": 123,
"bestseller_n_products": 123,
"slowmover_n_products": 123,
"low_in_stock_percentage": 123,
"order_data_days": 123,
"trending_n_products": 123,
"new_in_date_source": "published_at",
"config_name": "<string>"
}{
"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>.
Response
The badge thresholds.
A product is New in for this many days.
How many top sellers get Bestseller.
How many bottom sellers get Slow mover.
Low stock below this percentage of variants in stock.
Days of orders the sales-based badges are computed over.
How many products get Trending.
Which product date starts the New in window.
published_at, created_at Was this page helpful?

