Product types and vendors in use
Permission
products:readRate limit readsThe distinct product types and vendor names already used by this project's store products (drafts and archived included), sorted.
Authorization
ESTAGE-API-KeystringheaderrequiredA 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 } }.