ESTAGE Support
IdeasMy tickets

Product types and vendors in use

Permission products:readRate limit reads

The distinct product types and vendor names already used by this project's store products (drafts and archived included), sorted.

GEThttps://api.estage.com/v1/products/facets

Authorization

ESTAGE-API-Keystringheaderrequired

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

RequestcURL
curl --request GET \
  --url 'https://api.estage.com/v1/products/facets' \
  --header 'ESTAGE-API-Key: est_live_your-api-key'
OK
{
  "data": {
    "product_types": [
      "Hoodies",
      "T-Shirts"
    ],
    "vendors": [
      "Northwind"
    ]
  }
}
Example. Errors are { error: { code, message, details } }.