Create a collection
collections:writeRate limit writesIdempotent with Idempotency-Keytype manual (default) with product_ids in order, or automated with rules: [{ field, relation, value }] and rules_match all | any. Rule fields: title, product_type, vendor, price, compare_at_price, weight, inventory_total, variant_title, attribute:<key>. product_ids that are not store products of this project are dropped without an error.
Automated example: {"title":"Under $30","type":"automated","rules":[{"field":"price","relation":"less_than","value":30}],"rules_match":"all"}
Authorization
ESTAGE-API-KeystringheaderrequiredA project key, est_live_…, from Settings → API keys. Call from server code only.
Body
application/jsontitlestringrequired≤ 191 charstypestringnullabledefault "manual"One 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_matchstringnullabledefault "all"One of all, any
product_idsarray of integernullable≤ 1000 itemsmanual only: store products in order. Ids that are not store products of this project are dropped silently.
handlestringnullable≤ 191 charsStorefront URL segment; slugged and made unique. Empty = from the title.
descriptionstringnullable≤ 20000 charsimage_urlstringnullableuri≤ 2048 charssort_orderstringnullabledefault "manual"One of manual, best_selling, title_asc, title_desc, price_asc, price_desc, created_desc, created_asc
statusstringnullabledefault "active"One of active, draft
seo_titlestringnullable≤ 191 charsseo_descriptionstringnullable≤ 500 charspositionintegernullabledefault 0≥ 0Headers
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 POST \ --url 'https://api.estage.com/v1/collections' \ --header 'ESTAGE-API-Key: est_live_your-api-key' \ --header 'Content-Type: application/json' \ --header 'Idempotency-Key: your-unique-key' \ --data '{ "title": "Summer picks", "product_ids": [5012, 5013], "sort_order": "manual" }'
{
"data": {
"id": 31,
"title": "Summer picks",
"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 } }.