On this page

API

The JSON API is disabled by default. Enable it when a headless frontend needs product data.

ENV
VOODPRICING_API_ENABLED=true
# optional:
# VOODPRICING_API_PREFIX=api/voodpricing/v1

Default prefix: /api/voodpricing/v1.

Endpoints

Method Path Description
GET /products Paginated published products (with plans)
GET /products/{slug} Single published product by slug

Query parameters:

Param Purpose
locale Filter by product locale (defaults to package default)
per_page Page size for the index (1–100, default 15)

Only published products are returned. Drafts stay in Filament until you publish them.