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>.

Response

The badge thresholds.

new_in_days
integer
required

A product is New in for this many days.

bestseller_n_products
integer
required

How many top sellers get Bestseller.

slowmover_n_products
integer
required

How many bottom sellers get Slow mover.

low_in_stock_percentage
integer
required

Low stock below this percentage of variants in stock.

order_data_days
integer
required

Days of orders the sales-based badges are computed over.

How many products get Trending.

new_in_date_source
enum<string>
required

Which product date starts the New in window.

Available options:
published_at,
created_at
config_name
string