A valid request URL is required to generate request examples{
"collection_id": "<string>",
"title": "<string>",
"handle": "<string>",
"image_urls": [
"<string>"
],
"shopify_sort_order": "MANUAL",
"sort_order": "ALPHA_ASC",
"has_depict_configuration": true,
"sync_back_to_shopify": true,
"unpin_oos": true,
"updated_at": "<string>",
"shopify_updated_at": "<string>",
"use_collection_specific_boost_bury": true,
"main_version": "<string>",
"n_products": 123,
"description": "<string>",
"pinned_main_product_ids": [
"<string>"
],
"collection_boost_rules": [
{
"strength": 123,
"type": "badge",
"badge": "on_sale",
"top_n": 123
}
],
"version": "<string>",
"tag_badges": [
"<string>"
],
"collection_badges": [
"<string>"
],
"metafield_badges": [
"<string>"
],
"metafield_sort": {
"key": "<string>",
"type": "number_integer"
},
"active_attachment_ids": [
"<string>"
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Read one collection's Depict configuration
Returns the collection’s configuration for a version: sort order, pinned products (for MANUAL sort, the full manual order), boost/bury rules, badges, metafield sort and product attachments. Without version it is the published (main) version. Read-only. 404 when the collection or the version has no Depict configuration (never opened, deleted, or not ingested).
A valid request URL is required to generate request examples{
"collection_id": "<string>",
"title": "<string>",
"handle": "<string>",
"image_urls": [
"<string>"
],
"shopify_sort_order": "MANUAL",
"sort_order": "ALPHA_ASC",
"has_depict_configuration": true,
"sync_back_to_shopify": true,
"unpin_oos": true,
"updated_at": "<string>",
"shopify_updated_at": "<string>",
"use_collection_specific_boost_bury": true,
"main_version": "<string>",
"n_products": 123,
"description": "<string>",
"pinned_main_product_ids": [
"<string>"
],
"collection_boost_rules": [
{
"strength": 123,
"type": "badge",
"badge": "on_sale",
"top_n": 123
}
],
"version": "<string>",
"tag_badges": [
"<string>"
],
"collection_badges": [
"<string>"
],
"metafield_badges": [
"<string>"
],
"metafield_sort": {
"key": "<string>",
"type": "number_integer"
},
"active_attachment_ids": [
"<string>"
]
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Query Parameters
Response
The collection.
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.
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 Was this page helpful?

