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

Response

The product's badges, possibly empty.

type
enum<string>
required
Available options:
on_sale
sale_percentage
number
required
markets_on_sale
object[] | null

Markets where the product is on sale, when not all are.

total_markets
integer | null
market_group_display_name
string | null