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
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
Numeric Shopify collection id.
Query Parameters
Lite merchant id, e.g. shopify-<shop id>.
A version UUID (see GET /collections/{collection_id}/versions); omit for the main version.
Response
The collection.
Numeric Shopify collection id.
Primary-locale title.
The collection's own sort order in Shopify.
MANUAL, BEST_SELLING, ALPHA_ASC, ALPHA_DESC, CREATED, CREATED_DESC, PRICE_ASC, PRICE_DESC, MOST_RELEVANT How Depict sorts the collection. MANUAL keeps the pinned order; METAFIELD_ASC/DESC sort by the version's metafield_sort key.
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 Whether Depict has saved any configuration (sort, pins, content blocks…) for it.
Active: Depict writes its order back to Shopify. False = the collection is not managed by Depict.
Out-of-stock pinned products drop out of their pins.
When the Depict configuration last changed (naive UTC); null on an inactive list row.
Naive UTC.
True: the version's own boost/bury rules apply instead of the merchant-wide ones.
UUID of the published version; null on an inactive list row.
Product ids in the order they are pinned; for MANUAL sort, every product in its manual order.
A merchant-wide rule that moves matching products up (boost) or down (bury) in every automatically sorted collection. type selects how products match.
- Option 1
- Option 2
- Option 3
- Option 4
Show child attributes
Show child attributes
UUID of the version this DTO shows.
Show child attributes
Show child attributes
Product attachment ids active on this version, in order.
Was this page helpful?

