On this page6 sections
POST/api/products/get-variant-filter-optionsProductsPermission: product.view
Get Variant Filter Options
Returns compact tenant-scoped option sets (categories, brands, suppliers, product types) for the product variant filter dialog.
Authentication: Requires Authorization: Bearer <ACCESS_TOKEN> (Supabase JWT, OAuth2 M2M token, or integration token).
Request
Provide the following fields in the request payload.
No request body parameters are required for this endpoint.
Responses
Select a status code to inspect schema.
OK — Variant filter options retrieved.application/json
successenum('true')
Success (true).
messagestring
Message.
dataobject | null
Response payload or null.
POST/api/products/get-variant-filter-options
curl -X POST "https://api.invoger.com/api/products/get-variant-filter-options" \
-H "Authorization: Bearer <ACCESS_TOKEN>" \
-H "Content-Type: application/json" \
-d '{}'Interactive playground
Response
application/json
{
"success": true,
"message": "Success",
"data": {
"options": {
"categories": [],
"brands": [],
"suppliers": []
}
}
}