Error
A valid request URL is required to generate request examples{
"updated": 123,
"errors": [
{
"collection_id": "<string>",
"error": "<string>"
}
],
"warnings": [
"<string>"
],
"published": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"code": "product_required",
"product": "search",
"limit": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}API Reference
Apply one automated sort to many collections
Saves sort_order (plus optional collection-specific boost/bury rules) as the main version of up to 100 collections and syncs each back to Shopify; with publish_non_live, collections Depict did not manage yet are activated too (plan-capped, 402). Per-collection failures land in errors. Returns the rollup.
PUT
/
collections
/
bulk-automated-sorting
Error
A valid request URL is required to generate request examples{
"updated": 123,
"errors": [
{
"collection_id": "<string>",
"error": "<string>"
}
],
"warnings": [
"<string>"
],
"published": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"code": "product_required",
"product": "search",
"limit": 123
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}Authorizations
Body
application/json
An automated order (meanings on LiteCollectionSortOrder). MANUAL (per-collection pins) and METAFIELD_* (a per-version key) cannot be applied in bulk. MOST_RELEVANT is accepted but is not a Depict sort: each collection keeps its current order in Shopify (for one Depict already manages, the order Depict last wrote), with boost/bury on top. If a merchant asks for it, say so and ask which sort they want.
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 Was this page helpful?

