REST reference

590 operations, generated from the OpenAPI schema: always what the server offers. The other pages explain how to use them; this one lists them all.

Get your API key

How to read it

Base URL /api/v1/, header Authorization: Bearer <API key>. {project_id} is the website id from GET /api/v1/projects/. Grouped by resource. Request fields are listed when the endpoint declares them; examples are on the topic pages (guide, settings, websites…). Machine-readable: /api/v1/schema/?format=json.

abandoned-checkouts

GET/api/v1/projects/{project_id}/abandoned-checkouts/

List abandoned checkouts

Checkouts where the customer typed their email and left (captured only while the shop setting `abandoned_cart_emails` is on). `status`: `open` (not emailed yet), `emailed` (recovery email sent), `recovered` (ordered after the email), `converted` (ordered before any email). `stats` counts every status and the revenue of recovered orders.

ParameterInTypeRequiredDescription
limitqueryintegerno1-200 (50)
project_idpathstring (uuid)yes
statusquerystring (converted | emailed | open | recovered)no

access

GET/api/v1/projects/{project_id}/access/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/access/{access_id}/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
access_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/access/{access_id}/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
access_idpathstring (uuid)yes
project_idpathstring (uuid)yes

account

GET/api/v1/account/storage/cloudinary/

The account's own Cloudinary (#394): connected, cloud_name, masked api_key, default_folder, last check, uploads, fallbacks to the platform storage and a warning. Never the secret.

POST/api/v1/account/storage/cloudinary/

Connect (or replace) the account's Cloudinary: {cloud_name, api_key, api_secret, default_folder?}. The keys are checked with Cloudinary before they are saved; bad keys answer 400 with error.code invalid / invalid_cloud_name / invalid_credentials.

PUT/api/v1/account/storage/cloudinary/

Connect (or replace) the account's Cloudinary: {cloud_name, api_key, api_secret, default_folder?}. The keys are checked with Cloudinary before they are saved; bad keys answer 400 with error.code invalid / invalid_cloud_name / invalid_credentials.

DELETE/api/v1/account/storage/cloudinary/

Disconnect: the keys are deleted; new uploads go to the platform storage and the images already in Cloudinary keep working.

POST/api/v1/account/storage/cloudinary/test/

Check the stored Cloudinary keys again: data.ok, data.code, data.message, data.status.

GET/api/v1/account/traffic/

Read-only traffic for websites owned by the API key owner. Requires an unbound key (account:read for scoped keys). Shared websites are excluded. No billing/enforcement actions. Returns the traffic_report command schema in data (SiteView only, schema_version 2).

ParameterInTypeRequiredDescription
daysqueryintegerno1–366, default 30.

actions

GET/api/v1/projects/{project_id}/actions/health/

GET /api/v1/projects/{project_id}/actions/health/ Active form actions and automations of the project that are misconfigured or whose last real run failed (last 7 days): failures / successes counts, last error and when. Submissions are stored even when an action fails; this is how the owner finds out.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

activity-log

GET/api/v1/projects/{project_id}/activity-log/

GET /api/v1/projects/{project_id}/audit-log/ Query params: action: filter by action (e.g., 'form.delete') resource_type: filter by resource type from: ISO date filter (created_at >= from) to: ISO date filter (created_at <= to) page, page_size: pagination

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

ad-platforms

GET/api/v1/projects/{project_id}/ad-platforms/

GET /api/v1/projects/{project_id}/ad-platforms/ POST /api/v1/projects/{project_id}/ad-platforms/ A connection belongs to the account and serves the websites chosen for it: only their events are sent to it. POST without `website_ids` = this website only; `all_websites: true` = every website of the account.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/ad-platforms/

GET /api/v1/projects/{project_id}/ad-platforms/ POST /api/v1/projects/{project_id}/ad-platforms/ A connection belongs to the account and serves the websites chosen for it: only their events are sent to it. POST without `website_ids` = this website only; `all_websites: true` = every website of the account.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/ad-platforms/{conn_id}/

GET /api/v1/projects/{project_id}/ad-platforms/{conn_id}/ PUT /api/v1/projects/{project_id}/ad-platforms/{conn_id}/ DELETE /api/v1/projects/{project_id}/ad-platforms/{conn_id}/

ParameterInTypeRequiredDescription
conn_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/ad-platforms/{conn_id}/

GET /api/v1/projects/{project_id}/ad-platforms/{conn_id}/ PUT /api/v1/projects/{project_id}/ad-platforms/{conn_id}/ DELETE /api/v1/projects/{project_id}/ad-platforms/{conn_id}/

ParameterInTypeRequiredDescription
conn_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/ad-platforms/{conn_id}/

GET /api/v1/projects/{project_id}/ad-platforms/{conn_id}/ PUT /api/v1/projects/{project_id}/ad-platforms/{conn_id}/ DELETE /api/v1/projects/{project_id}/ad-platforms/{conn_id}/

ParameterInTypeRequiredDescription
conn_idpathstring (uuid)yes
project_idpathstring (uuid)yes

ai-pages

GET/api/v1/projects/{project_id}/ai-pages/ Deprecated · removed 2026-12-14

List all pages for a specific project (website). GET /api/v1/projects/{project_id}/pages/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

analytics

GET/api/v1/projects/{project_id}/analytics/conversions/

GET /api/v1/projects/{project_id}/analytics/conversions/ — the leads behind summary.totals.leads (form and landing-form submissions of this website, bots excluded). limit (max 1000) / offset.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/analytics/landings/

GET /api/v1/projects/{project_id}/analytics/landings/ — #405: one row per page with its daily series (views, visitors, leads confirmed / pending, conversion), for the traffic of the filters (path, utm_*). ?export=csv answers the day x page rows as a CSV file.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/analytics/overview/

GET /api/v1/projects/{project_id}/analytics/overview/ — DEPRECATED alias of summary (#342): summary's totals under the historical field names (total_pageviews = views, unique_visitors = visitors, total_conversions = leads).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/analytics/pageviews/

GET /api/v1/projects/{project_id}/analytics/pageviews/ — the individual page views behind summary (SiteView, bots excluded). Filters: path, utm_source; limit (max 1000) / offset.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/analytics/summary/

GET /api/v1/projects/{project_id}/analytics/summary/ — the standard analytics endpoint (#342): the website's dashboard data (apps/analytics/site_stats.py, the same numbers as /analytics/ in the dashboard). Period: ?days=7 | ?period=7d | ?date_from=YYYY-MM-DD&date_to=YYYY-MM-DD (default: last 30 days).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/analytics/top-pages/

GET /api/v1/projects/{project_id}/analytics/top-pages/ — DEPRECATED alias of summary.top_pages (#342).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/analytics/utm/

GET /api/v1/projects/{project_id}/analytics/utm/ — DEPRECATED alias (#342): per-campaign views/visitors/leads of the same source as summary (summary.utm_sources / campaigns), plus the account's UTM presets.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

api-keys

GET/api/v1/api-keys/ Deprecated · removed 2026-12-14

List API keys or create a new one. GET: every API key of the account with what it may do (never its value) POST: create a key (returns the value only once!). Body: name, and what it may do: `preset` ('full', 'readonly', 'marketing') or `key_type` + `scopes` (["pages:read", "forms:write"...]); `project_ids` limits it to those projects ([] or absent = every project); expires_at. The permissions that exist: GET /api/v1/keys/permissions/

POST/api/v1/api-keys/ Deprecated · removed 2026-12-14

List API keys or create a new one. GET: every API key of the account with what it may do (never its value) POST: create a key (returns the value only once!). Body: name, and what it may do: `preset` ('full', 'readonly', 'marketing') or `key_type` + `scopes` (["pages:read", "forms:write"...]); `project_ids` limits it to those projects ([] or absent = every project); expires_at. The permissions that exist: GET /api/v1/keys/permissions/

GET/api/v1/api-keys/{id}/ Deprecated · removed 2026-12-14

One API key: GET (what it may do, never its value), PATCH (name, preset / key_type + scopes, project_ids: its value does not change) and DELETE. Changing or deleting keys needs the dashboard or an unrestricted secret key.

ParameterInTypeRequiredDescription
idpathstring (uuid)yes
PATCH/api/v1/api-keys/{id}/ Deprecated · removed 2026-12-14

One API key: GET (what it may do, never its value), PATCH (name, preset / key_type + scopes, project_ids: its value does not change) and DELETE. Changing or deleting keys needs the dashboard or an unrestricted secret key.

ParameterInTypeRequiredDescription
idpathstring (uuid)yes
DELETE/api/v1/api-keys/{id}/ Deprecated · removed 2026-12-14

One API key: GET (what it may do, never its value), PATCH (name, preset / key_type + scopes, project_ids: its value does not change) and DELETE. Changing or deleting keys needs the dashboard or an unrestricted secret key.

ParameterInTypeRequiredDescription
idpathstring (uuid)yes

apply-theme

PATCH/api/v1/projects/{project_id}/apply-theme/

PATCH /api/v1/projects/{id}/theme/ — apply a theme to a project.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

audit-log

GET/api/v1/projects/{project_id}/audit-log/

GET /api/v1/projects/{project_id}/audit-log/ Filters: ?since=24h | ?since=7d ?from=2026-06-01T00:00&to=2026-06-02T00:00 ?endpoint_contains=/pages/ ?method=POST,PUT,DELETE ?response_status_gte=400 ?limit=50&offset=0

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/audit-log/{log_id}/

GET /api/v1/projects/{project_id}/audit-log/{log_id}/ Returns full detail including request/response bodies.

ParameterInTypeRequiredDescription
log_idpathstring (uuid)yes
project_idpathstring (uuid)yes

auth-settings

GET/api/v1/projects/{project_id}/auth-settings/

GET/PATCH auth settings.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/auth-settings/

GET/PATCH auth settings.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

automations

GET/api/v1/automations/triggers/

GET /api/v1/automations/triggers/ — list supported trigger types.

GET/api/v1/projects/{project_id}/automations/

GET / POST /api/v1/projects/{project_id}/automations/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/automations/

GET / POST /api/v1/projects/{project_id}/automations/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/automations/{automation_id}/

GET / PUT / DELETE /api/v1/projects/{project_id}/automations/{id}/

ParameterInTypeRequiredDescription
automation_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/automations/{automation_id}/

GET / PUT / DELETE /api/v1/projects/{project_id}/automations/{id}/

ParameterInTypeRequiredDescription
automation_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/automations/{automation_id}/

GET / PUT / DELETE /api/v1/projects/{project_id}/automations/{id}/

ParameterInTypeRequiredDescription
automation_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/automations/{automation_id}/logs/

GET /api/v1/projects/{project_id}/automations/{id}/logs/

ParameterInTypeRequiredDescription
automation_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/automations/{automation_id}/test/

POST /api/v1/projects/{project_id}/automations/{id}/test/ Fire the automation's handler synchronously with a sample payload (or the payload from request.data['context']). Runs immediately without adding a background job.

ParameterInTypeRequiredDescription
automation_idpathstring (uuid)yes
project_idpathstring (uuid)yes

batch

POST/api/v1/projects/{project_id}/batch/

Execute multiple API operations in a single request. POST /api/v1/projects/{project_id}/batch/ Body: { "operations": [ { "id": "op1", "method": "POST", "path": "/forms/", "body": {"name": "Contact Form"} }, { "id": "op2", "method": "POST", "path": "/forms/{op1.form_id}/fields/", "body": {"label": "Name", "field_type": "text", "required": true} } ] } Each operation result is returned in order. Variable substitution allows referencing results from prior operations using {opId.field} syntax.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

block-types

GET/api/v1/block-types/

GET /api/v1/block-types/ — list all registered block types.

blog

GET/api/v1/projects/{project_id}/blog/categories/

List or create blog categories. GET /api/v1/projects/{project_id}/blog/categories/ POST /api/v1/projects/{project_id}/blog/categories/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/blog/categories/

List or create blog categories. GET /api/v1/projects/{project_id}/blog/categories/ POST /api/v1/projects/{project_id}/blog/categories/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/blog/categories/{category_id}/

Get, update, or delete a specific blog category. GET /api/v1/projects/{project_id}/blog/categories/{category_id}/ PUT /api/v1/projects/{project_id}/blog/categories/{category_id}/ DELETE /api/v1/projects/{project_id}/blog/categories/{category_id}/

ParameterInTypeRequiredDescription
category_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/blog/categories/{category_id}/

Get, update, or delete a specific blog category. GET /api/v1/projects/{project_id}/blog/categories/{category_id}/ PUT /api/v1/projects/{project_id}/blog/categories/{category_id}/ DELETE /api/v1/projects/{project_id}/blog/categories/{category_id}/

ParameterInTypeRequiredDescription
category_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/blog/categories/{category_id}/

#242: PATCH is the partial update the issue specifies; same as PUT (which is already partial).

ParameterInTypeRequiredDescription
category_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/blog/categories/{category_id}/

#242: posts are never lost. ?posts=uncategorize (default) or ?posts=reassign&to=<category id of this project>. The category URL then 301s to /blog/ (or to the target category).

ParameterInTypeRequiredDescription
category_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/blog/page/

Get or update the blog page HTML content. GET /api/v1/projects/{project_id}/blog/page/ PUT /api/v1/projects/{project_id}/blog/page/ Use shortcodes in your HTML: - [posts] - All posts - [posts featured=yes limit=6] - Featured posts - [posts category="tech"] - Posts by category - [blog_categories] - Category navigation - [recent_posts limit=5] - Recent posts sidebar

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/blog/page/

Get or update the blog page HTML content. GET /api/v1/projects/{project_id}/blog/page/ PUT /api/v1/projects/{project_id}/blog/page/ Use shortcodes in your HTML: - [posts] - All posts - [posts featured=yes limit=6] - Featured posts - [posts category="tech"] - Posts by category - [blog_categories] - Category navigation - [recent_posts limit=5] - Recent posts sidebar

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/blog/post-template/

Get or update the blog post detail page template. GET /api/v1/projects/{project_id}/blog/post-template/ PUT /api/v1/projects/{project_id}/blog/post-template/ The template uses post shortcodes which render the current post.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/blog/post-template/

Get or update the blog post detail page template. GET /api/v1/projects/{project_id}/blog/post-template/ PUT /api/v1/projects/{project_id}/blog/post-template/ The template uses post shortcodes which render the current post.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/blog/posts/

List or create blog posts. GET /api/v1/projects/{project_id}/blog/posts/ POST /api/v1/projects/{project_id}/blog/posts/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/blog/posts/

List or create blog posts. GET /api/v1/projects/{project_id}/blog/posts/ POST /api/v1/projects/{project_id}/blog/posts/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/blog/posts/bulk/

POST /api/v1/projects/{pid}/blog/posts/bulk/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/blog/posts/{post_id}/

Get, update, or delete a specific blog post. GET /api/v1/projects/{project_id}/blog/posts/{post_id}/ PUT /api/v1/projects/{project_id}/blog/posts/{post_id}/ DELETE /api/v1/projects/{project_id}/blog/posts/{post_id}/

ParameterInTypeRequiredDescription
post_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/blog/posts/{post_id}/

Get, update, or delete a specific blog post. GET /api/v1/projects/{project_id}/blog/posts/{post_id}/ PUT /api/v1/projects/{project_id}/blog/posts/{post_id}/ DELETE /api/v1/projects/{project_id}/blog/posts/{post_id}/

ParameterInTypeRequiredDescription
post_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/blog/posts/{post_id}/

PATCH is treated as partial PUT for backward compatibility.

ParameterInTypeRequiredDescription
post_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/blog/posts/{post_id}/

Get, update, or delete a specific blog post. GET /api/v1/projects/{project_id}/blog/posts/{post_id}/ PUT /api/v1/projects/{project_id}/blog/posts/{post_id}/ DELETE /api/v1/projects/{project_id}/blog/posts/{post_id}/

ParameterInTypeRequiredDescription
post_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/blog/posts/{post_id}/translations/

GET /api/v1/projects/{project_id}/blog/posts/{post_id}/translations/ POST /api/v1/projects/{project_id}/blog/posts/{post_id}/translations/ Body: {"locale": "fr"}

ParameterInTypeRequiredDescription
post_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/blog/posts/{post_id}/translations/

GET /api/v1/projects/{project_id}/blog/posts/{post_id}/translations/ POST /api/v1/projects/{project_id}/blog/posts/{post_id}/translations/ Body: {"locale": "fr"}

ParameterInTypeRequiredDescription
post_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/blog/posts/{post_id}/versions/

GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/ List version history for a content object. Subclass and set `content_type` and `model_class`.

ParameterInTypeRequiredDescription
post_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/blog/posts/{post_id}/versions/diff/

GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/diff/?a=uuid&b=uuid Compare two versions field-by-field.

ParameterInTypeRequiredDescription
post_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/blog/posts/{post_id}/versions/{version_id}/

GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/ Get full version snapshot including data.

ParameterInTypeRequiredDescription
post_idpathstring (uuid)yes
project_idpathstring (uuid)yes
version_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/blog/posts/{post_id}/versions/{version_id}/restore/

POST /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/restore/ Restore a content object to a previous version.

ParameterInTypeRequiredDescription
post_idpathstring (uuid)yes
project_idpathstring (uuid)yes
version_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/blog/preview-template/

Preview a blog post template with SafeContentTemplate rendering. POST /api/v1/projects/{project_id}/blog/preview-template/ Body: {"template_html": "...", "template_css": "...", "post_id": "uuid" (optional)} Returns: rendered HTML If post_id is provided, uses that post's data. Otherwise uses sample data.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/blog/settings/

Get or update blog settings for a website. GET /api/v1/projects/{project_id}/blog/settings/ PUT /api/v1/projects/{project_id}/blog/settings/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/blog/settings/

Get or update blog settings for a website. GET /api/v1/projects/{project_id}/blog/settings/ PUT /api/v1/projects/{project_id}/blog/settings/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

calendars

GET/api/v1/projects/{project_id}/calendars/

GET /api/v1/projects/{project_id}/calendars/ POST /api/v1/projects/{project_id}/calendars/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/calendars/

GET /api/v1/projects/{project_id}/calendars/ POST /api/v1/projects/{project_id}/calendars/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/calendars/{cal_id}/

GET /api/v1/projects/{project_id}/calendars/{cal_id}/ PUT /api/v1/projects/{project_id}/calendars/{cal_id}/ DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/

ParameterInTypeRequiredDescription
cal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/calendars/{cal_id}/

GET /api/v1/projects/{project_id}/calendars/{cal_id}/ PUT /api/v1/projects/{project_id}/calendars/{cal_id}/ DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/

ParameterInTypeRequiredDescription
cal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/calendars/{cal_id}/

GET /api/v1/projects/{project_id}/calendars/{cal_id}/ PUT /api/v1/projects/{project_id}/calendars/{cal_id}/ DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/

ParameterInTypeRequiredDescription
cal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/calendars/{cal_id}/appointments/

GET /api/v1/projects/{project_id}/calendars/{cal_id}/appointments/

ParameterInTypeRequiredDescription
cal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/calendars/{cal_id}/appointments/{appt_id}/

GET /api/v1/projects/{project_id}/calendars/{cal_id}/appointments/{appt_id}/

ParameterInTypeRequiredDescription
appt_idpathstring (uuid)yes
cal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/calendars/{cal_id}/availability/

GET /api/v1/projects/{project_id}/calendars/{cal_id}/availability/ POST /api/v1/projects/{project_id}/calendars/{cal_id}/availability/

ParameterInTypeRequiredDescription
cal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/calendars/{cal_id}/availability/

GET /api/v1/projects/{project_id}/calendars/{cal_id}/availability/ POST /api/v1/projects/{project_id}/calendars/{cal_id}/availability/

ParameterInTypeRequiredDescription
cal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/calendars/{cal_id}/availability/{avail_id}/

DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/availability/{avail_id}/

ParameterInTypeRequiredDescription
avail_idpathstring (uuid)yes
cal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/calendars/{cal_id}/members/

GET /api/v1/projects/{project_id}/calendars/{cal_id}/members/ POST /api/v1/projects/{project_id}/calendars/{cal_id}/members/

ParameterInTypeRequiredDescription
cal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/calendars/{cal_id}/members/

GET /api/v1/projects/{project_id}/calendars/{cal_id}/members/ POST /api/v1/projects/{project_id}/calendars/{cal_id}/members/

ParameterInTypeRequiredDescription
cal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/

GET /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/ PUT /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/ DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/

ParameterInTypeRequiredDescription
cal_idpathstring (uuid)yes
member_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/

GET /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/ PUT /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/ DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/

ParameterInTypeRequiredDescription
cal_idpathstring (uuid)yes
member_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/

GET /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/ PUT /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/ DELETE /api/v1/projects/{project_id}/calendars/{cal_id}/members/{member_id}/

ParameterInTypeRequiredDescription
cal_idpathstring (uuid)yes
member_idpathstring (uuid)yes
project_idpathstring (uuid)yes

cart

GET/api/v1/projects/{project_id}/cart/

GET /projects/{id}/cart/ — get current cart

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/cart/clear/

POST /projects/{id}/cart/clear/ — empty the cart

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/cart/items/

POST /projects/{id}/cart/items/ — add item to cart Body: {"product_id": "uuid", "variant_id": "uuid" (optional), "quantity": 1}

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/cart/items/{item_id}/

PUT /projects/{id}/cart/items/{item_id}/ — update quantity DELETE /projects/{id}/cart/items/{item_id}/ — remove item

ParameterInTypeRequiredDescription
item_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/cart/items/{item_id}/

PUT /projects/{id}/cart/items/{item_id}/ — update quantity DELETE /projects/{id}/cart/items/{item_id}/ — remove item

ParameterInTypeRequiredDescription
item_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/cart/merge/

POST /projects/{id}/cart/merge/ — merge anonymous cart into user cart on login Body: {"session_key": "..."}

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

categories

GET/api/v1/projects/{project_id}/categories/

List or create categories for a website. GET /api/v1/projects/{project_id}/categories/ POST /api/v1/projects/{project_id}/categories/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/categories/

List or create categories for a website. GET /api/v1/projects/{project_id}/categories/ POST /api/v1/projects/{project_id}/categories/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/categories/tree/

GET /api/v1/projects/{project_id}/categories/tree/ Returns all categories as a nested tree structure.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/categories/{category_id}/

Get, update, or delete a specific category. GET /api/v1/projects/{project_id}/categories/{category_id}/ PUT /api/v1/projects/{project_id}/categories/{category_id}/ DELETE /api/v1/projects/{project_id}/categories/{category_id}/

ParameterInTypeRequiredDescription
category_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/categories/{category_id}/

Get, update, or delete a specific category. GET /api/v1/projects/{project_id}/categories/{category_id}/ PUT /api/v1/projects/{project_id}/categories/{category_id}/ DELETE /api/v1/projects/{project_id}/categories/{category_id}/

ParameterInTypeRequiredDescription
category_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/categories/{category_id}/

Get, update, or delete a specific category. GET /api/v1/projects/{project_id}/categories/{category_id}/ PUT /api/v1/projects/{project_id}/categories/{category_id}/ DELETE /api/v1/projects/{project_id}/categories/{category_id}/

ParameterInTypeRequiredDescription
category_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/categories/{category_id}/descendants/

GET /api/v1/projects/{project_id}/categories/{category_id}/descendants/ Returns all sub-categories of a category.

ParameterInTypeRequiredDescription
category_idpathstring (uuid)yes
project_idpathstring (uuid)yes

checkout

POST/api/v1/projects/{project_id}/checkout/

POST /projects/{id}/checkout/ — place an order from a cart and start its payment (headless storefronts). The same order core as the storefront checkout (apps.shop.views_public.place_order): stock checked and taken under row locks, coupon and automatic discounts, shipping zones and tax by destination, gift card — every amount computed here, none taken from the client. Body: line_items [{product_id, variant_id?, quantity 1-999}] (1-50 lines), customer_name, customer_email, customer_phone?, shipping_address, shipping_city, shipping_postal_code, shipping_country, shipping_rate_id? (required when the shop has shipping zones), coupon_code?, gift_card_code?, payment_method 'card' (default, Stripe Checkout; success_url / cancel_url https) or 'transfer' (bank transfer instructions). Idempotency-Key header (optional, recommended): a retry with the same key returns the same order (200) instead of placing another. 201 {order, checkout_id, created, checkout_url | payment_instructions}; 200 the same for a replayed key; 409 {problems} out of stock; 400 field errors.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

checkouts

POST/api/v1/projects/{project_id}/checkouts/

Create a checkout

A persistent checkout: the cart + customer + choices, priced on the server, from which the order is created exactly once (`complete/`). Creating or updating it reserves nothing and places no order. Fields: `lines` [{product_id, variant_id?, quantity 1-999}] (1-50), `customer` {customer_name, customer_email, customer_phone?, shipping_address, shipping_city, shipping_postal_code, shipping_country}, `shipping_rate_id` (a rate id or `pickup:<id>`), `coupon_code`, `gift_card_code`, `payment_method` `card` | `transfer`. Prices, discounts, shipping and tax always come from the server (`quote`); any amount the client sends is rejected or ignored.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/checkouts/{checkout_id}/

Get a checkout

The checkout and its last quote (what the customer was shown).

ParameterInTypeRequiredDescription
checkout_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/checkouts/{checkout_id}/

Update a checkout

Change any field; the checkout is re-priced and the new quote returned. A completed checkout can no longer change (409). Fields: `lines` [{product_id, variant_id?, quantity 1-999}] (1-50), `customer` {customer_name, customer_email, customer_phone?, shipping_address, shipping_city, shipping_postal_code, shipping_country}, `shipping_rate_id` (a rate id or `pickup:<id>`), `coupon_code`, `gift_card_code`, `payment_method` `card` | `transfer`. Prices, discounts, shipping and tax always come from the server (`quote`); any amount the client sends is rejected or ignored.

ParameterInTypeRequiredDescription
checkout_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/checkouts/{checkout_id}/complete/

Complete a checkout (place the order, once)

Re-prices the checkout and creates the order exactly once: repeating the call — or N concurrent calls — returns the SAME order (`created: false`) and, for a card, the same Stripe payment link. If the total differs from `expected_total` (or from the last quote), nothing is charged: 409 with the new `quote` to show the customer; complete again to accept it. 409 with `problems` when an item sold out. Card: `success_url` and `cancel_url` (https) are required and the response carries `checkout_url` (Stripe). Transfer: the response carries the shop's `payment_instructions`.

ParameterInTypeRequiredDescription
checkout_idpathstring (uuid)yes
project_idpathstring (uuid)yes

chrome

GET/api/v1/projects/{project_id}/chrome/

GET /api/v1/projects/{project_id}/chrome/ PUT /api/v1/projects/{project_id}/chrome/ Manage site-wide chrome (navbar, footer, global head HTML, global CSS).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/chrome/

GET /api/v1/projects/{project_id}/chrome/ PUT /api/v1/projects/{project_id}/chrome/ Manage site-wide chrome (navbar, footer, global head HTML, global CSS).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

collections

GET/api/v1/projects/{project_id}/collections/

List collections

GET / POST /api/v1/projects/{project_id}/collections/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/collections/

Create a collection

* `title` (required), `slug` (from the title when missing; unique per project), `description`, `image_url`, `sort_order` (`manual`, `newest`, `price_asc`, `price_desc`, `name`), `is_published`, `position`, `seo_title`, `seo_description`. * `kind`: `manual` (default) — its products are set with `product_ids` (ordered list, replaces the list), or `automatic` — the active products matching `rules`, kept up to date when products change: ```json {"match": "all", "conditions": [ {"field": "tag", "op": "equals", "value": "gaming"}, {"field": "price", "op": "lt", "value": 500}]} ``` Fields and ops: `tag` (equals / not_equals), `vendor` / `product_type` / `title` (equals / not_equals / contains / not_contains, case-insensitive), `category` (slug, subcategories included; equals / not_equals), `price` / `compare_at_price` (gt / lt / equals), `on_sale` (equals true/false), `metafield` (with `"key": "specs.ram"`: equals / not_equals / gt / lt / gte / lte — a product metafield definition). `match`: `all` or `any`. 1-20 conditions. * `metafields`: {"namespace.key": value | null} for collection metafield definitions (merged; null deletes). * `kind` can't change after creation. Unknown fields are rejected (400).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/collections/{collection_id}/

Get a collection

With its first products (`?limit=`, max 1000).

ParameterInTypeRequiredDescription
collection_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/collections/{collection_id}/

GET / PATCH / PUT / DELETE /api/v1/projects/{project_id}/collections/{collection_id}/

ParameterInTypeRequiredDescription
collection_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/collections/{collection_id}/

Update a collection

* `title` (required), `slug` (from the title when missing; unique per project), `description`, `image_url`, `sort_order` (`manual`, `newest`, `price_asc`, `price_desc`, `name`), `is_published`, `position`, `seo_title`, `seo_description`. * `kind`: `manual` (default) — its products are set with `product_ids` (ordered list, replaces the list), or `automatic` — the active products matching `rules`, kept up to date when products change: ```json {"match": "all", "conditions": [ {"field": "tag", "op": "equals", "value": "gaming"}, {"field": "price", "op": "lt", "value": 500}]} ``` Fields and ops: `tag` (equals / not_equals), `vendor` / `product_type` / `title` (equals / not_equals / contains / not_contains, case-insensitive), `category` (slug, subcategories included; equals / not_equals), `price` / `compare_at_price` (gt / lt / equals), `on_sale` (equals true/false), `metafield` (with `"key": "specs.ram"`: equals / not_equals / gt / lt / gte / lte — a product metafield definition). `match`: `all` or `any`. 1-20 conditions. * `metafields`: {"namespace.key": value | null} for collection metafield definitions (merged; null deletes). * `kind` can't change after creation. Unknown fields are rejected (400).

ParameterInTypeRequiredDescription
collection_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/collections/{collection_id}/

Delete a collection

The products stay; only the collection goes.

ParameterInTypeRequiredDescription
collection_idpathstring (uuid)yes
project_idpathstring (uuid)yes

content-types

GET/api/v1/projects/{project_id}/content-types/

GET /api/v1/projects/{project_id}/content-types/ — list all POST /api/v1/projects/{project_id}/content-types/ — create

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/content-types/

GET /api/v1/projects/{project_id}/content-types/ — list all POST /api/v1/projects/{project_id}/content-types/ — create

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/content-types/{ct_slug}/

GET /api/v1/projects/{project_id}/content-types/{ct_slug}/ PUT /api/v1/projects/{project_id}/content-types/{ct_slug}/ DELETE /api/v1/projects/{project_id}/content-types/{ct_slug}/

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/content-types/{ct_slug}/

GET /api/v1/projects/{project_id}/content-types/{ct_slug}/ PUT /api/v1/projects/{project_id}/content-types/{ct_slug}/ DELETE /api/v1/projects/{project_id}/content-types/{ct_slug}/

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/content-types/{ct_slug}/

GET /api/v1/projects/{project_id}/content-types/{ct_slug}/ PUT /api/v1/projects/{project_id}/content-types/{ct_slug}/ DELETE /api/v1/projects/{project_id}/content-types/{ct_slug}/

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/

GET /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/ POST /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/ GET query params: status: draft, published, archived locale: en, fr, etc. sort: field_name or -field_name filter[field_name]: value (exact match on JSONB) search: search across text fields page, page_size

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/

GET /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/ POST /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/ GET query params: status: draft, published, archived locale: en, fr, etc. sort: field_name or -field_name filter[field_name]: value (exact match on JSONB) search: search across text fields page, page_size

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/bulk/

Bulk create entries.

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/bulk/

Bulk update entries.

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/bulk/

Bulk delete entries.

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/export/

GET /projects/{project_id}/content-types/{ct_slug}/entries/export/?export_format=json|csv (not ?format=: DRF keeps that parameter for its renderers and answers 404). The CSV imports back unchanged.

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/import/

POST /projects/{project_id}/content-types/{ct_slug}/entries/import/ Accept JSON body with entries array, or CSV file upload.

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/

GET /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/ PUT /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/ DELETE /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/

ParameterInTypeRequiredDescription
ct_slugpathstringyes
entry_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/

GET /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/ PUT /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/ DELETE /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/

ParameterInTypeRequiredDescription
ct_slugpathstringyes
entry_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/

GET /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/ PUT /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/ DELETE /api/v1/projects/{project_id}/content-types/{ct_slug}/entries/{entry_id}/

ParameterInTypeRequiredDescription
ct_slugpathstringyes
entry_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/content-types/{ct_slug}/templates/

GET /projects/{project_id}/content-types/{ct_slug}/templates/ POST /projects/{project_id}/content-types/{ct_slug}/templates/

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/content-types/{ct_slug}/templates/

GET /projects/{project_id}/content-types/{ct_slug}/templates/ POST /projects/{project_id}/content-types/{ct_slug}/templates/

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/

GET /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/ PUT /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/ DELETE /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
tpl_slugpathstringyes
PUT/api/v1/projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/

GET /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/ PUT /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/ DELETE /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
tpl_slugpathstringyes
DELETE/api/v1/projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/

GET /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/ PUT /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/ DELETE /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
tpl_slugpathstringyes
POST/api/v1/projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/preview/

POST /projects/{project_id}/content-types/{ct_slug}/templates/{tpl_slug}/preview/ Render a template with sample data. Accepts entry_id or inline data.

ParameterInTypeRequiredDescription
ct_slugpathstringyes
project_idpathstring (uuid)yes
tpl_slugpathstringyes

conversion-goals

GET/api/v1/projects/{project_id}/conversion-goals/

GET /api/v1/projects/{project_id}/conversion-goals/ POST /api/v1/projects/{project_id}/conversion-goals/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/conversion-goals/

GET /api/v1/projects/{project_id}/conversion-goals/ POST /api/v1/projects/{project_id}/conversion-goals/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/conversion-goals/{goal_id}/

GET /api/v1/projects/{project_id}/conversion-goals/{goal_id}/ PUT /api/v1/projects/{project_id}/conversion-goals/{goal_id}/ DELETE /api/v1/projects/{project_id}/conversion-goals/{goal_id}/

ParameterInTypeRequiredDescription
goal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/conversion-goals/{goal_id}/

GET /api/v1/projects/{project_id}/conversion-goals/{goal_id}/ PUT /api/v1/projects/{project_id}/conversion-goals/{goal_id}/ DELETE /api/v1/projects/{project_id}/conversion-goals/{goal_id}/

ParameterInTypeRequiredDescription
goal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/conversion-goals/{goal_id}/

GET /api/v1/projects/{project_id}/conversion-goals/{goal_id}/ PUT /api/v1/projects/{project_id}/conversion-goals/{goal_id}/ DELETE /api/v1/projects/{project_id}/conversion-goals/{goal_id}/

ParameterInTypeRequiredDescription
goal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/conversion-goals/{goal_id}/events/

GET /api/v1/projects/{project_id}/conversion-goals/{goal_id}/events/?limit=50

ParameterInTypeRequiredDescription
goal_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/conversion-goals/{goal_id}/stats/

GET /api/v1/projects/{project_id}/conversion-goals/{goal_id}/stats/?period=30d Returns goal analytics: trigger count, unique visitors, rates, breakdowns by day/page/UTM source.

ParameterInTypeRequiredDescription
goal_idpathstring (uuid)yes
project_idpathstring (uuid)yes

conversion-logs

GET/api/v1/projects/{project_id}/conversion-logs/

GET /api/v1/projects/{project_id}/conversion-logs/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/conversion-logs/{log_id}/retry/

POST /api/v1/projects/{project_id}/conversion-logs/{log_id}/retry/

ParameterInTypeRequiredDescription
log_idpathstring (uuid)yes
project_idpathstring (uuid)yes

coupons

GET/api/v1/projects/{project_id}/coupons/

List coupons

Newest first, with usage (`used_count`).

ParameterInTypeRequiredDescription
activequerybooleanno`true`: active coupons only
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/coupons/

Create a coupon

* `code`: letters, numbers, `-` and `_`; unique per project ignoring case (customers can type it in any case). * `discount_type`: `percent` (`value` = % off, max 100), `fixed` (`value` = amount off in the shop currency) or `free_shipping` (no `value`); default `percent`. `value` > 0 for percent/fixed. * **Automatic discounts**: `is_automatic: true` + `title` (shown to customers, e.g. "10% off orders over 100 €"), no `code` needed. They apply by themselves in the cart and checkout when their conditions hold. One products discount applies per order: the larger of the entered code and the best automatic one; free shipping (code or automatic) combines with it. `max_uses` / dates / `min_subtotal` work the same. * Optional limits: `starts_at` / `ends_at` (ISO datetimes, `ends_at` after `starts_at`), `min_subtotal` (products subtotal needed), `max_uses` (total orders). `used_count` is read-only and counted when an order is placed. * The discount comes off the products subtotal before shipping and tax. Customers enter the code on the checkout page. * Unknown fields are rejected (400).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
Body fieldTypeRequiredDescription
codestringno
titlestringno
is_automaticbooleanno
discount_typeDiscountTypeEnumno
valuestring (decimal)no
is_activebooleanno
starts_atstring (date-time)no
ends_atstring (date-time)no
min_subtotalstring (decimal)no
max_usesintegerno
GET/api/v1/projects/{project_id}/coupons/{coupon_id}/

Get a coupon

GET /api/v1/projects/{project_id}/coupons/{coupon_id}/ PUT /api/v1/projects/{project_id}/coupons/{coupon_id}/ (partial) PATCH /api/v1/projects/{project_id}/coupons/{coupon_id}/ DELETE /api/v1/projects/{project_id}/coupons/{coupon_id}/

ParameterInTypeRequiredDescription
coupon_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/coupons/{coupon_id}/

Update a coupon

Partial: only the fields given change (PUT and PATCH behave the same). * `code`: letters, numbers, `-` and `_`; unique per project ignoring case (customers can type it in any case). * `discount_type`: `percent` (`value` = % off, max 100), `fixed` (`value` = amount off in the shop currency) or `free_shipping` (no `value`); default `percent`. `value` > 0 for percent/fixed. * **Automatic discounts**: `is_automatic: true` + `title` (shown to customers, e.g. "10% off orders over 100 €"), no `code` needed. They apply by themselves in the cart and checkout when their conditions hold. One products discount applies per order: the larger of the entered code and the best automatic one; free shipping (code or automatic) combines with it. `max_uses` / dates / `min_subtotal` work the same. * Optional limits: `starts_at` / `ends_at` (ISO datetimes, `ends_at` after `starts_at`), `min_subtotal` (products subtotal needed), `max_uses` (total orders). `used_count` is read-only and counted when an order is placed. * The discount comes off the products subtotal before shipping and tax. Customers enter the code on the checkout page. * Unknown fields are rejected (400).

ParameterInTypeRequiredDescription
coupon_idpathstring (uuid)yes
project_idpathstring (uuid)yes
Body fieldTypeRequiredDescription
codestringno
titlestringno
is_automaticbooleanno
discount_typeDiscountTypeEnumno
valuestring (decimal)no
is_activebooleanno
starts_atstring (date-time)no
ends_atstring (date-time)no
min_subtotalstring (decimal)no
max_usesintegerno
PATCH/api/v1/projects/{project_id}/coupons/{coupon_id}/

Update a coupon (partial)

Same as PUT. * `code`: letters, numbers, `-` and `_`; unique per project ignoring case (customers can type it in any case). * `discount_type`: `percent` (`value` = % off, max 100), `fixed` (`value` = amount off in the shop currency) or `free_shipping` (no `value`); default `percent`. `value` > 0 for percent/fixed. * **Automatic discounts**: `is_automatic: true` + `title` (shown to customers, e.g. "10% off orders over 100 €"), no `code` needed. They apply by themselves in the cart and checkout when their conditions hold. One products discount applies per order: the larger of the entered code and the best automatic one; free shipping (code or automatic) combines with it. `max_uses` / dates / `min_subtotal` work the same. * Optional limits: `starts_at` / `ends_at` (ISO datetimes, `ends_at` after `starts_at`), `min_subtotal` (products subtotal needed), `max_uses` (total orders). `used_count` is read-only and counted when an order is placed. * The discount comes off the products subtotal before shipping and tax. Customers enter the code on the checkout page. * Unknown fields are rejected (400).

ParameterInTypeRequiredDescription
coupon_idpathstring (uuid)yes
project_idpathstring (uuid)yes
Body fieldTypeRequiredDescription
codestringno
titlestringno
is_automaticbooleanno
discount_typeDiscountTypeEnumno
valuestring (decimal)no
is_activebooleanno
starts_atstring (date-time)no
ends_atstring (date-time)no
min_subtotalstring (decimal)no
max_usesintegerno
DELETE/api/v1/projects/{project_id}/coupons/{coupon_id}/

Delete a coupon

Past orders keep the code and discount they used.

ParameterInTypeRequiredDescription
coupon_idpathstring (uuid)yes
project_idpathstring (uuid)yes

courses

GET/api/v1/projects/{project_id}/courses/

List courses

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/courses/

Create a course

Body: `title`, optional `slug`, `description`, `cover_url`, `status` (`draft` | `published`), `product_id` (the product that sells it: buying it grants the course). Served at /courses/<slug>/; preview lessons are public, the rest need access (see Access grants).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/courses/{course_id}/

Get a course (modules, lessons, products)

ParameterInTypeRequiredDescription
course_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/courses/{course_id}/

Update a course

Any of the create fields.

ParameterInTypeRequiredDescription
course_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/courses/{course_id}/

Delete a course and its lessons

ParameterInTypeRequiredDescription
course_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/courses/{course_id}/lessons/

Add a lesson

Body: `title`, optional `type` (`text` | `video` | `download`), `content_html`, `video_id`, `file_id` (a product file), `module_id`, `is_preview` (public without access), `duration_s`.

ParameterInTypeRequiredDescription
course_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/courses/{course_id}/lessons/{lesson_id}/

Get a lesson

ParameterInTypeRequiredDescription
course_idpathstring (uuid)yes
lesson_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/courses/{course_id}/lessons/{lesson_id}/

Update a lesson

Any of the create fields.

ParameterInTypeRequiredDescription
course_idpathstring (uuid)yes
lesson_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/courses/{course_id}/lessons/{lesson_id}/

Delete a lesson

ParameterInTypeRequiredDescription
course_idpathstring (uuid)yes
lesson_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/courses/{course_id}/modules/

Add a module (section) to a course

Body: `{"title"}`; it goes last.

ParameterInTypeRequiredDescription
course_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/courses/{course_id}/modules/{module_id}/

Rename a module

ParameterInTypeRequiredDescription
course_idpathstring (uuid)yes
module_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/courses/{course_id}/modules/{module_id}/

Delete a module

Its lessons stay in the course, without a module.

ParameterInTypeRequiredDescription
course_idpathstring (uuid)yes
module_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/courses/{course_id}/reorder/

Reorder modules and lessons

Body: `{"modules": [ids in order], "lessons": [ids in order]}` (either list; each must list every module / lesson id of the course exactly once).

ParameterInTypeRequiredDescription
course_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/courses/{course_id}/students/

A course's students and their progress

Everyone holding a grant for the course (any status). Give or revoke access with Access grants.

ParameterInTypeRequiredDescription
course_idpathstring (uuid)yes
project_idpathstring (uuid)yes

data-export

GET/api/v1/projects/{project_id}/data-export/

Export the website's personal data (NDJSON)

Every personal record the website holds (customers, addresses, access, orders, form submissions, bookings), one JSON object per line, streamed as an attachment. For the owner: portability, or taking the data along when leaving.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

documents

GET/api/v1/projects/{project_id}/documents/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/documents/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/documents/{doc_id}/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
doc_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/documents/{doc_id}/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
doc_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/documents/{doc_id}/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
doc_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/documents/{doc_id}/file/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
doc_idpathstring (uuid)yes
project_idpathstring (uuid)yes

domains

GET/api/v1/projects/{project_id}/domains/

GET /api/v1/projects/{project_id}/domains/ POST /api/v1/projects/{project_id}/domains/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/domains/

GET /api/v1/projects/{project_id}/domains/ POST /api/v1/projects/{project_id}/domains/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/domains/{domain_id}/

GET /api/v1/projects/{project_id}/domains/{domain_id}/ PUT /api/v1/projects/{project_id}/domains/{domain_id}/ DELETE /api/v1/projects/{project_id}/domains/{domain_id}/

ParameterInTypeRequiredDescription
domain_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/domains/{domain_id}/

GET /api/v1/projects/{project_id}/domains/{domain_id}/ PUT /api/v1/projects/{project_id}/domains/{domain_id}/ DELETE /api/v1/projects/{project_id}/domains/{domain_id}/

ParameterInTypeRequiredDescription
domain_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/domains/{domain_id}/

GET /api/v1/projects/{project_id}/domains/{domain_id}/ PUT /api/v1/projects/{project_id}/domains/{domain_id}/ DELETE /api/v1/projects/{project_id}/domains/{domain_id}/

ParameterInTypeRequiredDescription
domain_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/domains/{domain_id}/verify/

POST /api/v1/projects/{project_id}/domains/{domain_id}/verify/ Checks SSL status with Cloudflare and updates the domain record. Call this after DNS is pointed to check if SSL is ready.

ParameterInTypeRequiredDescription
domain_idpathstring (uuid)yes
project_idpathstring (uuid)yes

draft-orders

GET/api/v1/projects/{project_id}/draft-orders/

List draft orders

GET / POST /api/v1/projects/{project_id}/draft-orders/

ParameterInTypeRequiredDescription
limitqueryintegerno1-200 (50)
project_idpathstring (uuid)yes
statusquerystringnoopen, invoice_sent, completed, cancelled
POST/api/v1/projects/{project_id}/draft-orders/

Create a draft order

* `lines` (required on create): catalogue lines `{"product_id", "variant_id"?, "quantity", "price"?}` (the price defaults to the product's / variant's; a given price overrides it) or custom lines `{"title", "price", "quantity", "taxable"?}`. Max 100 lines. PATCH with `lines` replaces them all. * `discount` (amount off the products) and `discount_label`; `shipping_cost` and `shipping_method`. * Customer: `customer_name`, `customer_email`, `customer_phone`, `shipping_address`, `shipping_city`, `shipping_postal_code`, `shipping_country` (needed to complete). `note` (internal). * Totals are computed as at checkout: tax at the shop rate, or the country's (`shop/tax-rates/`), on the taxable lines + shipping, included in prices or added on top. * `complete/` turns it into an order: stock checked and taken, order emails sent, `order.created` webhook; `{"paid": true}` creates it paid (e.g. paid by phone), otherwise pending (bank transfer). * Completed drafts can't change. Unknown fields are rejected (400).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/draft-orders/{draft_id}/

Get a draft order

GET / PATCH / DELETE /api/v1/projects/{project_id}/draft-orders/{draft_id}/

ParameterInTypeRequiredDescription
draft_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/draft-orders/{draft_id}/

GET / PATCH / DELETE /api/v1/projects/{project_id}/draft-orders/{draft_id}/

ParameterInTypeRequiredDescription
draft_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/draft-orders/{draft_id}/

Update a draft order

* `lines` (required on create): catalogue lines `{"product_id", "variant_id"?, "quantity", "price"?}` (the price defaults to the product's / variant's; a given price overrides it) or custom lines `{"title", "price", "quantity", "taxable"?}`. Max 100 lines. PATCH with `lines` replaces them all. * `discount` (amount off the products) and `discount_label`; `shipping_cost` and `shipping_method`. * Customer: `customer_name`, `customer_email`, `customer_phone`, `shipping_address`, `shipping_city`, `shipping_postal_code`, `shipping_country` (needed to complete). `note` (internal). * Totals are computed as at checkout: tax at the shop rate, or the country's (`shop/tax-rates/`), on the taxable lines + shipping, included in prices or added on top. * `complete/` turns it into an order: stock checked and taken, order emails sent, `order.created` webhook; `{"paid": true}` creates it paid (e.g. paid by phone), otherwise pending (bank transfer). * Completed drafts can't change. Unknown fields are rejected (400).

ParameterInTypeRequiredDescription
draft_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/draft-orders/{draft_id}/

Delete a draft order

Completed drafts stay (they point to their order).

ParameterInTypeRequiredDescription
draft_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/draft-orders/{draft_id}/complete/

Complete a draft order

Creates the order (stock taken, emails, `order.created` webhook). `{"paid": true}`: already paid; otherwise pending (bank transfer).

ParameterInTypeRequiredDescription
draft_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/draft-orders/{draft_id}/send-invoice/

Send the invoice

Emails the customer the order with a link (`invoice_url`, on the shop) where they review it and pay by card (when the project has Stripe connected) or confirm it for bank transfer; paying completes the draft. `{"send_email": false}` only creates the link (to share it yourself).

ParameterInTypeRequiredDescription
draft_idpathstring (uuid)yes
project_idpathstring (uuid)yes

email-stats

GET/api/v1/projects/{project_id}/email-stats/

GET /api/v1/projects/{project_id}/email-stats/?period=30d Returns a full overview of email performance across all forms and rules for this website. Includes totals, rates, daily time series, per-rule breakdown, and per-form breakdown.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

email-templates

GET/api/v1/projects/{project_id}/email-templates/

GET /api/v1/projects/{project_id}/email-templates/ POST /api/v1/projects/{project_id}/email-templates/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/email-templates/

GET /api/v1/projects/{project_id}/email-templates/ POST /api/v1/projects/{project_id}/email-templates/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/email-templates/{tpl_id}/

GET/PUT/DELETE /api/v1/projects/{project_id}/email-templates/{tpl_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
tpl_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/email-templates/{tpl_id}/

GET/PUT/DELETE /api/v1/projects/{project_id}/email-templates/{tpl_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
tpl_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/email-templates/{tpl_id}/

GET/PUT/DELETE /api/v1/projects/{project_id}/email-templates/{tpl_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
tpl_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/email-templates/{tpl_id}/preview/

POST /api/v1/projects/{project_id}/email-templates/{tpl_id}/preview/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
tpl_idpathstring (uuid)yes

events

GET/api/v1/projects/{project_id}/events/

POST /api/v1/projects/{project_id}/events/ Track a custom event (modal_open, whatsapp_click, scroll_50, etc.) Body: { "event_name": "whatsapp_click", "session_id": "abc123", "page_url": "/pricing/", "props": {"plan": "premium", "source": "hero_cta"} } GET /api/v1/projects/{project_id}/events/?event_name=whatsapp_click&days=7 List custom events with optional filters.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/events/

POST /api/v1/projects/{project_id}/events/ Track a custom event (modal_open, whatsapp_click, scroll_50, etc.) Body: { "event_name": "whatsapp_click", "session_id": "abc123", "page_url": "/pricing/", "props": {"plan": "premium", "source": "hero_cta"} } GET /api/v1/projects/{project_id}/events/?event_name=whatsapp_click&days=7 List custom events with optional filters.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

experiments

GET/api/v1/projects/{project_id}/experiments/

GET /api/v1/projects/{project_id}/experiments/ POST /api/v1/projects/{project_id}/experiments/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/experiments/

Create 2–6 weighted variants (weights total 100). The first variant is the control. Legacy control_landing, variant_landing and variant_weight remain supported.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
Body fieldTypeRequiredDescription
variantsno2–6 active entries: {landing_id, weight, key?}. Integer weights 1–99, total 100. Keys are returned by GET; omit keys for new variants. The first page on creation is control.
namestringyes
descriptionstringno
control_landingstringno
variant_landingstringno
variant_weightintegerno
scheduled_endstring (date-time)no
smart_mode_enabledbooleanno
smart_mode_min_pageviewsintegerno
smart_mode_confidencenumber (double)no
goalsarray of objectno
GET/api/v1/projects/{project_id}/experiments/{exp_id}/

GET /api/v1/projects/{project_id}/experiments/{exp_id}/ PUT /api/v1/projects/{project_id}/experiments/{exp_id}/ DELETE /api/v1/projects/{project_id}/experiments/{exp_id}/

ParameterInTypeRequiredDescription
exp_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/experiments/{exp_id}/

Update the active variants list. Keep existing keys/pages; omit a variant to pause it. Existing assignments stay unchanged; paused-arm visitors see control. While running only variants may change.

ParameterInTypeRequiredDescription
exp_idpathstring (uuid)yes
project_idpathstring (uuid)yes
Body fieldTypeRequiredDescription
variantsno2–6 active entries: {landing_id, weight, key?}. Integer weights 1–99, total 100. Keys are returned by GET; omit keys for new variants. The first page on creation is control.
namestringno
descriptionstringno
variant_weightintegerno
scheduled_endstring (date-time)no
smart_mode_enabledbooleanno
smart_mode_min_pageviewsintegerno
smart_mode_confidencenumber (double)no
DELETE/api/v1/projects/{project_id}/experiments/{exp_id}/

GET /api/v1/projects/{project_id}/experiments/{exp_id}/ PUT /api/v1/projects/{project_id}/experiments/{exp_id}/ DELETE /api/v1/projects/{project_id}/experiments/{exp_id}/

ParameterInTypeRequiredDescription
exp_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/experiments/{exp_id}/pause/

POST /api/v1/projects/{project_id}/experiments/{exp_id}/pause/

ParameterInTypeRequiredDescription
exp_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/experiments/{exp_id}/results/

GET /api/v1/projects/{project_id}/experiments/{exp_id}/results/

ParameterInTypeRequiredDescription
exp_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/experiments/{exp_id}/start/

POST /api/v1/projects/{project_id}/experiments/{exp_id}/start/

ParameterInTypeRequiredDescription
exp_idpathstring (uuid)yes
project_idpathstring (uuid)yes

forms

GET/api/v1/projects/{project_id}/forms/

List or create forms for a website. GET /api/v1/projects/{project_id}/forms/ POST /api/v1/projects/{project_id}/forms/ { "name": "Contact Form", "slug": "contact", "description": "Contact us form", "submit_button_text": "Send Message", "success_message": "Thanks for contacting us!", "redirect_url": "/thank-you/" // optional }

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/forms/

List or create forms for a website. GET /api/v1/projects/{project_id}/forms/ POST /api/v1/projects/{project_id}/forms/ { "name": "Contact Form", "slug": "contact", "description": "Contact us form", "submit_button_text": "Send Message", "success_message": "Thanks for contacting us!", "redirect_url": "/thank-you/" // optional }

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/

Get, update or delete a form. GET /api/v1/projects/{project_id}/forms/{form_id}/ PUT /api/v1/projects/{project_id}/forms/{form_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/forms/{form_id}/

Get, update or delete a form. GET /api/v1/projects/{project_id}/forms/{form_id}/ PUT /api/v1/projects/{project_id}/forms/{form_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/forms/{form_id}/

PATCH is treated as partial PUT.

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/forms/{form_id}/

Get, update or delete a form. GET /api/v1/projects/{project_id}/forms/{form_id}/ PUT /api/v1/projects/{project_id}/forms/{form_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/actions/

GET /api/v1/projects/{project_id}/forms/{form_id}/actions/ POST /api/v1/projects/{project_id}/forms/{form_id}/actions/

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/forms/{form_id}/actions/

GET /api/v1/projects/{project_id}/forms/{form_id}/actions/ POST /api/v1/projects/{project_id}/forms/{form_id}/actions/

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/

GET /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/ PUT /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/

ParameterInTypeRequiredDescription
action_idpathstring (uuid)yes
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/

GET /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/ PUT /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/

ParameterInTypeRequiredDescription
action_idpathstring (uuid)yes
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/

GET /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/ PUT /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/

ParameterInTypeRequiredDescription
action_idpathstring (uuid)yes
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/logs/

GET /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/logs/

ParameterInTypeRequiredDescription
action_idpathstring (uuid)yes
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/test/

POST /api/v1/projects/{project_id}/forms/{form_id}/actions/{action_id}/test/ Execute an action with sample data without creating a real submission.

ParameterInTypeRequiredDescription
action_idpathstring (uuid)yes
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/analytics/

GET /api/v1/projects/{project_id}/forms/{form_id}/analytics/ Returns form performance analytics optimized for agent consumption: - Overall conversion rate - Performance by page URL - Field dropoff analysis - Redirect distribution - UTM attribution

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/

GET /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/ the form's rules POST /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/ add a rule Body: event (lead, complete_registration, subscribe, purchase, contact, schedule, start_trial, view_content, sign_up, or a custom name), when ("submit" | "confirm"), destinations (["pixel", "server"]), conditions ({"all": [{field, op, value}]} or {"any": [...]}), linked_form_id, if_no_answer ("send" | "skip"), wait_minutes, value, currency, value_rules ([{"if": conditions, "value": n}]), name, is_active. A form without rules reports one Lead when the lead is complete, as always; with rules, only what they say.

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/

GET /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/ the form's rules POST /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/ add a rule Body: event (lead, complete_registration, subscribe, purchase, contact, schedule, start_trial, view_content, sign_up, or a custom name), when ("submit" | "confirm"), destinations (["pixel", "server"]), conditions ({"all": [{field, op, value}]} or {"any": [...]}), linked_form_id, if_no_answer ("send" | "skip"), wait_minutes, value, currency, value_rules ([{"if": conditions, "value": n}]), name, is_active. A form without rules reports one Lead when the lead is complete, as always; with rules, only what they say.

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/

GET /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ PATCH /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ change some of its settings (a setting sent as null goes back to its default) DELETE /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
rule_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/

GET /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ PATCH /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ change some of its settings (a setting sent as null goes back to its default) DELETE /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
rule_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/

GET /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ PATCH /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ change some of its settings (a setting sent as null goes back to its default) DELETE /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
rule_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/

GET /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ PATCH /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/ change some of its settings (a setting sent as null goes back to its default) DELETE /api/v1/projects/{project_id}/forms/{form_id}/conversion-rules/{rule_id}/

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
rule_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/event-log/

GET /api/v1/projects/{project_id}/forms/{form_id}/event-log/?period=30d Returns a unified view of everything that happened after form submissions: total submissions, email deliveries, webhook fires, conversion goals. This is the dashboard for the unified event service.

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/fields/

List or create fields for a form. GET /api/v1/projects/{project_id}/forms/{form_id}/fields/ POST /api/v1/projects/{project_id}/forms/{form_id}/fields/ { "name": "email", "field_type": "email", "label": "Email Address", "placeholder": "[email protected]", "required": true } Field types: text, email, phone, number, textarea, select, radio, checkbox, url, date, hidden

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/forms/{form_id}/fields/

List or create fields for a form. GET /api/v1/projects/{project_id}/forms/{form_id}/fields/ POST /api/v1/projects/{project_id}/forms/{form_id}/fields/ { "name": "email", "field_type": "email", "label": "Email Address", "placeholder": "[email protected]", "required": true } Field types: text, email, phone, number, textarea, select, radio, checkbox, url, date, hidden

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/

Update or delete a form field. PUT /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/

ParameterInTypeRequiredDescription
field_idpathstring (uuid)yes
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/

Update or delete a form field. PUT /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/

ParameterInTypeRequiredDescription
field_idpathstring (uuid)yes
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/

Update or delete a form field. PUT /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/

ParameterInTypeRequiredDescription
field_idpathstring (uuid)yes
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/

Update or delete a form field. PUT /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/ DELETE /api/v1/projects/{project_id}/forms/{form_id}/fields/{field_id}/

ParameterInTypeRequiredDescription
field_idpathstring (uuid)yes
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/funnel/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/schema/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/forms/{form_id}/schema/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/sessions/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/sessions/{session_id}/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
session_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/forms/{form_id}/sessions/{session_id}/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
session_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/submissions/

List submissions for a form. GET /api/v1/projects/{project_id}/forms/{form_id}/submissions/

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/trial/

Opt-in trial funnel of a form (docs/forms/trial-funnel.md). GET /api/v1/projects/{pid}/forms/{fid}/trial/ config, readiness problems, lead counts, leads (?state=, page) PUT /api/v1/projects/{pid}/forms/{fid}/trial/ {"trial_product_id": uuid|null, "trial_email_sequence": [...]}

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/forms/{form_id}/trial/

Opt-in trial funnel of a form (docs/forms/trial-funnel.md). GET /api/v1/projects/{pid}/forms/{fid}/trial/ config, readiness problems, lead counts, leads (?state=, page) PUT /api/v1/projects/{pid}/forms/{fid}/trial/ {"trial_product_id": uuid|null, "trial_email_sequence": [...]}

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/versions/

GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/ List version history for a content object. Subclass and set `content_type` and `model_class`.

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/versions/diff/

GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/diff/?a=uuid&b=uuid Compare two versions field-by-field.

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/forms/{form_id}/versions/{version_id}/

GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/ Get full version snapshot including data.

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
version_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/forms/{form_id}/versions/{version_id}/restore/

POST /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/restore/ Restore a content object to a previous version.

ParameterInTypeRequiredDescription
form_idpathstring (uuid)yes
project_idpathstring (uuid)yes
version_idpathstring (uuid)yes

funnels

GET/api/v1/projects/{project_id}/funnels/

GET /api/v1/projects/{project_id}/funnels/ POST /api/v1/projects/{project_id}/funnels/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/funnels/

GET /api/v1/projects/{project_id}/funnels/ POST /api/v1/projects/{project_id}/funnels/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/funnels/import/

POST /api/v1/projects/{project_id}/funnels/import/ {"funnel": <exported JSON>, "name": "optional"} Creates the funnel on this website. A form / goal is the one with the same id or name here; a page keeps its path. `to_map` lists the steps that still need their form, goal or page chosen (PATCH the flow).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/funnels/templates/

GET /api/v1/projects/{project_id}/funnels/templates/: the ready-made flows (POST /funnels/ with template=<id>).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/funnels/{funnel_id}/

GET /api/v1/projects/{project_id}/funnels/{funnel_id}/ PUT /api/v1/projects/{project_id}/funnels/{funnel_id}/ DELETE /api/v1/projects/{project_id}/funnels/{funnel_id}/

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/funnels/{funnel_id}/

GET /api/v1/projects/{project_id}/funnels/{funnel_id}/ PUT /api/v1/projects/{project_id}/funnels/{funnel_id}/ DELETE /api/v1/projects/{project_id}/funnels/{funnel_id}/

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/funnels/{funnel_id}/

#405: the same partial update as PUT (only the fields sent change).

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/funnels/{funnel_id}/

GET /api/v1/projects/{project_id}/funnels/{funnel_id}/ PUT /api/v1/projects/{project_id}/funnels/{funnel_id}/ DELETE /api/v1/projects/{project_id}/funnels/{funnel_id}/

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/funnels/{funnel_id}/analytics/

GET /api/v1/projects/{project_id}/funnels/{funnel_id}/analytics/

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/funnels/{funnel_id}/duplicate/

POST /api/v1/projects/{project_id}/funnels/{funnel_id}/duplicate/ {"project_id": "<other website>", "name": ...} A copy of the funnel on the same website, or on another website of the account (`project_id`), mapped there like an import.

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/funnels/{funnel_id}/export/

GET /api/v1/projects/{project_id}/funnels/{funnel_id}/export/: the funnel as JSON (to import elsewhere).

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/funnels/{funnel_id}/goals/

GET /api/v1/projects/{project_id}/funnels/{funnel_id}/goals/ POST /api/v1/projects/{project_id}/funnels/{funnel_id}/goals/

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/funnels/{funnel_id}/goals/

GET /api/v1/projects/{project_id}/funnels/{funnel_id}/goals/ POST /api/v1/projects/{project_id}/funnels/{funnel_id}/goals/

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/funnels/{funnel_id}/stats/

GET /api/v1/projects/{project_id}/funnels/{funnel_id}/stats/?period=30d&include_test=false&step=<id>|* The live numbers of every step: people, previous step, % that goes on, people lost, cost per person (with the Meta spend of the platform's own ad websites), the running A/B test of a page step, and for `step` (one id, or *) the breakdown by ad, platform and device plus the latest sign-ups. Same period parameters as the analytics (period / days / date_from / date_to). A paused funnel answers paused: true and no numbers.

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/funnels/{funnel_id}/steps/

GET /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/ POST /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/funnels/{funnel_id}/steps/

GET /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/ POST /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/funnels/{funnel_id}/steps/reorder/

POST /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/reorder/

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/funnels/{funnel_id}/steps/{step_id}/

PUT /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/{step_id}/ DELETE /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/{step_id}/

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
step_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/funnels/{funnel_id}/steps/{step_id}/

PUT /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/{step_id}/ DELETE /api/v1/projects/{project_id}/funnels/{funnel_id}/steps/{step_id}/

ParameterInTypeRequiredDescription
funnel_idpathstring (uuid)yes
project_idpathstring (uuid)yes
step_idpathstring (uuid)yes

gift-cards

GET/api/v1/projects/{project_id}/gift-cards/

List gift cards

GET / POST /api/v1/projects/{project_id}/gift-cards/

ParameterInTypeRequiredDescription
limitqueryintegerno1-200 (50)
project_idpathstring (uuid)yes
qquerystringnoCode (or its last characters) or customer email
usablequerybooleanno`1`: only active, unexpired, with balance
POST/api/v1/projects/{project_id}/gift-cards/

Create a gift card

A gift card is a code with a balance. At checkout the customer enters it next to the discount code; it pays what it can of the order total (after discounts, shipping and tax) and the rest is paid by card or bank transfer. An order fully paid by gift card is created as paid. Cancelling the order gives the amount back to the card. * `value` (required on create, 0.01-10000): initial balance, in the shop currency. * `code` (optional): 8-32 letters/digits (dashes and spaces ignored, any case); generated when missing (16 characters, shown as `ABCD-EFGH-JKLM-NPQR`). Unique per project. * `expires_at` (`YYYY-MM-DD` or null), `customer_email`, `note`, `is_active`. * The balance only changes through orders and `adjust/` (`{"amount": 10}` adds, `{"amount": -5}` takes; never below 0), and every change is listed in `transactions`.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/gift-cards/{card_id}/

Get a gift card

With its last 100 balance changes.

ParameterInTypeRequiredDescription
card_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/gift-cards/{card_id}/

GET / PATCH /api/v1/projects/{project_id}/gift-cards/{card_id}/

ParameterInTypeRequiredDescription
card_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/gift-cards/{card_id}/

Update a gift card

`is_active`, `expires_at`, `customer_email`, `note`. Disable a card with `{"is_active": false}`; its history stays.

ParameterInTypeRequiredDescription
card_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/gift-cards/{card_id}/adjust/

Adjust a gift card balance

`amount` adds (positive) or takes (negative); the balance never goes below 0. Optional `note`.

ParameterInTypeRequiredDescription
card_idpathstring (uuid)yes
project_idpathstring (uuid)yes

grants

GET/api/v1/projects/{project_id}/grants/

List access grants

Who can open what: one row per (customer, resource). Purchases create them (the product's access list), and so do manual grants. `valid` = active now (started, not ended, not revoked).

ParameterInTypeRequiredDescription
emailquerystringnoCustomer email (case-insensitive)
limitqueryintegernoPage size
offsetqueryintegernoItems to skip (default 0)
project_idpathstring (uuid)yes
resource_idquerystringno
resource_typequerystringno
statusquerystring (active | pending | revoked)no
validquerybooleannotrue: only grants valid right now
POST/api/v1/projects/{project_id}/grants/

Give access to a customer

Grants one resource to an email (the customer account is created if needed). `resource_type` is one of `page`, `post`, `course`, `file`, `video`, `tier`; `resource_id` is the id of that resource in this website. Body: `email`, `resource_type`, `resource_id`, optional `name`, `duration_days` (1-36500, null = no end), `note`, `send_login_link` (default true: emails a sign-in link on a new grant). Giving the same resource again returns the existing grant with 200 and `created: false`.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/grants/{grant_id}/

Get an access grant

ParameterInTypeRequiredDescription
grant_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/grants/{grant_id}/

Revoke an access grant

The customer loses access at once; the row stays (status `revoked`) for the history. `revoked` is false when it was already revoked.

ParameterInTypeRequiredDescription
grant_idpathstring (uuid)yes
project_idpathstring (uuid)yes
reasonquerystringnoStored as revoke_reason

groups

GET/api/v1/projects/{project_id}/groups/

GET: List groups. POST: Create group.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/groups/

GET: List groups. POST: Create group.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/groups/{group_id}/

GET/PATCH/DELETE a group.

ParameterInTypeRequiredDescription
group_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/groups/{group_id}/

GET/PATCH/DELETE a group.

ParameterInTypeRequiredDescription
group_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/groups/{group_id}/

GET/PATCH/DELETE a group.

ParameterInTypeRequiredDescription
group_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/groups/{group_id}/members/

POST: Add user to group. DELETE: Remove user from group.

ParameterInTypeRequiredDescription
group_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/groups/{group_id}/members/

POST: Add user to group. DELETE: Remove user from group.

ParameterInTypeRequiredDescription
group_idpathstring (uuid)yes
project_idpathstring (uuid)yes

invitations

GET/api/v1/projects/{project_id}/invitations/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/invitations/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/invitations/{invitation_id}/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
invitation_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/invitations/{invitation_id}/resend/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
invitation_idpathstring (uuid)yes
project_idpathstring (uuid)yes

keys

GET/api/v1/keys/

List API keys or create a new one. GET: every API key of the account with what it may do (never its value) POST: create a key (returns the value only once!). Body: name, and what it may do: `preset` ('full', 'readonly', 'marketing') or `key_type` + `scopes` (["pages:read", "forms:write"...]); `project_ids` limits it to those projects ([] or absent = every project); expires_at. The permissions that exist: GET /api/v1/keys/permissions/

POST/api/v1/keys/

List API keys or create a new one. GET: every API key of the account with what it may do (never its value) POST: create a key (returns the value only once!). Body: name, and what it may do: `preset` ('full', 'readonly', 'marketing') or `key_type` + `scopes` (["pages:read", "forms:write"...]); `project_ids` limits it to those projects ([] or absent = every project); expires_at. The permissions that exist: GET /api/v1/keys/permissions/

GET/api/v1/keys/permissions/

GET /api/v1/keys/permissions/: every permission a key can hold, grouped, and the presets (#416).

GET/api/v1/keys/{id}/

One API key: GET (what it may do, never its value), PATCH (name, preset / key_type + scopes, project_ids: its value does not change) and DELETE. Changing or deleting keys needs the dashboard or an unrestricted secret key.

ParameterInTypeRequiredDescription
idpathstring (uuid)yes
PATCH/api/v1/keys/{id}/

One API key: GET (what it may do, never its value), PATCH (name, preset / key_type + scopes, project_ids: its value does not change) and DELETE. Changing or deleting keys needs the dashboard or an unrestricted secret key.

ParameterInTypeRequiredDescription
idpathstring (uuid)yes
DELETE/api/v1/keys/{id}/

One API key: GET (what it may do, never its value), PATCH (name, preset / key_type + scopes, project_ids: its value does not change) and DELETE. Changing or deleting keys needs the dashboard or an unrestricted secret key.

ParameterInTypeRequiredDescription
idpathstring (uuid)yes

locales

GET/api/v1/projects/{project_id}/locales/

List and create locales for a project.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/locales/

List and create locales for a project.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/locales/{locale_id}/

Get, update, or delete a locale.

ParameterInTypeRequiredDescription
locale_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/locales/{locale_id}/

Get, update, or delete a locale.

ParameterInTypeRequiredDescription
locale_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/locales/{locale_id}/

Get, update, or delete a locale.

ParameterInTypeRequiredDescription
locale_idpathstring (uuid)yes
project_idpathstring (uuid)yes

mcp

POST/api/v1/mcp

MCP JSON-RPC 2.0 endpoint. POST /api/v1/mcp/ Authorization: Bearer ef_xxxxxxxxxxxxxxxxxxxx Handles: initialize, tools/list, tools/call, resources/list

POST/api/v1/mcp/

MCP JSON-RPC 2.0 endpoint. POST /api/v1/mcp/ Authorization: Bearer ef_xxxxxxxxxxxxxxxxxxxx Handles: initialize, tools/list, tools/call, resources/list

GET/api/v1/mcp/manifest/

GET /api/v1/mcp/manifest Public MCP tool discovery endpoint.

media

GET/api/v1/projects/{project_id}/media/

GET /api/v1/projects/{project_id}/media/ Query params: search: search title, filename, alt_text mime_type: filter by type (image/*, application/pdf) folder: filter by folder tag: filter by tag page, page_size: pagination

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/media/bulk-tag/

POST /api/v1/projects/{project_id}/media/bulk-tag/ Body: {"ids": ["uuid1", "uuid2"], "tags": ["hero", "banner"]} Add tags to multiple media files at once.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/media/move/

POST /api/v1/projects/{project_id}/media/move/ Body: {"ids": ["uuid1", "uuid2"], "folder": "/new/folder/"} Move multiple media files to a new folder.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/media/upload/

POST /api/v1/projects/{project_id}/media/upload/ Generic image upload endpoint. Returns a CDN URL. Accepts multipart file upload or base64 data URI. Request (multipart/form-data): image: File (required) folder: string (optional, default: "media") Request (JSON): image_data: "data:image/jpeg;base64,..." filename: "photo.jpg" (optional) folder: "media" (optional) Response: {"success": true, "url": "https://cdn.example.com/media/abc123.jpg"}

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/media/{media_id}/

GET /api/v1/projects/{project_id}/media/{media_id}/ — detail PUT /api/v1/projects/{project_id}/media/{media_id}/ — update metadata DELETE /api/v1/projects/{project_id}/media/{media_id}/ — delete

ParameterInTypeRequiredDescription
media_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/media/{media_id}/

GET /api/v1/projects/{project_id}/media/{media_id}/ — detail PUT /api/v1/projects/{project_id}/media/{media_id}/ — update metadata DELETE /api/v1/projects/{project_id}/media/{media_id}/ — delete

ParameterInTypeRequiredDescription
media_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/media/{media_id}/

GET /api/v1/projects/{project_id}/media/{media_id}/ — detail PUT /api/v1/projects/{project_id}/media/{media_id}/ — update metadata DELETE /api/v1/projects/{project_id}/media/{media_id}/ — delete

ParameterInTypeRequiredDescription
media_idpathstring (uuid)yes
project_idpathstring (uuid)yes

member-hooks

GET/api/v1/projects/{project_id}/member-hooks/

List member hooks

Signing secrets are shown truncated here; GET one hook to see it whole.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/member-hooks/

Create a member hook (payment provider webhook)

Connects a payment provider so its subscription events create, renew and end memberships. Body: `provider` (`lemonsqueezy`, `gumroad`, `paddle`, `stripe`, `generic`; one hook per provider), optional `default_tier` (slug or id, for products not matched by a tier's `external_ids`), `signing_secret` (16+ characters; generated if omitted). Paste the returned `url` and secret in the provider.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/member-hooks/{hook_id}/

Get a member hook (with its signing secret)

ParameterInTypeRequiredDescription
hook_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/member-hooks/{hook_id}/

Update a member hook

Any of `default_tier`, `signing_secret`, `is_active`.

ParameterInTypeRequiredDescription
hook_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/member-hooks/{hook_id}/

Delete a member hook

ParameterInTypeRequiredDescription
hook_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/member-hooks/{hook_id}/events/

A member hook's received deliveries

Newest first, with what each one did (`result`, `message`); for debugging a provider setup.

ParameterInTypeRequiredDescription
hook_idpathstring (uuid)yes
limitqueryintegernoPage size
payloadquerybooleannoInclude the raw payload
project_idpathstring (uuid)yes

member-subscriptions

GET/api/v1/projects/{project_id}/member-subscriptions/

List member subscriptions

ParameterInTypeRequiredDescription
activequerybooleannotrue: only those granting access now
emailquerystringno
pagequeryintegerno
page_sizequeryintegernoDefault 50, max 200
project_idpathstring (uuid)yes
sourcequerystringno
statusquerystringnoactive, trialing, past_due, paused, cancelled, expired
tierquerystringnoTier slug
POST/api/v1/projects/{project_id}/member-subscriptions/

Give a membership by email

Body: `email`, `tier` (slug or id), optional `source` (`manual` | `comp`; provider subscriptions come from member hooks), `status` (active, trialing, past_due, paused, cancelled, expired; default active), `current_period_end`, `external_id`, `name`, `note`. Creates the member if needed (`created_member`).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/member-subscriptions/{sub_id}/

Get a member subscription

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
sub_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/member-subscriptions/{sub_id}/

Update a member subscription

Any of `status`, `tier` (slug or id), `current_period_end`, `cancel_at_period_end`, `note`.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
sub_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/member-subscriptions/{sub_id}/

Revoke a member subscription

Sets the status to `expired` (the row stays); access ends at once.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
sub_idpathstring (uuid)yes

member-tiers

GET/api/v1/projects/{project_id}/member-tiers/

List member tiers

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/member-tiers/

Create a member tier

Fields: `name`, `slug`, `description`, `is_paid`, `monthly_price`, `yearly_price`, `currency`, `trial_days`, `benefits` (list), `checkout_url` (where members pay: your provider), `external_ids` (the provider's product / price ids, matched by member hooks), `is_active`, `sort_order`.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/member-tiers/{tier_id}/

Get a member tier

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
tier_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/member-tiers/{tier_id}/

Update a member tier

Any of the create fields (PUT behaves like PATCH).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
tier_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/member-tiers/{tier_id}/

Update a member tier

Any of the create fields (PUT behaves like PATCH).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
tier_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/member-tiers/{tier_id}/

Delete a member tier

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
tier_idpathstring (uuid)yes

metafield-definitions

GET/api/v1/projects/{project_id}/metafield-definitions/

List metafield definitions

`?owner_type=product|variant|collection`.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/metafield-definitions/

Create a metafield definition

A definition declares one typed field of the project's products, variants or collections: * `owner_type`: `product` (default), `variant` or `collection`. * `namespace` + `key` (lowercase letters, digits, `_`; start with a letter; max 50 each): the value's address, `namespace.key` (e.g. `specs.ram`). * `name` (required, shown in spec tables), `description`, `position` (display order). * `type`: single_line_text, multi_line_text, rich_text, integer, decimal, boolean, date, date_time, url, file_reference, color, money, rating, weight, dimension, volume, product_reference, collection_reference, json, list.single_line_text, list.integer, list.decimal, list.date, list.url, list.file_reference, list.color, list.product_reference, list.collection_reference, list.weight, list.dimension, list.volume. * `validations` (optional): `min` / `max`, `min_length` / `max_length` / `regex`, `choices`, `unit` (display unit for integer / decimal: `"GB"`), `scale_min` / `scale_max` (rating), `units` (allowed measurement units), `min_items` / `max_items` (lists). * `storefront_visible`: exposed by the public API and listed in the storefront specifications table. * `filterable`: usable in `mf.` / `mf_min.` / `mf_max.` filters and returned by `facets=1` (single_line_text, integer, decimal, boolean, date, color, rating, weight, dimension, volume, product_reference, collection_reference, list.single_line_text, list.integer, list.decimal, list.color). `type`, `namespace`, `key` and `owner_type` can't change while values exist (409): create a new definition and move the values with `POST /metafields/set/`. Deleting a definition deletes its values (`?keep_values=1` keeps them hidden in the owners' JSON).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/metafield-definitions/import/

Copy technical_specs / attributes values into metafields

`mapping` maps a source label to a product definition: {"RAM": "specs.ram"}. Each product's value is converted to the definition's type ("16 GB" -> 16); values that don't fit are reported and skipped. Existing metafield values are kept unless `overwrite` is true. `remove_source: true` deletes each converted label from the source (so the spec table doesn't show it twice); otherwise the source is not changed. `dry_run: true` reports without saving.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/metafield-definitions/suggest/

Suggest definitions from technical_specs / attributes

Reads the products' free-form `technical_specs` (or `?source=attributes`) and proposes one definition per label, with the type inferred from the values ("16 GB" -> integer, unit GB). Nothing is saved: create the ones you want, then `POST /metafield-definitions/import/` copies the values.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/metafield-definitions/{definition_id}/

Get a metafield definition

GET / PATCH / PUT / DELETE /api/v1/projects/{project_id}/metafield-definitions/{definition_id}/

ParameterInTypeRequiredDescription
definition_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/metafield-definitions/{definition_id}/

GET / PATCH / PUT / DELETE /api/v1/projects/{project_id}/metafield-definitions/{definition_id}/

ParameterInTypeRequiredDescription
definition_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/metafield-definitions/{definition_id}/

Update a metafield definition

A definition declares one typed field of the project's products, variants or collections: * `owner_type`: `product` (default), `variant` or `collection`. * `namespace` + `key` (lowercase letters, digits, `_`; start with a letter; max 50 each): the value's address, `namespace.key` (e.g. `specs.ram`). * `name` (required, shown in spec tables), `description`, `position` (display order). * `type`: single_line_text, multi_line_text, rich_text, integer, decimal, boolean, date, date_time, url, file_reference, color, money, rating, weight, dimension, volume, product_reference, collection_reference, json, list.single_line_text, list.integer, list.decimal, list.date, list.url, list.file_reference, list.color, list.product_reference, list.collection_reference, list.weight, list.dimension, list.volume. * `validations` (optional): `min` / `max`, `min_length` / `max_length` / `regex`, `choices`, `unit` (display unit for integer / decimal: `"GB"`), `scale_min` / `scale_max` (rating), `units` (allowed measurement units), `min_items` / `max_items` (lists). * `storefront_visible`: exposed by the public API and listed in the storefront specifications table. * `filterable`: usable in `mf.` / `mf_min.` / `mf_max.` filters and returned by `facets=1` (single_line_text, integer, decimal, boolean, date, color, rating, weight, dimension, volume, product_reference, collection_reference, list.single_line_text, list.integer, list.decimal, list.color). `type`, `namespace`, `key` and `owner_type` can't change while values exist (409): create a new definition and move the values with `POST /metafields/set/`. Deleting a definition deletes its values (`?keep_values=1` keeps them hidden in the owners' JSON).

ParameterInTypeRequiredDescription
definition_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/metafield-definitions/{definition_id}/

Delete a metafield definition

Its values are deleted too; `?keep_values=1` leaves them (hidden) in the owners.

ParameterInTypeRequiredDescription
definition_idpathstring (uuid)yes
project_idpathstring (uuid)yes

metafields

POST/api/v1/projects/{project_id}/metafields/set/

Set metafield values in bulk (atomic)

Up to 250 values of any products / variants / collections of the project in one call. All or nothing: one invalid value rejects the whole call with every error listed. `value: null` deletes the value.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

navbar

GET/api/v1/projects/{project_id}/navbar/

Get or update website navbar (header). GET /api/v1/projects/{project_id}/navbar/ PUT /api/v1/projects/{project_id}/navbar/ { "html": "<nav>...</nav>", // Custom HTML (overrides auto-generated) "is_enabled": true, // Show/hide navbar "config": { // Configuration options "style": "default", // default|minimal|centered "sticky": false, "logo": true } } DELETE /api/v1/projects/{project_id}/navbar/ - Reset to auto-generated

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/navbar/

Get or update website navbar (header). GET /api/v1/projects/{project_id}/navbar/ PUT /api/v1/projects/{project_id}/navbar/ { "html": "<nav>...</nav>", // Custom HTML (overrides auto-generated) "is_enabled": true, // Show/hide navbar "config": { // Configuration options "style": "default", // default|minimal|centered "sticky": false, "logo": true } } DELETE /api/v1/projects/{project_id}/navbar/ - Reset to auto-generated

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/navbar/

Reset navbar to auto-generated.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

navigation

GET/api/v1/projects/{project_id}/navigation/

GET /api/v1/projects/{project_id}/navigation/ PUT /api/v1/projects/{project_id}/navigation/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/navigation/

GET /api/v1/projects/{project_id}/navigation/ PUT /api/v1/projects/{project_id}/navigation/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/navigation/regenerate/

POST /api/v1/projects/{project_id}/navigation/regenerate/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

newsletters

GET/api/v1/projects/{project_id}/newsletters/

GET: sends with stats. POST {post_id, audience, tiers?, subject?, smtp_id?, send_at?}: send a post by email.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/newsletters/

GET: sends with stats. POST {post_id, audience, tiers?, subject?, smtp_id?, send_at?}: send a post by email.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/newsletters/audience/

GET ?audience=all|free|paid|tiers&tiers=a,b: how many members would get it.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/newsletters/test/

POST {post_id, email, full_access?, smtp_id?}: one test email to an address.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/newsletters/{send_id}/

GET: stats. DELETE: cancel a send that hasn't finished (members not yet sent are skipped).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
send_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/newsletters/{send_id}/

GET: stats. DELETE: cancel a send that hasn't finished (members not yet sent are skipped).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
send_idpathstring (uuid)yes

orders

GET/api/v1/projects/{project_id}/orders/

GET /projects/{id}/orders/ — List orders.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/orders/{order_id}/

GET /projects/{id}/orders/{oid}/ — Order detail.

ParameterInTypeRequiredDescription
order_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/orders/{order_id}/cancel/

POST /projects/{id}/orders/{oid}/cancel/ — Cancel order (if pending or paid, before shipping).

ParameterInTypeRequiredDescription
order_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/orders/{order_id}/edit/

Edit an order

Before shipping (status pending or paid; not a card order still waiting for its payment): `changes` `[{"order_item_id", "quantity"}]` (0 removes the line), `add` (catalogue `{"product_id", "variant_id"?, "quantity", "price"?}` or custom `{"title", "price", "quantity"}` lines), `shipping_cost`, `reason`. Stock follows the change; totals and tax are recomputed (the discount amount and what gift cards paid stay). For a paid order the difference is in `edit.balance_due` (to collect) or `edit.refund_due` (to give back). History in `metadata.edits`; webhook `order.edited`.

ParameterInTypeRequiredDescription
order_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/orders/{order_id}/refund/

POST /projects/{id}/orders/{oid}/refund/ — Refund order.

ParameterInTypeRequiredDescription
order_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/orders/{order_id}/update/

PUT /projects/{id}/orders/{oid}/ — Update order (admin: status, tracking, notes).

ParameterInTypeRequiredDescription
order_idpathstring (uuid)yes
project_idpathstring (uuid)yes

page-templates

GET/api/v1/projects/{project_id}/page-templates/

GET /api/v1/projects/{project_id}/page-templates/ POST /api/v1/projects/{project_id}/page-templates/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/page-templates/

GET /api/v1/projects/{project_id}/page-templates/ POST /api/v1/projects/{project_id}/page-templates/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/page-templates/{template_id}/

GET /api/v1/projects/{project_id}/page-templates/{template_id}/ PUT /api/v1/projects/{project_id}/page-templates/{template_id}/ DELETE /api/v1/projects/{project_id}/page-templates/{template_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
template_idpathintegeryes
PUT/api/v1/projects/{project_id}/page-templates/{template_id}/

GET /api/v1/projects/{project_id}/page-templates/{template_id}/ PUT /api/v1/projects/{project_id}/page-templates/{template_id}/ DELETE /api/v1/projects/{project_id}/page-templates/{template_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
template_idpathintegeryes
DELETE/api/v1/projects/{project_id}/page-templates/{template_id}/

GET /api/v1/projects/{project_id}/page-templates/{template_id}/ PUT /api/v1/projects/{project_id}/page-templates/{template_id}/ DELETE /api/v1/projects/{project_id}/page-templates/{template_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
template_idpathintegeryes

pages

GET/api/v1/projects/{project_id}/pages/

GET /api/v1/projects/{project_id}/pages/ POST /api/v1/projects/{project_id}/pages/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/pages/

GET /api/v1/projects/{project_id}/pages/ POST /api/v1/projects/{project_id}/pages/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/pages/bulk/

POST /api/v1/projects/{pid}/pages/bulk/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/pages/bulk/

DELETE /api/v1/projects/{pid}/pages/bulk/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/pages/reorder/

POST /api/v1/projects/{project_id}/pages/reorder/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/pages/{page_id}/

GET /api/v1/projects/{project_id}/pages/{page_id}/ PUT /api/v1/projects/{project_id}/pages/{page_id}/ DELETE /api/v1/projects/{project_id}/pages/{page_id}/

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/pages/{page_id}/

GET /api/v1/projects/{project_id}/pages/{page_id}/ PUT /api/v1/projects/{project_id}/pages/{page_id}/ DELETE /api/v1/projects/{project_id}/pages/{page_id}/

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/pages/{page_id}/

PATCH is treated as partial PUT for backward compatibility.

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/pages/{page_id}/

GET /api/v1/projects/{project_id}/pages/{page_id}/ PUT /api/v1/projects/{project_id}/pages/{page_id}/ DELETE /api/v1/projects/{project_id}/pages/{page_id}/

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/pages/{page_id}/analytics/

GET /api/v1/projects/{project_id}/pages/{page_id}/analytics/ Returns pageviews, submissions, conversion rate for this page.

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/pages/{page_id}/blocks/

GET /projects/{id}/pages/{page_id}/blocks/ — list all blocks POST /projects/{id}/pages/{page_id}/blocks/ — add a block

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/pages/{page_id}/blocks/

GET /projects/{id}/pages/{page_id}/blocks/ — list all blocks POST /projects/{id}/pages/{page_id}/blocks/ — add a block

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/pages/{page_id}/blocks/reorder/

PUT /projects/{id}/pages/{page_id}/blocks/reorder/ — reorder blocks.

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/pages/{page_id}/blocks/{block_id}/

GET /projects/{id}/pages/{page_id}/blocks/{block_id}/ — get one block PUT /projects/{id}/pages/{page_id}/blocks/{block_id}/ — update block content DELETE /projects/{id}/pages/{page_id}/blocks/{block_id}/ — remove block

ParameterInTypeRequiredDescription
block_idpathstringyes
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/pages/{page_id}/blocks/{block_id}/

Full replace of block content/config.

ParameterInTypeRequiredDescription
block_idpathstringyes
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/pages/{page_id}/blocks/{block_id}/

Partial merge — only updates the props/config keys sent. Existing keys preserved.

ParameterInTypeRequiredDescription
block_idpathstringyes
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/pages/{page_id}/blocks/{block_id}/

GET /projects/{id}/pages/{page_id}/blocks/{block_id}/ — get one block PUT /projects/{id}/pages/{page_id}/blocks/{block_id}/ — update block content DELETE /projects/{id}/pages/{page_id}/blocks/{block_id}/ — remove block

ParameterInTypeRequiredDescription
block_idpathstringyes
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/pages/{page_id}/clone/

POST /api/v1/projects/{project_id}/pages/{page_id}/clone/ Body: {"slug": "new-slug", "title": "New Title"} (optional overrides)

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/pages/{page_id}/revisions/ Deprecated · removed 2026-12-14

Pages version via LandingPage — override to use landing_page.id as object_id.

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/pages/{page_id}/revisions/{version_id}/ Deprecated · removed 2026-12-14

GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/ Get full version snapshot including data.

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
version_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/pages/{page_id}/revisions/{version_id}/restore/ Deprecated · removed 2026-12-14

POST /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/restore/ Restore a content object to a previous version.

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
version_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/pages/{page_id}/translations/

GET /api/v1/projects/{project_id}/pages/{page_id}/translations/ List all translations of a page (linked by translation_group). POST /api/v1/projects/{project_id}/pages/{page_id}/translations/ Create a translation copy of a page in a new locale. Body: {"locale": "fr"}

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/pages/{page_id}/translations/

GET /api/v1/projects/{project_id}/pages/{page_id}/translations/ List all translations of a page (linked by translation_group). POST /api/v1/projects/{project_id}/pages/{page_id}/translations/ Create a translation copy of a page in a new locale. Body: {"locale": "fr"}

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/pages/{page_id}/versions/

Pages version via LandingPage — override to use landing_page.id as object_id.

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/pages/{page_id}/versions/diff/

GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/diff/?a=uuid&b=uuid Compare two versions field-by-field.

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/pages/{page_id}/versions/{version_id}/

GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/ Get full version snapshot including data.

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
version_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/pages/{page_id}/versions/{version_id}/restore/

POST /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/restore/ Restore a content object to a previous version.

ParameterInTypeRequiredDescription
page_idpathstring (uuid)yes
project_idpathstring (uuid)yes
version_idpathstring (uuid)yes

pickup-locations

GET/api/v1/projects/{project_id}/pickup-locations/

GET/POST /projects/{id}/pickup-locations/ — list or create in-store pickup locations (#189).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/pickup-locations/

GET/POST /projects/{id}/pickup-locations/ — list or create in-store pickup locations (#189).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/pickup-locations/{pickup_id}/

GET/PATCH/DELETE /projects/{id}/pickup-locations/{pickup_id}/ (#189).

ParameterInTypeRequiredDescription
pickup_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/pickup-locations/{pickup_id}/

GET/PATCH/DELETE /projects/{id}/pickup-locations/{pickup_id}/ (#189).

ParameterInTypeRequiredDescription
pickup_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/pickup-locations/{pickup_id}/

GET/PATCH/DELETE /projects/{id}/pickup-locations/{pickup_id}/ (#189).

ParameterInTypeRequiredDescription
pickup_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/pickup-locations/{pickup_id}/

GET/PATCH/DELETE /projects/{id}/pickup-locations/{pickup_id}/ (#189).

ParameterInTypeRequiredDescription
pickup_idpathstring (uuid)yes
project_idpathstring (uuid)yes

portal

GET/api/v1/projects/{project_id}/portal/

GET: is the member Portal on (a `warning` says when site user accounts were switched off under it). POST {text?, color?, button?}: turn it on / update — needs site user accounts on (PATCH auth-settings/ {"is_enabled": true}), otherwise 400 with field `accounts`. DELETE: turn it off.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/portal/

GET: is the member Portal on (a `warning` says when site user accounts were switched off under it). POST {text?, color?, button?}: turn it on / update — needs site user accounts on (PATCH auth-settings/ {"is_enabled": true}), otherwise 400 with field `accounts`. DELETE: turn it off.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/portal/

GET: is the member Portal on (a `warning` says when site user accounts were switched off under it). POST {text?, color?, button?}: turn it on / update — needs site user accounts on (PATCH auth-settings/ {"is_enabled": true}), otherwise 400 with field `accounts`. DELETE: turn it off.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

product-categories

GET/api/v1/projects/{project_id}/product-categories/tree/ Deprecated · removed 2026-12-14

GET /api/v1/projects/{project_id}/categories/tree/ Returns all categories as a nested tree structure.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

products

GET/api/v1/projects/{project_id}/products/

List or create products for a website. GET /api/v1/projects/{project_id}/products/ POST /api/v1/projects/{project_id}/products/ { "name": "Product Name", "price": 29.99, "description": "Product description", "image_url": "https://cdn.example.com/image.jpg", "category_id": "uuid-here", // optional "is_featured": true, "is_active": true }

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/

List or create products for a website. GET /api/v1/projects/{project_id}/products/ POST /api/v1/projects/{project_id}/products/ { "name": "Product Name", "price": 29.99, "description": "Product description", "image_url": "https://cdn.example.com/image.jpg", "category_id": "uuid-here", // optional "is_featured": true, "is_active": true }

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/bulk/

POST /api/v1/projects/{pid}/products/bulk/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/deleted/

GET /projects/{id}/products/deleted/?since=<ISO 8601>: products deleted at or after that instant (kept 90 days), oldest first, at most 1000 per call (call again with since = the last deleted_at). With ?updated_since= on the products list it keeps an external copy exact.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/facets/

GET /projects/{id}/products/facets/?category=slug Returns attribute facet counts for building filter sidebars: { "brand": {"Kingston": 12, "Corsair": 8}, "ram": {"16GB": 15, "32GB": 7}, "price_range": {"min": 49, "max": 499} }

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/suggest/

GET /projects/{id}/products/suggest/?q=king Returns autocomplete suggestions (top 8 product names).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/

Get, update, or delete a specific product. GET /api/v1/projects/{project_id}/products/{product_id}/ PUT /api/v1/projects/{project_id}/products/{product_id}/ DELETE /api/v1/projects/{project_id}/products/{product_id}/

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/products/{product_id}/

Get, update, or delete a specific product. GET /api/v1/projects/{project_id}/products/{product_id}/ PUT /api/v1/projects/{project_id}/products/{product_id}/ DELETE /api/v1/projects/{project_id}/products/{product_id}/

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/products/{product_id}/

Partial update: only the fields sent change (PUT is the same, kept for compatibility).

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/products/{product_id}/

Get, update, or delete a specific product. GET /api/v1/projects/{project_id}/products/{product_id}/ PUT /api/v1/projects/{project_id}/products/{product_id}/ DELETE /api/v1/projects/{project_id}/products/{product_id}/

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/access/

What buying a product unlocks

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/products/{product_id}/access/

Set what buying a product unlocks

Replaces the list: `{"grants": [{resource_type, resource_id, duration_days}]}` (at most 50; `[]` removes every grant). `resource_type` is one of `page`, `post`, `course`, `file`, `video`, `tier`; `resource_id` is the id of that resource in this website. Needs customer accounts enabled on the website. Each paid order then gives the buyer one grant per entry.

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/codes/

A product's codes (masked)

Counts per pool (the product, or each variant) and the codes, masked (`••••` + the last characters). Filter with `variant_id`, `status` (available, delivered, void, revoked), `limit` (max 500) and `offset`. The codes themselves are never returned by the API: export them from the panel (audited).

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/{product_id}/codes/

Add codes to a product

`{"codes": ["AAAA-1111", "BBBB-2222"]}` (or one string, one code per line); `variant_id` for a product with variants. Duplicates (in the list or already loaded) are dropped. The product's stock becomes the number of available codes; paid orders waiting for codes get theirs now.

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/{product_id}/codes/release/

Put refunded codes back on sale

`{"ids": [...]}`: codes delivered to an order that was later refunded or cancelled stay out of the stock until you release them (only when you know they were not used).

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/{product_id}/codes/void/

Void codes

`{"ids": [...], "note": "…"}`: available codes (a bad or leaked batch), or codes of a refunded / cancelled order, are voided: never sold.

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/files/

A product's files and download limits

Buyers download them at /account/downloads/ once the order is paid.

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/{product_id}/files/

Add a file to a product

Two ways. **Direct**: multipart with `file` (up to 25 MB): stored and `ready`. **Large files**: JSON `{"filename", "size"}` returns `upload` (a URL and headers to PUT the bytes to); after the PUT, call `POST …/files/<id>/complete/`. Files live in a private bucket.

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/products/{product_id}/files/

Set the download limits

`{"download_limit": n | null, "download_days": n | null}`: downloads per purchase and days after the purchase (null = no limit).

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/files/{file_id}/

Get a product file

ParameterInTypeRequiredDescription
file_idpathstring (uuid)yes
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/products/{product_id}/files/{file_id}/

Delete a product file

Removed from storage too; buyers no longer see it.

ParameterInTypeRequiredDescription
file_idpathstring (uuid)yes
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/{product_id}/files/{file_id}/complete/

Finish a large-file upload

After the PUT to the upload URL: checks the stored size and marks the file `ready`.

ParameterInTypeRequiredDescription
file_idpathstring (uuid)yes
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/gallery/

GET /projects/{id}/products/{pid}/gallery/ — list images POST /projects/{id}/products/{pid}/gallery/ — add image

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/{product_id}/gallery/

GET /projects/{id}/products/{pid}/gallery/ — list images POST /projects/{id}/products/{pid}/gallery/ — add image

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/{product_id}/gallery/reorder/

POST /projects/{id}/products/{pid}/gallery/reorder/ Body: {"image_ids": ["uuid1", "uuid2", "uuid3"]}

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/gallery/{image_id}/

GET /projects/{id}/products/{pid}/gallery/{iid}/ — get image PUT /projects/{id}/products/{pid}/gallery/{iid}/ — update image DELETE /projects/{id}/products/{pid}/gallery/{iid}/ — delete image

ParameterInTypeRequiredDescription
image_idpathstring (uuid)yes
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/products/{product_id}/gallery/{image_id}/

GET /projects/{id}/products/{pid}/gallery/{iid}/ — get image PUT /projects/{id}/products/{pid}/gallery/{iid}/ — update image DELETE /projects/{id}/products/{pid}/gallery/{iid}/ — delete image

ParameterInTypeRequiredDescription
image_idpathstring (uuid)yes
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/products/{product_id}/gallery/{image_id}/

GET /projects/{id}/products/{pid}/gallery/{iid}/ — get image PUT /projects/{id}/products/{pid}/gallery/{iid}/ — update image DELETE /projects/{id}/products/{pid}/gallery/{iid}/ — delete image

ParameterInTypeRequiredDescription
image_idpathstring (uuid)yes
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/{product_id}/image/

Upload an image for a product. POST /api/v1/projects/{project_id}/products/{product_id}/image/ Accepts multipart/form-data with 'image' file field. Also accepts base64 encoded image in JSON body for camera captures. Request (multipart/form-data): image: File (required) Request (JSON for camera capture): { "image_data": "data:image/jpeg;base64,/9j/4AAQ...", "filename": "camera_photo.jpg" } Response: { "success": true, "image_url": "https://cdn.example.com/image.jpg", "product": { ... } }

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/images/ Deprecated · removed 2026-12-14

GET /projects/{id}/products/{pid}/gallery/ — list images POST /projects/{id}/products/{pid}/gallery/ — add image

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/{product_id}/images/ Deprecated · removed 2026-12-14

GET /projects/{id}/products/{pid}/gallery/ — list images POST /projects/{id}/products/{pid}/gallery/ — add image

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/{product_id}/images/reorder/ Deprecated · removed 2026-12-14

POST /projects/{id}/products/{pid}/gallery/reorder/ Body: {"image_ids": ["uuid1", "uuid2", "uuid3"]}

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/images/{image_id}/ Deprecated · removed 2026-12-14

GET /projects/{id}/products/{pid}/gallery/{iid}/ — get image PUT /projects/{id}/products/{pid}/gallery/{iid}/ — update image DELETE /projects/{id}/products/{pid}/gallery/{iid}/ — delete image

ParameterInTypeRequiredDescription
image_idpathstring (uuid)yes
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/products/{product_id}/images/{image_id}/ Deprecated · removed 2026-12-14

GET /projects/{id}/products/{pid}/gallery/{iid}/ — get image PUT /projects/{id}/products/{pid}/gallery/{iid}/ — update image DELETE /projects/{id}/products/{pid}/gallery/{iid}/ — delete image

ParameterInTypeRequiredDescription
image_idpathstring (uuid)yes
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/products/{product_id}/images/{image_id}/ Deprecated · removed 2026-12-14

GET /projects/{id}/products/{pid}/gallery/{iid}/ — get image PUT /projects/{id}/products/{pid}/gallery/{iid}/ — update image DELETE /projects/{id}/products/{pid}/gallery/{iid}/ — delete image

ParameterInTypeRequiredDescription
image_idpathstring (uuid)yes
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/related/

Related products

GET /projects/{id}/products/{pid}/related/ Returns related products using heuristics.

ParameterInTypeRequiredDescription
limitqueryintegerno1-12 (default 4)
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/reviews/

List reviews of a product

Approved reviews, newest first. `all=true` includes pending and rejected ones (moderation). `rating_avg` / `rating_count` are computed from **approved** reviews only.

ParameterInTypeRequiredDescription
allquerybooleanno`true`: every status, not only approved
limitqueryintegernoPage size
offsetqueryintegernoItems to skip (default 0)
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
sortquerystring (helpful | newest | rating_high | rating_low)noOrder (default newest)
POST/api/v1/projects/{project_id}/products/{product_id}/reviews/

Create a review

Creates a **pending** review (it shows up publicly once approved). `author_name` defaults to the site user's name when the request carries one. Shoppers use the public, key-less `POST /shop/reviews/{product_id}/` on the site instead.

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
Body fieldTypeRequiredDescription
ratingintegeryes
bodystringyes
titlestringno
author_namestringno
order_idstring (uuid)noA delivered order: marks the review as a verified purchase
POST/api/v1/projects/{project_id}/products/{product_id}/sync-stripe/

POST /projects/{id}/products/{pid}/sync-stripe/ — Sync product to Stripe.

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/translations/

GET /api/v1/projects/{project_id}/products/{product_id}/translations/ POST /api/v1/projects/{project_id}/products/{product_id}/translations/ Body: {"locale": "fr"}

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/{product_id}/translations/

GET /api/v1/projects/{project_id}/products/{product_id}/translations/ POST /api/v1/projects/{project_id}/products/{product_id}/translations/ Body: {"locale": "fr"}

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/variants/

List all variants for a product or create a new variant. GET /api/v1/projects/{project_id}/products/{product_id}/variants/ POST /api/v1/projects/{project_id}/products/{product_id}/variants/

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/{product_id}/variants/

List all variants for a product or create a new variant. GET /api/v1/projects/{project_id}/products/{product_id}/variants/ POST /api/v1/projects/{project_id}/products/{product_id}/variants/

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/

Get, update, or delete a specific product variant. GET /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/ PUT /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/ DELETE /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
variant_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/

Get, update, or delete a specific product variant. GET /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/ PUT /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/ DELETE /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
variant_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/

Partial update (PUT is the same, kept for compatibility).

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
variant_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/

Get, update, or delete a specific product variant. GET /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/ PUT /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/ DELETE /api/v1/projects/{project_id}/products/{product_id}/variants/{variant_id}/

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
variant_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/versions/

GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/ List version history for a content object. Subclass and set `content_type` and `model_class`.

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/versions/diff/

GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/diff/?a=uuid&b=uuid Compare two versions field-by-field.

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/products/{product_id}/versions/{version_id}/

GET /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/ Get full version snapshot including data.

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
version_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/products/{product_id}/versions/{version_id}/restore/

POST /api/v1/projects/{project_id}/<resource>/{object_id}/versions/{version_id}/restore/ Restore a content object to a previous version.

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes
version_idpathstring (uuid)yes

projects

GET/api/v1/projects/

List all projects for the authenticated user.

POST/api/v1/projects/

#360: create a website over REST, exactly as MCP escalateflow_projects_create does (same function: plan limits, subdomain rules, related rows, language). Idempotent: the same subdomain (or, without one, the same name) returns the existing project with already_existed=true (200) instead of a second site. 201 when created. Body: name (required), subdomain (optional; derived from the name and made unique), language (default es).

GET/api/v1/projects/list/ Deprecated · removed 2026-12-14

List all projects (websites) for the authenticated user. GET /api/v1/projects/list/

GET/api/v1/projects/{id}/

GET /api/v1/projects/{id}/ — Get project details DELETE /api/v1/projects/{id}/ — Delete a project and all its resources

ParameterInTypeRequiredDescription
idpathstring (uuid)yes
PUT/api/v1/projects/{id}/

Update project settings.

ParameterInTypeRequiredDescription
idpathstring (uuid)yes
PATCH/api/v1/projects/{id}/

Partial update project settings — alias for PUT with same logic.

ParameterInTypeRequiredDescription
idpathstring (uuid)yes
DELETE/api/v1/projects/{id}/

GET /api/v1/projects/{id}/ — Get project details DELETE /api/v1/projects/{id}/ — Delete a project and all its resources

ParameterInTypeRequiredDescription
idpathstring (uuid)yes

public

POST/api/v1/public/errors/

Report a storefront JavaScript error

No API key: called from the published site (`EF.reportError(...)` in the runtime) and resolved by its Host. Body: `message` (required), optional `stack`, `page_url`, `user_agent`, `metadata` (object, over 1 KB is replaced by `{"_truncated": true}`); any other field is a 400. Rate limit: 60 reports per minute per IP. The IP is stored only as a salted hash.

POST/api/v1/public/videos/{video_id}/play/

POST /public/videos/{vid}/play/ — public, unauthenticated play beacon fired by the player; increments the per-website monthly counter (#176). Always 204 (never leaks). Inflation controls (#186): a per-IP rate ceiling (throttle), a bot/programmatic-client filter (curl/python-requests/no-browser-headers never count), and per-visitor-per-day dedup so one viewer can't pump the counter. Still soft/approximate — phase 2 reconciles with Cloudflare logs.

ParameterInTypeRequiredDescription
video_idpathstring (uuid)yes
GET/api/v1/public/{project_id}/categories/

List active categories

Flat list in display order; build the tree with `parent_id`. `product_count` counts active products.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/public/{project_id}/categories/{slug}/

Get an active category

With its active child categories and up to 12 preview products (featured first).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
slugpathstringyes
GET/api/v1/public/{project_id}/collections/

List published collections

Published collections in display order with their page URL and active product count. Their products: `products/?collection=<slug>`. `Cache-Control: public, max-age=300`.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/public/{project_id}/entries/{type_slug}/

List published entries of a content type

GET /public/{project_id}/entries/{type_slug}/

ParameterInTypeRequiredDescription
limitqueryintegernomax 100
localequerystringno
project_idpathstring (uuid)yes
type_slugpathstringyes
GET/api/v1/public/{project_id}/posts/

Latest published blog posts (20)

GET /public/{project_id}/posts/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/public/{project_id}/products/

List active products

Active products of the project, newest first (or by relevance with `q`). No API key; `Cache-Control: private, no-store`. Prices come raw (`price`) and in the shop's display format (`price_formatted`).

ParameterInTypeRequiredDescription
categoryquerystringnoCategory slug; includes its subcategories
collectionquerystringnoPublished collection slug: its products, in the collection's sort order (unless `q` ranks them). Unknown or unpublished collection: 404 (an empty collection is 200 with `count` 0)
facetsquerybooleanno`1`: also `facets` over every matching product (not just this page): `vendors` [{name, count}], `categories` [{name, slug, count}], `price` {min, max}, `in_stock` (count), `metafields` {"ns.key": {name, type, unit, values [{value, display, count}], min, max}} for the filterable, storefront-visible metafield definitions. Build filters from it instead of hard-coding them
featuredquerybooleanno`1`: featured only
includequerystringno`metafields`: each product also carries its storefront-visible `metafields` {"namespace": {"key": {name, type, value, display, unit?}}}
limitqueryintegerno1-100 (default 50). `count` is the total: page with `offset` until it is covered
mf.<namespace>.<key>querystringnoFilter by a filterable metafield: `mf.specs.ram=16` (comma list = any of them); ranges `mf_min.specs.ram=16`, `mf_max.specs.screen=15.6`. Unknown or non-filterable keys: 400
offsetqueryintegernoItems to skip (default 0)
project_idpathstring (uuid)yes
qquerystringnoSearch: full text over name/description/tags (accents and plurals ignored, prefix match per word) plus a plain name match
slugquerystringnoComma-separated product slugs (max 50), returned in that order
updated_sincequerystring (date-time)noISO 8601: only products changed at or after it (sync / cache refresh)
GET/api/v1/public/{project_id}/products/{slug_or_id}/

Get an active product

By slug or UUID. Includes `variants` (active ones, display order) when the product has any.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
slug_or_idpathstringyesProduct slug or product UUID
GET/api/v1/public/{project_id}/products/{slug_or_id}/reviews/

Approved reviews of a product

Approved reviews only, newest first, plus a summary over **all** approved reviews (`average` 0 when there are none, `distribution` counts per star 1-5). No API key; `Cache-Control: public, max-age=300`. Shoppers submit reviews with `POST /shop/reviews/{product_id}/` on the site host; they appear here after moderation.

ParameterInTypeRequiredDescription
limitqueryintegerno1-50 (default 10)
offsetqueryintegernoItems to skip (default 0)
project_idpathstring (uuid)yes
slug_or_idpathstringyesProduct slug or product UUID

redirects

GET/api/v1/projects/{project_id}/redirects/

GET /api/v1/projects/{project_id}/redirects/ POST /api/v1/projects/{project_id}/redirects/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/redirects/

GET /api/v1/projects/{project_id}/redirects/ POST /api/v1/projects/{project_id}/redirects/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/redirects/bulk/

POST /api/v1/projects/{pid}/redirects/bulk/ — #413: up to 10.000 redirects at once (a website migration). Body: {"redirects": [{source_path, destination, redirect_type?, match_type?}, ...]} or {"csv": "source,destination [,type[,match]] ..."}; "dry_run": true only reports; "flatten_chains": true sends A→B→C straight to C (the saved redirects that point to an imported address too). One result per row (index from 0, status 201 created / 200 updated / 400 refused, error, warnings) and the report's summary. Nothing invalid is created; the plan limits (in total and for prefix / wildcard / regex) apply.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/redirects/export/

GET /api/v1/projects/{project_id}/redirects/export/ — every redirect as CSV (#413).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/redirects/not-found/

GET /api/v1/projects/{project_id}/redirects/not-found/ — the most requested addresses that answered 404 (people, not bots; 90 days), each with a suggested page (#413). ?limit= (1-500, default 100), ?all=1 also lists the ones a redirect or a page answers now.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/redirects/{redirect_id}/

GET /api/v1/projects/{project_id}/redirects/{redirect_id}/ PUT /api/v1/projects/{project_id}/redirects/{redirect_id}/ DELETE /api/v1/projects/{project_id}/redirects/{redirect_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
redirect_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/redirects/{redirect_id}/

GET /api/v1/projects/{project_id}/redirects/{redirect_id}/ PUT /api/v1/projects/{project_id}/redirects/{redirect_id}/ DELETE /api/v1/projects/{project_id}/redirects/{redirect_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
redirect_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/redirects/{redirect_id}/

GET /api/v1/projects/{project_id}/redirects/{redirect_id}/ PUT /api/v1/projects/{project_id}/redirects/{redirect_id}/ DELETE /api/v1/projects/{project_id}/redirects/{redirect_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
redirect_idpathstring (uuid)yes

returns

GET/api/v1/projects/{project_id}/returns/

List returns

Customers request returns from their order page when the shop has `returns_enabled` (shop settings) and the order is paid / shipped / delivered within `return_window_days` of its payment or delivery. You can also create one here. Flow: `requested` → `approve/` or `decline/` (optional `note`, emailed to the customer) → `receive/` (`{"restock": true}` puts the items back in stock) → `refund/` (optional `amount`, default the returned lines' price; card orders paid with Stripe are refunded at Stripe, other orders record the refund you make). When an order's refunds reach its total, the order becomes `refunded`. Webhooks: `return.requested`, `return.approved`, `return.declined`, `return.received`, `return.refunded`.

ParameterInTypeRequiredDescription
limitqueryintegerno1-200 (50)
order_numberquerystringno
project_idpathstring (uuid)yes
statusquerystringnorequested, approved, declined, received, refunded
POST/api/v1/projects/{project_id}/returns/

Create a return

`order_number` (or `order_id`), `lines` `[{"order_item_id", "quantity"}]`, optional `reason`. Created as `requested`.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/returns/{return_id}/

Get a return

GET /api/v1/projects/{project_id}/returns/{return_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
return_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/returns/{return_id}/approve/

Approve a return

Optional `note` (emailed to the customer).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
return_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/returns/{return_id}/decline/

Decline a return

Optional `note` (emailed to the customer).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
return_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/returns/{return_id}/receive/

Mark a return received

`{"restock": true}` (default) puts the items back in stock.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
return_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/returns/{return_id}/refund/

Refund a return

Optional `amount` (default the returned lines' price, capped at what is left to refund). Stripe-paid card orders are refunded at Stripe.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
return_idpathstring (uuid)yes

reviews

GET/api/v1/projects/{project_id}/reviews/

List the project's reviews (moderation queue)

All products, newest first. Use `status=pending` for the moderation queue.

ParameterInTypeRequiredDescription
limitqueryintegernoPage size
offsetqueryintegernoItems to skip (default 0)
productquerystring (uuid)noOnly reviews of this product
project_idpathstring (uuid)yes
statusquerystring (all | approved | pending | rejected)noFilter by status (default `all`)
GET/api/v1/projects/{project_id}/reviews/{review_id}/

Get a review

GET / DELETE /projects/{id}/reviews/{review_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
review_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/reviews/{review_id}/

Delete a review

Deletes the review and recomputes the product's rating from the approved reviews.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
review_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/reviews/{review_id}/helpful/

Toggle a helpful vote

Needs a logged-in site user on the request; toggles their vote.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
review_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/reviews/{review_id}/moderate/

Approve or reject a review

Sets the status and `moderated_at`, and recomputes the product's `rating_avg` / `rating_count` from its approved reviews (the cached storefront pages of the product refresh).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
review_idpathstring (uuid)yes
Body fieldTypeRequiredDescription
statusReviewModerateRequestStatusEnumyes

schemas

GET/api/v1/schemas/

GET /api/v1/schemas/ Returns index of all available JSON Schemas.

GET/api/v1/schemas/{schema_name}/

GET /api/v1/schemas/{name}/ Returns the full JSON Schema for a resource. Cached for 1 hour.

ParameterInTypeRequiredDescription
schema_namepathstringyes

settings

GET/api/v1/projects/{project_id}/settings/

GET /api/v1/projects/{project_id}/settings/ PUT /api/v1/projects/{project_id}/settings/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/settings/

GET /api/v1/projects/{project_id}/settings/ PUT /api/v1/projects/{project_id}/settings/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/settings/seo/ Deprecated · removed 2026-12-14

GET /api/v1/projects/{project_id}/settings/seo/ Convenience endpoint for just SEO-related settings.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/settings/style-kit/

GET /api/v1/projects/{project_id}/settings/style-kit/ PUT /api/v1/projects/{project_id}/settings/style-kit/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/settings/style-kit/

GET /api/v1/projects/{project_id}/settings/style-kit/ PUT /api/v1/projects/{project_id}/settings/style-kit/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

shipping-zones

GET/api/v1/projects/{project_id}/shipping-zones/

List shipping zones

Zones with their rates, in display order.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/shipping-zones/

Create a shipping zone

* `name` (required) and `countries`: ISO 3166-1 alpha-2 codes (`ES`, `PT`, `FR`...). A zone without countries is the **rest of the world** (one per project). A country can be in only one active zone. * `rates` (on create, optional): list of rates, see below. Rates are then managed with the `rates/` endpoints. * Rate fields: `name` (required), `price` (≥ 0), optional conditions `min_subtotal` / `max_subtotal` (products subtotal after discounts, `max` exclusive), `min_weight` / `max_weight` (cart weight in kg from the products' `weight` / `weight_unit`, `max` exclusive), `free_over` (the rate is free from that subtotal), `delivery_estimate` (text shown to the customer, e.g. "24-48 h"), `position`, `is_active`. * As soon as the project has an active zone with an active rate, the checkout asks for the country (select) and shows the rates that apply; the cart shows "calculated at checkout". Without zones, the flat shipping cost and free-shipping threshold of the project apply as before. * Unknown fields are rejected (400).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/shipping-zones/quote/

Quote shipping

The rates the checkout would offer for a destination and cart (`subtotal` = products subtotal after discounts, `weight` in kg). Also lists the selectable countries.

ParameterInTypeRequiredDescription
countryquerystringnoISO code or country name
project_idpathstring (uuid)yes
subtotalquerynumberno
weightquerynumberno
GET/api/v1/projects/{project_id}/shipping-zones/{zone_id}/

Get a shipping zone

GET / PUT / PATCH / DELETE /api/v1/projects/{project_id}/shipping-zones/{zone_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
zone_idpathintegeryes
PUT/api/v1/projects/{project_id}/shipping-zones/{zone_id}/

GET / PUT / PATCH / DELETE /api/v1/projects/{project_id}/shipping-zones/{zone_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
zone_idpathintegeryes
PATCH/api/v1/projects/{project_id}/shipping-zones/{zone_id}/

Update a shipping zone

Partial update of `name`, `countries`, `position`, `is_active` (rates: `rates/`).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
zone_idpathintegeryes
DELETE/api/v1/projects/{project_id}/shipping-zones/{zone_id}/

Delete a shipping zone

Its rates are deleted too; past orders keep their shipping cost and method.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
zone_idpathintegeryes
POST/api/v1/projects/{project_id}/shipping-zones/{zone_id}/rates/

Add a rate to a zone

* `name` (required) and `countries`: ISO 3166-1 alpha-2 codes (`ES`, `PT`, `FR`...). A zone without countries is the **rest of the world** (one per project). A country can be in only one active zone. * `rates` (on create, optional): list of rates, see below. Rates are then managed with the `rates/` endpoints. * Rate fields: `name` (required), `price` (≥ 0), optional conditions `min_subtotal` / `max_subtotal` (products subtotal after discounts, `max` exclusive), `min_weight` / `max_weight` (cart weight in kg from the products' `weight` / `weight_unit`, `max` exclusive), `free_over` (the rate is free from that subtotal), `delivery_estimate` (text shown to the customer, e.g. "24-48 h"), `position`, `is_active`. * As soon as the project has an active zone with an active rate, the checkout asks for the country (select) and shows the rates that apply; the cart shows "calculated at checkout". Without zones, the flat shipping cost and free-shipping threshold of the project apply as before. * Unknown fields are rejected (400).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
zone_idpathintegeryes
PUT/api/v1/projects/{project_id}/shipping-zones/{zone_id}/rates/{rate_id}/

PUT / PATCH / DELETE /api/v1/projects/{project_id}/shipping-zones/{zone_id}/rates/{rate_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
rate_idpathintegeryes
zone_idpathintegeryes
PATCH/api/v1/projects/{project_id}/shipping-zones/{zone_id}/rates/{rate_id}/

Update a rate

Partial update; send `null` to clear a condition.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
rate_idpathintegeryes
zone_idpathintegeryes
DELETE/api/v1/projects/{project_id}/shipping-zones/{zone_id}/rates/{rate_id}/

Delete a rate

PUT / PATCH / DELETE /api/v1/projects/{project_id}/shipping-zones/{zone_id}/rates/{rate_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
rate_idpathintegeryes
zone_idpathintegeryes

shop

GET/api/v1/projects/{project_id}/shop/analytics/overview/

KPI summary: revenue, orders, AOV, refunds, customers, cart rates.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/shop/analytics/recent-orders/

Most recent orders. Independent of date range.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/shop/analytics/revenue/

Day-by-day revenue + order count series for charting.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/shop/analytics/status-breakdown/

Order count + value per status in the window.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/shop/analytics/top-products/

Top N products by revenue.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/shop/hero-slides/

Manage hero slides for a shop. GET /api/v1/projects/{project_id}/shop/hero-slides/ - List all hero slides POST /api/v1/projects/{project_id}/shop/hero-slides/ - Create a new hero slide DELETE /api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/ - Delete a hero slide

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/shop/hero-slides/

Manage hero slides for a shop. GET /api/v1/projects/{project_id}/shop/hero-slides/ - List all hero slides POST /api/v1/projects/{project_id}/shop/hero-slides/ - Create a new hero slide DELETE /api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/ - Delete a hero slide

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/shop/hero-slides/generate/

Create default hero slides for a shop (uses Unsplash placeholder images). POST /api/v1/projects/{project_id}/shop/hero-slides/generate/ { "num_slides": 3 // 1-3 slides (optional, default 3) } Response: { "success": true, "slides": [ {"id": "uuid", "title": "Welcome to Shop", "image_url": "..."}, ... ], "message": "Created 3 default hero slides" } Note: This creates slides with default Unsplash images. Users can then update each slide with their own images via PUT /hero-slides/{id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/

Manage a single hero slide. PUT /api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/ DELETE /api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
slide_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/

Manage a single hero slide. PUT /api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/ DELETE /api/v1/projects/{project_id}/shop/hero-slides/{slide_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
slide_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/shop/settings/

Get or update shop settings for a website. GET /api/v1/projects/{project_id}/shop/settings/ PUT /api/v1/projects/{project_id}/shop/settings/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/shop/settings/

Get or update shop settings for a website. GET /api/v1/projects/{project_id}/shop/settings/ PUT /api/v1/projects/{project_id}/shop/settings/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/shop/tax-rates/

Get tax rates by country

Tax rate by destination country. `rates` replaces the whole list: an object `{"DE": 19, "FR": 20}` or a list `[{"country": "DE", "rate": 19}]` (ISO 3166-1 alpha-2 codes or country names; rate in percent, 0-100; `{}` clears them). A country without its own rate uses the shop-wide `tax_rate` (`shop/settings/`), and `prices_include_tax` applies to every rate. The country rates apply when the checkout knows the country before the order is placed, which is with shipping zones (the country select refreshes the totals): `applies` says whether that is the case for the project. The order records the rate used in `metadata.tax_rate`.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/shop/tax-rates/

Set tax rates by country

Tax rate by destination country. `rates` replaces the whole list: an object `{"DE": 19, "FR": 20}` or a list `[{"country": "DE", "rate": 19}]` (ISO 3166-1 alpha-2 codes or country names; rate in percent, 0-100; `{}` clears them). A country without its own rate uses the shop-wide `tax_rate` (`shop/settings/`), and `prices_include_tax` applies to every rate. The country rates apply when the checkout knows the country before the order is placed, which is with shipping zones (the country select refreshes the totals): `applies` says whether that is the case for the project. The order records the rate used in `metadata.tax_rate`.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/shop/tax-rates/

GET / PUT /api/v1/projects/{project_id}/shop/tax-rates/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

site-protection

GET/api/v1/projects/{project_id}/site-protection/

Password / sign-in protection of the whole site (apps/site_users/services/protection.py). PATCH/PUT {mode: off|password|login, password?, access_level?, allowed_groups?, allowed_tiers?, open_paths?, title?, text?}. DELETE = mode off (the password and the rules are kept for the next time).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/site-protection/

Password / sign-in protection of the whole site (apps/site_users/services/protection.py). PATCH/PUT {mode: off|password|login, password?, access_level?, allowed_groups?, allowed_tiers?, open_paths?, title?, text?}. DELETE = mode off (the password and the rules are kept for the next time).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/site-protection/

Password / sign-in protection of the whole site (apps/site_users/services/protection.py). PATCH/PUT {mode: off|password|login, password?, access_level?, allowed_groups?, allowed_tiers?, open_paths?, title?, text?}. DELETE = mode off (the password and the rules are kept for the next time).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/site-protection/

Password / sign-in protection of the whole site (apps/site_users/services/protection.py). PATCH/PUT {mode: off|password|login, password?, access_level?, allowed_groups?, allowed_tiers?, open_paths?, title?, text?}. DELETE = mode off (the password and the rules are kept for the next time).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

site-users

GET/api/v1/projects/{project_id}/site-users/

GET: List site users. POST: Create a site user (admin-created).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/site-users/

GET: List site users. POST: Create a site user (admin-created).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/site-users/export/

CSV export of site users.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/site-users/import/

POST multipart file=<csv> or JSON {csv: "<text>"}; ?dry_run=true validates only; source comp|manual.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/site-users/stats/

User registration stats.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/site-users/{user_id}/

GET/PATCH/DELETE a site user.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
user_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/site-users/{user_id}/

GET/PATCH/DELETE a site user.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
user_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/site-users/{user_id}/

GET/PATCH/DELETE a site user.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
user_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/site-users/{user_id}/data-export/

Everything this website keeps about one customer (#241, RGPD access / portability at the owner's request): the same document the customer downloads from «My account → My data».

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
user_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/site-users/{user_id}/reset-password/

Force password reset for a site user.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
user_idpathstring (uuid)yes

smtp

GET/api/v1/projects/{project_id}/smtp/

GET /api/v1/projects/{project_id}/smtp/ POST /api/v1/projects/{project_id}/smtp/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/smtp/

GET /api/v1/projects/{project_id}/smtp/ POST /api/v1/projects/{project_id}/smtp/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/smtp/{smtp_id}/

GET /api/v1/projects/{project_id}/smtp/{smtp_id}/ PUT /api/v1/projects/{project_id}/smtp/{smtp_id}/ DELETE /api/v1/projects/{project_id}/smtp/{smtp_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
smtp_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/smtp/{smtp_id}/

GET /api/v1/projects/{project_id}/smtp/{smtp_id}/ PUT /api/v1/projects/{project_id}/smtp/{smtp_id}/ DELETE /api/v1/projects/{project_id}/smtp/{smtp_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
smtp_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/smtp/{smtp_id}/

GET /api/v1/projects/{project_id}/smtp/{smtp_id}/ PUT /api/v1/projects/{project_id}/smtp/{smtp_id}/ DELETE /api/v1/projects/{project_id}/smtp/{smtp_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
smtp_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/smtp/{smtp_id}/test/

POST /api/v1/projects/{project_id}/smtp/{smtp_id}/test/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
smtp_idpathstring (uuid)yes

stock-reservations

GET/api/v1/projects/{project_id}/stock-reservations/

GET /api/v1/projects/{project_id}/stock-reservations/ List active (non-expired, non-consumed) stock reservations.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

storefront-theme

GET/api/v1/projects/{project_id}/storefront-theme/

Get the storefront theme

The stored theme (`theme`), the effective theme with every default filled in (`effective`) and the available `section_types`. A project without a theme returns an empty, disabled one. **Theme JSON**: `{"settings": {...}, "templates": {...}}` — every key optional. * `settings` groups: `colors`, `typography`, `layout`, `product_card`, `cart`, `homepage`, `header` (logo, menu, search, cart icon, sticky) and `footer` (link columns, text, payment badges) (see `GET .../schema/` for every key, type, range and default). Missing keys use the defaults. * `templates`: `shop`, `collection`, `product`, `search`, `index` (the store homepage), each `{"sections": [...]}`. A missing template uses the default one. A section is `{"type", "id", "settings", "blocks": [{"type", "settings"}]}`; `id` is 1-40 chars of `a-z 0-9 _ -`, unique in the template; max 30 sections and 30 blocks per section. * `main_collection` only in shop / collection / search, `main_product`, `product_reviews` and `related_products` only in product; `main_collection` and `main_product` at most once per template. * Links: `https://...`, `/path` or `#anchor`; colors `#rgb` / `#rrggbb` (empty string = theme default in sections). * Errors are 400 with the path of the offending value, e.g. `templates.product.sections[1].settings.limit: must be between 2 and 12` (`error.field` = that path). * Every shop uses its theme; a shop without a saved theme uses the defaults.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/storefront-theme/

Replace theme fields

Each field given (`settings`, `templates`) **replaces** the stored one entirely; fields not given are kept. Unknown fields are rejected. **Theme JSON**: `{"settings": {...}, "templates": {...}}` — every key optional. * `settings` groups: `colors`, `typography`, `layout`, `product_card`, `cart`, `homepage`, `header` (logo, menu, search, cart icon, sticky) and `footer` (link columns, text, payment badges) (see `GET .../schema/` for every key, type, range and default). Missing keys use the defaults. * `templates`: `shop`, `collection`, `product`, `search`, `index` (the store homepage), each `{"sections": [...]}`. A missing template uses the default one. A section is `{"type", "id", "settings", "blocks": [{"type", "settings"}]}`; `id` is 1-40 chars of `a-z 0-9 _ -`, unique in the template; max 30 sections and 30 blocks per section. * `main_collection` only in shop / collection / search, `main_product`, `product_reviews` and `related_products` only in product; `main_collection` and `main_product` at most once per template. * Links: `https://...`, `/path` or `#anchor`; colors `#rgb` / `#rrggbb` (empty string = theme default in sections). * Errors are 400 with the path of the offending value, e.g. `templates.product.sections[1].settings.limit: must be between 2 and 12` (`error.field` = that path). * Every shop uses its theme; a shop without a saved theme uses the defaults.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
Body fieldTypeRequiredDescription
settingsnoTheme settings groups
templatesno{"shop"|"collection"|"product"|"search": {"sections": [...]}}
PATCH/api/v1/projects/{project_id}/storefront-theme/

Update the theme (merge)

`settings` merge one level deep: each group's keys over the stored group, `null` for a group or key removes it (back to the default). `templates` are replaced per template key, `null` removes it (back to the default template). **Theme JSON**: `{"settings": {...}, "templates": {...}}` — every key optional. * `settings` groups: `colors`, `typography`, `layout`, `product_card`, `cart`, `homepage`, `header` (logo, menu, search, cart icon, sticky) and `footer` (link columns, text, payment badges) (see `GET .../schema/` for every key, type, range and default). Missing keys use the defaults. * `templates`: `shop`, `collection`, `product`, `search`, `index` (the store homepage), each `{"sections": [...]}`. A missing template uses the default one. A section is `{"type", "id", "settings", "blocks": [{"type", "settings"}]}`; `id` is 1-40 chars of `a-z 0-9 _ -`, unique in the template; max 30 sections and 30 blocks per section. * `main_collection` only in shop / collection / search, `main_product`, `product_reviews` and `related_products` only in product; `main_collection` and `main_product` at most once per template. * Links: `https://...`, `/path` or `#anchor`; colors `#rgb` / `#rrggbb` (empty string = theme default in sections). * Errors are 400 with the path of the offending value, e.g. `templates.product.sections[1].settings.limit: must be between 2 and 12` (`error.field` = that path). * Every shop uses its theme; a shop without a saved theme uses the defaults.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
Body fieldTypeRequiredDescription
settingsnoTheme settings groups
templatesno{"shop"|"collection"|"product"|"search": {"sections": [...]}}
POST/api/v1/projects/{project_id}/storefront-theme/apply-preset/

Apply a theme preset

`{"preset": "boutique"}` merges the preset's colors, typography, layout, product card and header / footer style over the theme (your logo, menu, footer columns and texts are kept). `"homepage": true` also replaces the `index` template with the preset's homepage layout, texts taken from the shop title / description.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
Body fieldTypeRequiredDescription
presetstringyes
homepagebooleanno
GET/api/v1/projects/{project_id}/storefront-theme/presets/

Theme presets

Ready-made looks for Storefront v2 (`esencial`, `tecnologia`, `boutique`, `mercado`): name, description, main colors and fonts, and the settings each one applies.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/storefront-theme/reset/

Reset the theme to defaults

Clears the stored settings and templates (the defaults apply).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/storefront-theme/schema/

Theme schema

Everything a client needs to build a theme: `section_types` (description, settings with type / range / default, blocks, allowed templates, `max_per_template`), `theme_settings`, `templates`, `default_settings`, `default_templates` and `limits`.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

stripe

POST/api/v1/projects/{project_id}/stripe/callback/

Kept for backward compat — same as POST /stripe/connect/ (it used to pass the DRF request back into stripe_connect's view wrapper, a 500 on every call).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/stripe/connect/

POST /projects/{id}/stripe/connect/ — Connect Stripe by providing API keys. Body: {"secret_key": "sk_test_...", "publishable_key": "pk_test_...", "webhook_secret": "whsec_...", "default_currency": "eur"} The secret_key is validated by calling Stripe's Account API.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/stripe/disconnect/

DELETE /projects/{id}/stripe/disconnect/ — Disconnect Stripe.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/stripe/status/

GET /projects/{id}/stripe/status/ — Check connection status.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

styles

GET/api/v1/projects/{project_id}/styles/

DEPRECATED alias (#348, owner 14/11): /api/v1/projects/{project_id}/styles/ -> theme/ (the standard). Answers exactly what theme/ answers, plus Deprecation/Sunset/Link. Each old method keeps its old meaning: GET -> GET theme/, PUT (it always deep-merged) -> PATCH theme/, PATCH -> PATCH theme/, DELETE (reset) -> POST theme/reset/. In the standard, PUT replaces and PATCH merges.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/styles/

Replace style_config with validated body.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/styles/

Deep-merge body onto existing style_config.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/styles/

DEPRECATED alias (#348, owner 14/11): /api/v1/projects/{project_id}/styles/ -> theme/ (the standard). Answers exactly what theme/ answers, plus Deprecation/Sunset/Link. Each old method keeps its old meaning: GET -> GET theme/, PUT (it always deep-merged) -> PATCH theme/, PATCH -> PATCH theme/, DELETE (reset) -> POST theme/reset/. In the standard, PUT replaces and PATCH merges.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

submissions

GET/api/v1/projects/{project_id}/submissions/

GET /api/v1/projects/{project_id}/submissions/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/submissions/bulk-delete/

POST /api/v1/projects/{project_id}/submissions/bulk-delete/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/submissions/export/

POST /api/v1/projects/{project_id}/submissions/export/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/submissions/{sub_id}/

GET /api/v1/projects/{project_id}/submissions/{sub_id}/ PUT /api/v1/projects/{project_id}/submissions/{sub_id}/ — update status DELETE /api/v1/projects/{project_id}/submissions/{sub_id}/ — delete

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
sub_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/submissions/{sub_id}/

Update submission status.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
sub_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/submissions/{sub_id}/

Partial update — is_read, starred, replied_at, status.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
sub_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/submissions/{sub_id}/

Delete a single submission.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
sub_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/submissions/{sub_id}/actions-log/

GET /api/v1/projects/{project_id}/submissions/{sub_id}/actions-log/ Returns the execution log for all actions triggered by this submission. Shows: which email was sent, when, with what status, and if it bounced.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
sub_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/submissions/{sub_id}/conversions/

GET /api/v1/projects/{project_id}/submissions/{sub_id}/conversions/ What the form's conversion rules did with this lead: for each rule, whether its event was sent, where (pixel / connected platforms), with which id and value, and the reason (conditions met or which one failed, no advertising consent, the linked form was not answered, waiting...).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
sub_idpathstring (uuid)yes

subscriptions

GET/api/v1/projects/{project_id}/subscriptions/

GET /projects/{id}/subscriptions/ — List subscriptions.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/subscriptions/{sub_id}/

GET /projects/{id}/subscriptions/{sid}/ — Subscription detail.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
sub_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/subscriptions/{sub_id}/cancel/

POST /projects/{id}/subscriptions/{sid}/cancel/ — Cancel subscription.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
sub_idpathstring (uuid)yes

templates

GET/api/v1/templates/

GET /api/v1/templates/ — list available block templates.

GET/api/v1/templates/{template_id}/

GET /api/v1/templates/{template_id}/ — template with default_blocks.

ParameterInTypeRequiredDescription
template_idpathstringyes

theme

GET/api/v1/projects/{project_id}/theme/

GET / PUT / PATCH /api/v1/projects/{project_id}/theme/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/theme/

Replace style_config with validated body.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
PATCH/api/v1/projects/{project_id}/theme/

Deep-merge body onto existing style_config.

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/theme/apply-preset/

POST /api/v1/projects/{project_id}/theme/apply-preset/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/theme/reset/

POST /api/v1/projects/{project_id}/theme/reset/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes

themes

GET/api/v1/themes/

GET /api/v1/themes/ — list available themes.

GET/api/v1/themes/presets/

GET /api/v1/themes/presets/ — all built-in presets with swatches.

GET/api/v1/themes/{theme_slug}/

GET /api/v1/themes/{slug}/ — theme detail with style_kit + supported_blocks.

ParameterInTypeRequiredDescription
theme_slugpathstringyes

usage

GET/api/v1/usage/

GET /api/v1/usage/ Returns comprehensive usage summary: plan limits, current usage, percentages, and warnings for all tracked resources.

videos

GET/api/v1/projects/{project_id}/videos/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/videos/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/videos/{video_id}/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
video_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/videos/{video_id}/

Reusable mixin for all website-scoped API views. Provides: - Standard auth + throttling - get_website() helper that validates ownership - error_response() for consistent error formatting - success_v2() for new envelope format - paginated() for standardized pagination - Rate limit headers on all responses

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
video_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/videos/{video_id}/complete/

POST /projects/{id}/videos/{vid}/complete/ — finalize a presigned direct upload (#183).

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
video_idpathstring (uuid)yes

webhooks

GET/api/v1/projects/{project_id}/webhooks/

GET /api/v1/projects/{project_id}/webhooks/ POST /api/v1/projects/{project_id}/webhooks/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/webhooks/

GET /api/v1/projects/{project_id}/webhooks/ POST /api/v1/projects/{project_id}/webhooks/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/webhooks/{wh_id}/

GET /api/v1/projects/{project_id}/webhooks/{wh_id}/ PUT /api/v1/projects/{project_id}/webhooks/{wh_id}/ DELETE /api/v1/projects/{project_id}/webhooks/{wh_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
wh_idpathstring (uuid)yes
PUT/api/v1/projects/{project_id}/webhooks/{wh_id}/

GET /api/v1/projects/{project_id}/webhooks/{wh_id}/ PUT /api/v1/projects/{project_id}/webhooks/{wh_id}/ DELETE /api/v1/projects/{project_id}/webhooks/{wh_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
wh_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/webhooks/{wh_id}/

GET /api/v1/projects/{project_id}/webhooks/{wh_id}/ PUT /api/v1/projects/{project_id}/webhooks/{wh_id}/ DELETE /api/v1/projects/{project_id}/webhooks/{wh_id}/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
wh_idpathstring (uuid)yes
GET/api/v1/projects/{project_id}/webhooks/{wh_id}/deliveries/

GET /api/v1/projects/{project_id}/webhooks/{wh_id}/deliveries/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
wh_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/webhooks/{wh_id}/deliveries/{delivery_id}/retry/

POST /api/v1/projects/{project_id}/webhooks/{wh_id}/deliveries/{delivery_id}/retry/

ParameterInTypeRequiredDescription
delivery_idpathstring (uuid)yes
project_idpathstring (uuid)yes
wh_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/webhooks/{wh_id}/test/

POST /api/v1/projects/{project_id}/webhooks/{wh_id}/test/

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
wh_idpathstring (uuid)yes
GET/api/v1/webhooks/events/

GET /api/v1/webhooks/events/ Catalog of valid webhook event types (mirrors /automations/triggers/).

wishlist

GET/api/v1/projects/{project_id}/wishlist/

GET /projects/{id}/wishlist/ — list POST /projects/{id}/wishlist/ — add product

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
POST/api/v1/projects/{project_id}/wishlist/

GET /projects/{id}/wishlist/ — list POST /projects/{id}/wishlist/ — add product

ParameterInTypeRequiredDescription
project_idpathstring (uuid)yes
DELETE/api/v1/projects/{project_id}/wishlist/{product_id}/

DELETE /projects/{id}/wishlist/{product_id}/ — remove from wishlist

ParameterInTypeRequiredDescription
product_idpathstring (uuid)yes
project_idpathstring (uuid)yes