ESTAGE Support
IdeasMy tickets

Products of a collection

Permission collections:readRate limit reads

Every product in the collection, drafts included, by position (manual) then name. price_min/price_max are numbers here, not strings; position is null in an automated collection.

GEThttps://api.estage.com/v1/collections/{id}/products

Authorization

ESTAGE-API-Keystringheaderrequired

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

Path parameters

idintegerrequired
RequestcURL
curl --request GET \
  --url 'https://api.estage.com/v1/collections/collection-id/products' \
  --header 'ESTAGE-API-Key: est_live_your-api-key'
OK
{
  "data": [
    {
      "id": 5012,
      "name": "Classic Tee",
      "handle": "classic-tee",
      "cover": "https://cdn.example.com/tee-front.jpg",
      "status": "active",
      "product_type": "T-Shirts",
      "vendor_name": "Northwind",
      "price_min": 25,
      "price_max": 27,
      "position": 0
    },
    {
      "id": 5013,
      "name": "Zip Hoodie",
      "handle": "zip-hoodie",
      "cover": null,
      "status": "draft",
      "product_type": "Hoodies",
      "vendor_name": "Northwind",
      "price_min": 59,
      "price_max": 59,
      "position": 1
    }
  ]
}
Example. Errors are { error: { code, message, details } }.