Update a collection
collections:writeRate limit writesIdempotent with Idempotency-KeySend only what changes. product_ids replaces the list of a manual collection. Switching a collection to automated drops its hand-picked products. The handle changes only when sent.
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Path parameters
idintegerrequiredBody
application/jsonhandlestringnullable≤ 191 charsStorefront URL segment; slugged and made unique. Empty or left out = unchanged.
descriptionstringnullable≤ 20000 charsimage_urlstringnullableuri≤ 2048 charstypestringnullableOne of manual, automated
rulesarray of objectnullable≤ 50 itemsautomated only (at least one rule).
Show 3 fields
fieldstringrequired≤ 96 charstitle, product_type, vendor, price, compare_at_price, weight, inventory_total, variant_title, or attribute:<key>.
relationstringrequiredOne of equals, not_equals, contains, not_contains, starts_with, ends_with, greater_than, less_than, is_set, is_not_set
valueanynullableRequired except for is_set / is_not_set.
rules_matchstringnullableOne of all, any
sort_orderstringnullableOne of manual, best_selling, title_asc, title_desc, price_asc, price_desc, created_desc, created_asc
statusstringnullableOne of active, draft
seo_titlestringnullable≤ 191 charsseo_descriptionstringnullable≤ 500 charspositionintegernullable≥ 0product_idsarray of integernullable≤ 1000 itemsmanual only: store products in order. Ids that are not store products of this project are dropped silently.
titlestring≤ 191 charsHeaders
Idempotency-Keystring≤ 255 charsAny unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.
curl --request PATCH \ --url 'https://api.estage.com/v1/collections/collection-id' \ --header 'ESTAGE-API-Key: est_live_your-api-key' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: your-unique-key' \ --data '{ "title": "Summer favourites", "status": "active" }'
{
"data": {
"id": 31,
"title": "Summer favourites",
"handle": "summer-picks",
"description": null,
"image_url": null,
"type": "manual",
"rules": null,
"rules_match": "all",
"sort_order": "manual",
"status": "active",
"seo_title": null,
"seo_description": null,
"position": 0,
"products_count": 2,
"published_at": "2026-11-02T14:05:31Z",
"created_at": "2026-11-02T14:05:31Z",
"updated_at": "2026-11-10T09:12:44Z"
}
}{ error: { code, message, details } }.