Skip to main content

Opt-outs

An opt-out stops alerts to an email or phone number — for your whole store, or for one variant. Every send checks it first, whatever channel it was signed up on.

List opt-outs

GET /api/v1/unsubscribes — newest first, with email, phone, variant_id, created_from / created_to, limit and cursor.
scope is all (the whole store) or variant. source is webpush for an opt-out from a browser.

Opt someone out

POST /api/v1/unsubscribes
You get 201 for a new opt-out, or 200 with "already_unsubscribed": true if the same opt-out already exists.
An opt-out cannot be removed through the API. Only the shopper can opt back in, from your storefront.

Waiting list

GET /api/v1/products/waitlist — variants ranked by how many people are waiting: your restock shortlist. The same figures as Most wanted in the app.

Sent messages

GET /api/v1/notifications — restock messages sent to subscribers. Your own alerts, summary reports and exports are not included.
campaign_step is 1 for the first alert and 2–4 for follow-ups.

Headline numbers

GET /api/v1/analytics/summary?from=2026-11-01&to=2026-11-30 — the figures at the top of the app’s dashboard. from and to are read in your store’s time zone; default: the last 30 days.
For what counts as direct and assisted revenue, see Read your analytics.