Skip to content

Product endpoints

The product API lets you create, read, update, and publish digital products.

List products

GET /api/products

Query parameters:

ParameterTypeDescription
statusstringFilter by status: draft, published, or archived.
typestringFilter by product type: ebook, meal_plan, recipe_card_pack, or lead_magnet.
pageintegerPage number.
per_pageintegerResults per page.

Get a product

GET /api/products/{id}

Create a product

POST /api/products
Content-Type: application/json

The request body varies by product type. See the product data model for field details.

Update a product

PATCH /api/products/{id}
Content-Type: application/json

Publish a product

POST /api/products/{id}/publish
Content-Type: application/json
{
"platforms": ["stan_store", "gumroad"],
"price_cents": 1299,
"currency": "USD"
}

Generate lead magnet

POST /api/products/{id}/lead-magnet

Generates a lead magnet from an existing ebook or recipe card pack.