Skip to main content
PUT
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>.

Body

application/json
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.

config_name
string
new_in_date_source
enum<string>

Defaults to published_at.

Available options:
published_at,
created_at

Response

Saved.