ESTAGE Support
IdeasMy tickets

Create a collection

Permission collections:writeRate limit writesIdempotent with Idempotency-Key

type 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"}

POSThttps://api.estage.com/v1/collections

Authorization

ESTAGE-API-Keystringheaderrequired

A project key, est_live_…, from Settings → API keys. Call from server code only.

Body

application/json
titlestringrequired≤ 191 chars
typestringnullabledefault "manual"

One of manual, automated

rulesarray of objectnullable≤ 50 items

automated only (at least one rule).

Show 3 fields
fieldstringrequired≤ 96 chars

title, product_type, vendor, price, compare_at_price, weight, inventory_total, variant_title, or attribute:<key>.

relationstringrequired

One of equals, not_equals, contains, not_contains, starts_with, ends_with, greater_than, less_than, is_set, is_not_set

valueanynullable

Required except for is_set / is_not_set.

rules_matchstringnullabledefault "all"

One of all, any

product_idsarray of integernullable≤ 1000 items

manual only: store products in order. Ids that are not store products of this project are dropped silently.

handlestringnullable≤ 191 chars

Storefront URL segment; slugged and made unique. Empty = from the title.

descriptionstringnullable≤ 20000 chars
image_urlstringnullableuri≤ 2048 chars
sort_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 chars
seo_descriptionstringnullable≤ 500 chars
positionintegernullabledefault 0≥ 0

Headers

Idempotency-Keystring≤ 255 chars

Any unique string per attempt. A retry with the same key gets the first answer back instead of doing the work twice.

RequestcURL
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" }'
Created
{
  "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"
  }
}
Example. Errors are { error: { code, message, details } }.