Skip to main content
POST
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
surface
string
required
Minimum string length: 1
market
string
Minimum string length: 1
anchor
object
client_id
string
Minimum string length: 1
recent_views
object[]
excluded_product_ids
string[]
Minimum string length: 1
limit
integer
Required range: 1 <= x <= 100
shuffle_seed
integer
Required range: 0 <= x <= 4294967295
draft
object

Response

The composed slots, dense from position 0.

surface_id
string
required
context
enum<string>
required
Available options:
product,
category,
any
market_id
string
required
available_markets
string[]
required
generated_at
string
required
shuffle_seed
integer
required
slots
object[]
required