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

Every collection, by collection id.

collection_id
string
required

Numeric Shopify collection id.

title
string
required

Primary-locale title.

handle
string
required
image_urls
string[]
required
shopify_sort_order
enum<string>
required

The collection's own sort order in Shopify.

Available options:
MANUAL,
BEST_SELLING,
ALPHA_ASC,
ALPHA_DESC,
CREATED,
CREATED_DESC,
PRICE_ASC,
PRICE_DESC,
MOST_RELEVANT
sort_order
enum<string>
required

How Depict sorts the collection's unpinned products, within each boost/bury strength. BEST_SELLING: units sold in the last 30 days (BY_REVENUE: revenue). TRENDING: units sold in the last 7 days (BY_REVENUE: revenue). Unit ties on either break by 30-day revenue. CLICKS_DESC: clicks in the last 30 days. STOCK_DESC: total stock. CREATED: oldest first, CREATED_DESC: newest first, by the store's New in date (published or created, per dynamic status). PRICE*, ALPHA*: price, title. METAFIELD_ASC/DESC: the version's metafield_sort key. MANUAL: the saved order, never re-sorted, and boost/bury does not apply. MOST_RELEVANT: not a Depict sort. It comes from Shopify's relevance sort, which Depict cannot compute: Depict keeps the collection's existing order in Shopify and still applies boost/bury. After Depict's first write that existing order is the one Depict last wrote, so it stops following Shopify's relevance and earlier boosts and pins linger in it.

Available options:
ALPHA_ASC,
ALPHA_DESC,
BEST_SELLING,
BEST_SELLING_BY_REVENUE,
MOST_RELEVANT,
TRENDING,
TRENDING_BY_REVENUE,
CREATED,
CREATED_DESC,
PRICE_ASC,
PRICE_DESC,
STOCK_DESC,
CLICKS_DESC,
METAFIELD_ASC,
METAFIELD_DESC,
MANUAL
has_depict_configuration
boolean
required

Whether Depict has saved any configuration (sort, pins, content blocks…) for it.

sync_back_to_shopify
boolean
required

Active: Depict writes its order back to Shopify. False = the collection is not managed by Depict.

unpin_oos
boolean
required

Out-of-stock pinned products drop out of their pins.

updated_at
string | null
required

When the Depict configuration last changed (naive UTC); null on an inactive list row.

shopify_updated_at
string
required

Naive UTC.

use_collection_specific_boost_bury
boolean
required

True: the version's own boost/bury rules apply instead of the merchant-wide ones.

main_version
string | null
required

UUID of the published version; null on an inactive list row.

n_products
integer
required
n_pinned_main_product_ids
integer | null
required
product_images
string[] | null
required

Always present. Image URLs of the collection's first products; null when it has none, and always null on the paginated list unless include_images=true.

has_scheduled_version
boolean
required