# Changelog

Every change to a published contract gets a version here, newest first: the Admin API (`/api/admin/v1/openapi.json`), the storefront API
(`/api/storefront/v1/openapi.json`), the webhook topics (`/api/webhooks/v1/topics.json`) and the MCP catalogues (`/api/mcp/catalogue.json`,
`/api/ucp/catalogue.json`). Within a major version nothing a caller relies on is renamed or removed; answers and payloads may gain fields.

## 1.57 — 2026-11-24

`POST /events` sends an event from your app about a person on the store's subscriber list (email plan M2.3): `name` (lower-case
letters, digits and `_`, such as `course_finished`) and their `email`. The store keeps it as `custom.{name}` with the subscriber's id,
never the address, and a flow may start on it. It needs the scope `customers:manage`. An address no subscriber has is `not_found`.

## 1.56 — 2026-11-24

Two MCP tools write flows (email plan M3.2): `create_flow` writes a new flow from the owner's words (what starts it, and its emails in order,
each with its days and, if asked, only for some). `change_flow` changes one by its name. Both save the flow switched off and untested, and
nothing is sent until the owner tests it and switches it on. `start_flow` also starts the goals `reviews` and `leads`.

## 1.55 — 2026-11-23

The MCP tool `draft_broadcast` takes `topic` (email plan M4.2, D882): one of the store's email topics, by name or id. Only readers in that
topic get the email. An unknown topic is refused, and the refusal names the store's topics. `list_broadcasts` says each broadcast's
`topic`, where it has one.

## 1.54 — 2026-11-23

The MCP tool `draft_broadcast` takes `split_test` (email plan M2.5, D868): `true` adds a second subject line, written by the store's
writer and checked as its other subject lines are. When the draft is sent, a share of the readers (20 %) get one of the two subjects, and
4 hours later the one more people pressed goes to the rest. A test needs 2,000 readers or more. Its answer says subject B, or that none
could be written.

## 1.53 — 2026-11-21

Segment rules gain a business customer's lead score (email plan M2.8, D865), the same score their page shows: points out of 100 from
quotes asked for in 90 days, open deals, presses on links in the store's emails and products looked at while signed in.

- `{"kind": "leadScore", "min": n}`: a lead score of at least `n` (1 to 100). A customer who buys for no company has no score, and the
  condition holds for nobody without one.

## 1.52 — 2026-11-20

The MCP tool `start_flow` takes one goal more (email plan M2.8): `sunset`, *Keep your list awake*. It starts a flow switched off and untested
that, after 180 days with no press on a link in the store's emails, sends one email asking whether the person still wants them; who presses
no link in the 14 days after is paused (no marketing email until they press one), never deleted or unsubscribed. `list_flows` offers it with
how many on the list it would reach now.

## 1.51 — 2026-11-20

Segment rules gain products a signed-in customer looked at (email plan M2.4), from the views a store keeps while a browse email runs.

- `{"kind": "viewed", "has": true | false, "products": ["<product id>"], "days": n}`: looked at one of the products (ever, of the views
  kept, or in the last `n` days), or not. Without views kept, it holds for nobody.

## 1.50 — 2026-11-20

Segment rules gain a customer's field (email plan M2.4), for fields the store marked *Use it in segments* (a field of a group for
customers; `marketing` on the field's definition in the Admin API's field groups).

- `{"kind": "field", "field": "<field id>", "op": "is" | "isNot", "value": "..."}`: what the field says (a choice by its key, yes or no, a
  number, a text; compared in lower case).
- `{"kind": "field", "field": "<field id>", "op": "filled" | "empty"}`: whether it is filled in. A field not marked reads as empty.

## 1.49 — 2026-11-20

Segment rules gain email engagement (email plan M2.4), wherever rules are read or written (the Admin API's segments, the AI manager's
`save_segment`, the MCP catalogue).

- `{"kind": "clicked", "op": "within", "days": n}`: pressed a link in the store's emails (a broadcast's or a flow's) in the last `n` days.
- `{"kind": "clicked", "op": "never"}`: pressed none within the 180 days presses are kept.

## 1.48 — 2026-11-20

`form_responses` in the AI manager's MCP catalogue says it reads the messages visitors sent with a form, the contact form's among them
(D852). Its input and answer are unchanged.

## 1.47 — 2026-11-20

Two tools for flows in the AI manager's MCP catalogue (D855), behind Email automation (`feature_off` without it).

- `list_flows` (`marketing:read`): each flow's name, whether it is on, what starts it and what it brought in 30 days; and the goals
  without a flow, each with how many people in the store's own data it would reach now. Counts only.
- `start_flow` (`marketing:write`): a flow from one of those goals, saved switched off and untested; nothing is sent until the owner
  tests it and switches it on.

## 1.46 — 2026-11-19

Contracts for deals in the Admin API (D810), read only, with `customers:read`; behind Deals and its extension (`feature_off` without them).

- `GET /contracts`: the store's contracts, newest first, a page at a time; `status`, `deal_id` and `updated_after` narrow them.
- `GET /contracts/{id}`: one contract.
- Each carries its `id`, `title`, `status` (draft too), `language`, `deal_id`, `template`, its `signers` in order (`role`, `name`,
  `viewed_at`, `signed_at`, `declined_at`), `sent_at`, `expires_at`, `completed_at`, `signed_pdf`, `created_at`, `updated_at` and
  `admin_url`: the `contract.*` webhooks' fields. Never a signer's email, the reason a signer gave for declining or the contract's words.

## 1.45 — 2026-11-19

An addition to the owner MCP's catalogue for profit (D785).

- `profit_overview`: takes `campaigns` (true adds each marketing campaign's sessions, paid orders, revenue, new customers, spend, cost per
  new customer and return on spend for the period) and `budget` (true adds this year's budget against actual and the year's forecast from the
  store's own books). Its costs also name return labels, handling and lost parcels sent again where the period has them. Read-only.

## 1.44 — 2026-11-18

Six webhook topics and workflow triggers for activities, leads and domains (D757), for an owner's own endpoints and workflows; Zapier,
Make and Slack keep the events they had. Apps that read customers may choose the activities' and the leads', apps that read settings the
domains'.

- `activity.created` and `activity.done` carry `activity`: its `id`, `kind` (`call`, `meeting` or `task`), `title`, `due_at`, `timed`,
  `duration_minutes`, `done_at`, `assignee_id`, `done_by`, `customer_id`, `company_id`, `deal_id`, `created_at` and `admin_url`. Never its
  note. Activities moved in from Pipedrive send none; marking one not done again sends nothing.
- `lead.dismissed` and `lead.deal_made` carry `lead`: the decision's `id`, `decision` (`dismissed` or `deal`), `deal_id`, `customer_id`,
  `requests` (what the person asked for in the 90 days before, newest first: each `kind`, `source`, `id` and `at`), `decided_by`,
  `decided_at` and `admin_url`. Never the person's address, name or what they wrote.
- `domain.failing` and `domain.recovered` carry `domain`: its `id`, `hostname`, `primary`, `language`, `market`, `serving` (what the daily
  domain watch last knew: `ok`, `certificate` or `elsewhere`), `watched_at` and `admin_url`. Sent once when a connected domain stops
  reaching the store, and once when it reaches it again; an answer the watch could not read changes neither.

## 1.43 — 2026-11-18

Two more kinds of question for a form in the owner MCP (D738).

- `change_form`'s `questions[].kind` also takes `hidden` (never asked: it keeps a part of the page's address, such as a campaign) and
  `file` (one picture or PDF the visitor attaches).
- A question takes an optional `param`: the part of the address a hidden question keeps, such as `utm_campaign` (the default) or `code`.

## 1.42 — 2026-11-17

Four webhook topics and workflow triggers about the store's email (D730, D732).

- `email.bounced` and `email.complained` carry `email`: its `id`, `kind` (as the store's email log names it), `to`, `status`, `reason` (what
  the mail server said for a bounce), `order_id`, `sent_at` and `admin_url`. Sent once, when the email first bounces or is marked as spam,
  for any of the store's emails; never its words.
- `broadcast.sent` carries `broadcast`: its `id`, `title`, `audience` in words, `recipients`, `sent`, `skipped`, `failed`, `started_at`,
  `finished_at` and `admin_url`, when the send has finished.
- `marketing.paused` carries `sending_pause`: its `reason` (`bounces` or `complaints`), the `sent`, `bounced` and `complained` it counted,
  `paused_at` and `admin_url`, when the sending guard holds the store's newsletters and automations.

## 1.41 — 2026-11-17

The owner MCP's tools (D705, D713, D718).

- Eight new tools for deals, leads and activities: `list_deals`, `get_deal`, `move_deal`, `list_leads`, `make_deal_from_lead`, `crm_today`,
  `log_activity` and `customer_timeline`, each under the permission its admin page asks.
- Five for forms: `list_forms`, `make_form` (from a template), `change_form` (the owner's yes first), `place_form` (on a page's draft) and
  `form_responses` (with the right to read customers).
- `count_segment` and `save_segment` take the segment conditions the editor offers: what people bought (products or categories), deals,
  support, reviews, subscription boxes and the texts list.
- `draft_workflow` takes `at_least` and `is_one_of`, a paid order's facts, `customer.segment` and a `hold_order` action after `order.paid`.

## 1.40 — 2026-11-17

Fourteen webhook topics for what happened without a topic until now (D718), for an owner's own endpoints and workflows' triggers; Zapier,
Make and Slack keep the eight they had. Apps that read customers may choose the deals', apps that read marketing the email list's and
`review.published`, apps that read support the conversations', apps that read orders `checkout.abandoned`; Work's are the owner's alone.

- `deal.created`, `deal.stage_changed`, `deal.won`, `deal.lost` carry `deal`: its `id`, `title`, `status`, `pipeline` and `stage`
  (`id`, `name`, the stage's `position`), `value` in the store's main `currency`, `customer_id`, `company_id`, `owner_id`,
  `expected_close_on`, `closed_at`, `closed_via`, `stage_entered_at`, `created_at` and `admin_url`. Never the reason typed for closing it.
  Deals moved in from Pipedrive send none.
- `subscriber.subscribed`, `subscriber.unsubscribed` carry `subscriber`: its `id`, `email`, `status`, `source`, `unsubscribe_source`,
  `customer_id`, `locale`, `market`, `consented_at`, `confirmed_at`, `unsubscribed_at` and `admin_url`. Addresses moved in from another shop
  send none.
- `conversation.ended`, `conversation.rated` carry `conversation`: its `id`, `source`, `status`, `handler`, `ended_by`, `rating`,
  `escalation`, `customer_id`, `market`, `locale`, `messages` (how many), `created_at`, `first_answer_at`, `ended_at` and `admin_url`.
  Never a message, its summary or the rating's comment.
- `review.published` carries `review`, as `review.created` does.
- `checkout.abandoned`, once a cart, when its first cart reminder is due, carries `checkout`: its `id`, `cart_id`, `order_id`, `email`,
  `market`, `locale`, `currency`, `subtotal`, `lines` (`variant_id`, `sku`, `title`, `quantity`, `unit_price`), `captured_at`,
  `abandoned_at`, `recovered` and `admin_url`. Never the reminder links.
- `work_client.created` carries `work_client` (never its email or phone); `work_invoice.sent`, `work_invoice.paid` and
  `work_invoice.credited` carry `work_invoice`, with what payments (`paid`) and credit notes (`credited`) have covered.

## 1.39 — 2026-11-17

Forms in the Admin API and a webhook topic for what visitors send (D705).

- Two scopes: `forms:read` (forms; their responses also need the right to read customers) and `forms:write`. The Read-only kind of token
  holds `forms:read`.
- `GET /forms`, `GET /forms/{id}` (with its `draft`), `POST /forms` (from a `template_id` or a whole `draft`), `PATCH /forms/{id}`
  (the `draft` whole, checked as the editor checks it) and `GET /forms/{id}/responses` (newest first, in pages).
- `form.response` (new topic): a visitor sent one of the store's forms, or confirmed a newsletter sign-up. Its `form_response` carries the
  form's id, name and kind, the answers labelled in the owner's language, the contact email, the page and the language. For the owner's
  endpoints, workflows and apps that read customers; never Zapier, Make or Slack.

## 1.38 — 2026-11-17

One addition to A/B tests (D715).

- `GET /experiments`, `GET /experiments/{id}` and the `experiment.answered` webhook: `goal` can also be `page`, going on to a chosen page of
  the store after seeing a version.

## 1.37 — 2026-11-17

One addition to A/B tests (D712).

- `GET /experiments`, `GET /experiments/{id}` and the `experiment.answered` webhook: `goal` can also be `signup`, a sign-up to Kaizena
  Flow. Only Kaizena Flow's own store can choose it, so no other store's tests carry it.

## 1.36 — 2026-11-17

Three webhook topics for contracts on deals (D695), for an owner's own endpoints, apps that read customers, and workflows' triggers.

- `contract.sent`: a contract was sent for signing. `contract.signed`: every signer signed it (the deal is won).
  `contract.declined`: a signer declined it.
- Each carries `contract`: its `id`, `title`, `status`, `language`, `deal_id`, `template`, `signers` in order (`role`, `name`,
  `signed_at`, `declined_at`), `sent_at`, `expires_at`, `completed_at` and `admin_url`. Never a signer's email, the reason a signer gave
  for declining or the contract's words.

## 1.35 — 2026-11-17

Additions to the owner MCP's catalogue for contracts on deals (D695). They are offered while Deals is on.

- `list_contracts` (new, optional `deal` and `status`): the store's contracts with their deal, status, dates and signers in order (role,
  name, whose turn it is, asked, reminded, opened), and the store's contract templates. Never a signer's email. Read-only; needs
  `customers:read`.
- `draft_contract` (new, `deal`, optional `template`): a draft on an open deal from one of the store's templates, with the deal's owner
  and person as its signers, and what still stops it being sent. Nothing is sent: a contract is sent for signing on its admin page.
  Needs `customers:write`.
- `remind_contract_signer` (new, `contract`): emails the signer whose turn it is a reminder, at most once a day. Needs approval and
  `customers:write`.

## 1.34 — 2026-11-16

A clearer description for `page_behaviour` (D656): it now says it answers where visitors get stuck, dead and rage clicks and how far
they scroll, which the analytics overview does not. Its arguments and answer are unchanged.

## 1.33 — 2026-11-16

Additions to the owner MCP's catalogue for the store's Meta ad account (D694).

- `list_ad_budgets`: takes an optional `results` (`last_7d`, `last_30d` or `this_month`) and then also answers each campaign's spend,
  impressions, clicks, purchases, their value and the return on spend for it, as Meta attributes them (`results`). Read-only.
- `copy_ad` (new, `id`): a paused copy of a campaign (with its ad sets and ads) or an ad set (with its ads). It spends nothing until its
  budget is switched on with `set_ad_budget`. Needs approval; owner only.

## 1.32 — 2026-11-16

An addition to the owner MCP's catalogue for email automations (D691).

- `write_email_automation`, `switch_email_automation` and `list_email_automations`: a new kind, `browse` (still thinking about it): an
  email 1 to 5 days after a signed-in customer on the list last looked at products, showing those they did not buy. Views are kept only
  for customers who allowed marketing cookies, for 7 days.

## 1.31 — 2026-11-16

Two read-only additions to the owner MCP's catalogue for heatmaps (D656).

- `page_behaviour` (new, `analytics`): the pages where visitors get stuck and the most viewed ones, or one page's scroll reach, attention
  and the parts clicked most with their dead and rage clicks, from the heatmaps' daily totals. `analytics:read`.
- `version_behaviour` (new, `analytics`): an A/B test's behaviour per version and whether a version meets clearly more rage or dead
  clicks. `analytics:read`.

No tool reads recordings of visits.

## 1.30 — 2026-11-16

An addition to the owner MCP's catalogue for lost parcels (D679).

- `send_replacement` (new, `order`): sends the goods of an order's parcel again when its tracking says the parcel is in trouble or on its
  way back, as a new order at 0 to the same address (no payment, no invoice, no VAT), at most once per order. Needs approval;
  `orders:write`.

## 1.29 — 2026-11-16

A/B tests in the Admin API and a webhook topic for their answers (D678).

- `GET /experiments` and `GET /experiments/{id}` (`reports:read`; the token's maker must be able to read Marketing): each A/B test as its
  page reads it: its stage (`draft`, `scheduled`, `learning`, `answer`, `broken`, `applied`, `discarded`), the next step, how far along it
  is and when it is likely ready, and, only once it has an answer, each version against the original with its likely range and what everyone
  seeing the better version would mean a week. Nothing is written.
- `experiment.answered`: sent once, the first time a running test has an answer, to owners' endpoints, apps whose installation reads
  marketing, and workflows. Its data is `experiment`: the verdict (`better`, `worse`, `even`, …), the better version, the verdict's sentence,
  the days it has run and each version's visitors and figures, with what the owner wrote it taught once they have.

## 1.28 — 2026-11-16

An addition to the owner MCP's catalogue for A/B tests (D673).

- `apply_winner`: takes an optional `learning` (3 to 280 characters): one sentence on what the test taught, in the owner's words, kept
  with the test and shown on its page and in the list of what the store's tests taught. Its other fields and answer are as before; the
  answer also says `learned` when a learning was kept.

## 1.27 — 2026-11-16

Additions to the owner MCP's catalogue for email automations and cart reminders (D653).

- `write_email_automation`: takes the new kinds `cross_sell` (goes well with) and `replenish` (time to restock), and an optional `step`
  (2 or 3 writes a follow-up: the automation's second or third email, sent its days after the one before to readers who have not
  ordered since). Needs approval; `marketing:write`.
- `switch_email_automation`: takes the new kinds, and `cart_reminders` to switch the reminders about carts left at checkout.
- `cart_reminder_stats`: also answers whether the reminders are on (`on`) and lists them (`reminders`: id, when each goes, whether it
  is on, its discount code and subject); its other fields are as before.
- `write_cart_reminder`: writes or adds a reminder about a cart left at checkout in the store's main language: its words, when it
  goes, whether it is on and a discount code. Needs approval; `marketing:write`.

## 1.26 — 2026-11-15

An addition to the owner MCP's catalogue for support (D640).

- `carry_out_address_change`: changes an order's delivery address to the one its customer gave in a support request, when the person
  asking is the order's own customer signed in on the store's chat and nothing of the order is sent or held; the request is then
  marked done and the customer told. Needs approval; `orders:write`.

## 1.25 — 2026-11-15

An addition to the owner MCP's catalogue for orders (D635).

- `tell_customer_about_order`: tells an order's customer, in the store's own fixed words and their language, that the order is `delayed`,
  or that its parcel was not delivered (`parcel_attempted`), has a problem (`parcel_problem`) or is on its way back (`parcel_returning`).
  Refused when the store's records do not bear it out, and sent once per order and update. Needs approval; `orders:write`.

## 1.24 — 2026-11-15

Additions to the owner MCP's catalogue for email automations and text messages (D632).

- `write_email_automation`: the store's AI writes a lifecycle automation's words (`welcome`, `after_purchase`, `win_back`) in the store's
  main language from a brief, and sets its `days` when given; it is not switched on or off. Needs approval; `marketing:write`.
- `list_text_messages`: whether a 46elks account is connected, this month's spend against the cap, subscribed numbers and the latest text
  messages with their status and, once sent, delivered and cost. Never a number. Read only; `marketing:read`.
- `draft_text_message`: saves a draft text message for everyone subscribed or a segment; nothing is sent. `marketing:write`.
- `send_text_message`: sends a draft, priced first and refused past the monthly cap. Always needs the owner's approval; `marketing:write`.
- `list_email_automations` answers also carry `orders_after`, `revenue_after` and `orders_after_means`.

## 1.23 — 2026-11-15

Additions to the owner MCP's catalogue for orders and stock (D621).

- `cancel_order`: cancels a paid order that is not sent yet: what was paid is refunded, the items go back in stock and the customer may be
  emailed. An order sent, partly sent, unpaid or with a change waiting for payment is refused. Always needs the owner's approval;
  `orders:write`.
- `create_purchase_order`: makes and places a purchase order with a supplier from SKUs and units (the variant's cost unless `unit_cost` is
  given), at a stock location, and emails it to the supplier when the store has its order address. Needs approval; `products:write`.
- `list_supplier_orders`: the drop-shipping suppliers' orders, refused and late ones first (`which`: `attention`, `open`, `all`), with a
  refused one's reason in the supplier's words. Read only; `products:read`.
- `answer_supplier_order`: sends a supplier's order again or cancels it, by the customer's order number. Needs approval; `products:write`.

## 1.22 — 2026-11-15

Checkout questions asked only for some baskets (D357, task 4).

- `conditions` on a checkout field: the checkout rules' own conditions (country, basket value, weight, products, categories, tags,
  customer groups). The question is asked only when every one holds for the basket; `[]` or none asks it always, and a change without
  `conditions` keeps them.

## 1.21 — 2026-11-14

More kinds of checkout question (D357, task 4).

- `kind` on a checkout field may now also be `number` (a whole number), `date` (a day), `email` and `phone`, each checked for its shape
  when the shopper answers.
- `bounds` (`{ min?, max? }`) gives a `number` its lowest and highest value, and a `date` its earliest and latest day counted from the
  store's today (0 to 730). Only those two kinds have it; a change without `bounds` keeps them while the kind stays.

## 1.20 — 2026-11-14

An addition to the owner MCP's catalogue (D606).

- `profit_overview`: what a period earned after what it cost, counted as the Analytics pages count it: net sales, the cost of goods, fees,
  shipping, marketing and lost disputes, gross and contribution profit, contribution margin, profit per krone of marketing and revenue
  per visitor, with the month's forecast for 30 days or this month. `period` is `7d`, `30d`, `month`, `last_month` or `since` (with
  `since`, a first day). Read only; `analytics:read`.

## 1.19 — 2026-11-14

New kinds of checkout question (D357, task 4).

- `kind` on a checkout field may now also be `textarea` (several lines, at most 2,000 characters, its lines kept), `select` (one option
  from a closed list) and `radio` (one option, all shown). A `select` or `radio` question has `options` like a `checklist` (2 to 30, no
  `none` option) and may be `sensitive`; the other kinds have no options.

## 1.18 — 2026-11-14

An addition to the owner MCP's catalogue (D599).

- `wallet_status`: the store's AI wallet, when its owner connected their Airwallex account: whether it is on, whose app the cards appear
  in, its currency, its monthly limit and what is left.
- `request_purchase`: asks for one purchase (what, the merchant and its page, the most it may cost, why). It costs money, so it waits for
  the owner's yes, and only the store's owner may ask; on the yes a single-use card for at most that amount appears in their Airwallex app.
- `list_purchases` (the owner's only): the purchases approved. `cancel_purchase` (`settings:write`): calls an open one off, its card closed.

## 1.17 — 2026-11-14

An addition to the Admin API's checkout questions (D357, task 3).

- A question's `kind` may be `checklist`: one question with several options to tick. It has `options` (1 to 30, each with `label` words per
  language and an `id`; `none` marks the option that clears the others) and `sensitive`: when true, the cart asks the shopper's explicit
  consent once an option other than `none` is ticked (GDPR article 9, such as allergies). Every question now returns `sensitive`.
- Writing a question takes `options` and `sensitive` as optional fields: left out on a change, a checklist keeps its options and its consent.

## 1.16 — 2026-11-14

An addition to the Admin API's checkout questions (D357, task 2).

- A question has `width`: `full` or `half`. The cart draws two half-width questions next to each other on one line, and one alone on the left
  half; a narrow cart draws every question full width. `GET /checkout/fields` returns it. `POST` and `PATCH /checkout/fields` take it as an
  optional field: left out, a new question is full width and a changed one keeps its width.

## 1.15 — 2026-11-13

An addition to the owner MCP's catalogue (D357).

- `checkout_questions`: the questions the store's checkout asks, in order, with their words per language, kind, required and on or off.
- `save_checkout_question`: adds a question, or changes one's words, kind, required, on or off and place (1 is first). Shoppers are
  asked it, so it waits for the owner's yes. Deleting one stays on the Checkout rules page.

## 1.14 — 2026-11-13

An addition to the Admin API's checkout questions (D357).

- `PATCH /checkout/fields/{id}` takes `position`: the place to move the question to, 0 being first. The other questions keep their
  order, and the checkout asks them in that order. `{ position }` alone moves the question; it may also come with `enabled` or with the
  whole question. A place past the end is the end; a negative place is refused (`invalid`).

## 1.13 — 2026-11-13

An addition to the owner MCP's catalogue (D585).

- `list_ad_budgets`: the store's Meta ad account, when its owner connected it: this month's spend, where the month ends at today's
  budgets, the AI's monthly limit and each campaign's or ad set's budget.
- `set_ad_budget`: changes one of those budgets (a daily amount, on or paused). It costs money, so it waits for the owner's yes, and
  only the store's owner may ask for it. Meta bills the owner as before.

## 1.12 — 2026-11-09

An addition to the scopes an app or assistant may ask for (D512).

- `books:read` and `books:write`: a store's own books (Settings → Books), now an area of their own so an accountant may keep them
  without the rest of Settings. Nothing already granted changes.

## 1.11 — 2026-11-09

An addition to the owner MCP's catalogue (D511).

- `work_summary`: what needs the person in Work across the stores the connection reaches, in one call that takes no store. It returns
  overdue invoices, their own running timer, time ready to invoice, repeating invoices ready and drafts left waiting, urgent first. Money
  is per currency in minor units, never added across currencies. It also gives each store's figures and a link to each screen in
  Kaizena Flow. It reads only, and needs the scope `settings:read`, as Work's screens do.

## 1.10 — 2026-11-06

An addition to the MCP catalogues (D464).

- The owner tools that list and switch a store's features (`list_features`, `set_feature`) know Deals, as the feature `sales`. A store
  sees it once Kaizena Flow has opened Deals to it.

## 1.9 — 2026-11-05

An addition to the Admin API (D458, D459).

- Marking an order as sent takes `instabox`, `dhl_paket` and `nshift` as its `carrier`, beside the carriers it took before; Instabox and DHL
  Paket give the parcel their tracking page. Instabox, DHL Express, UPS, DHL Paket and nShift are now carriers a store connects, and their
  parcels name them.

## 1.8 — 2026-11-04

The Admin API's document names how an app calls it (D441).

- A second security scheme, `appOAuth`: OAuth 2.1's authorization code flow with PKCE, its authorization and token addresses, and every
  scope and power an app may ask for. Each operation lists it beside `adminToken`, with what an app's token needs for it: the operation's
  permission and, where the operation needs one, its power. The webhook endpoints' operations, which only the owner may use, list no app.

## 1.7 — 2026-11-04

Apps for many stores (D441): what an installed app is sent.

- Two new webhook topics, sent only to an app's installation: `app.uninstalled`, at once when the app is removed from a store (by an
  owner, because the person who installed it left the store, or because the app was blocked), and `store.erase_requested`, 48 hours
  later, when the app should erase what it keeps of the store. Both carry `data.installation` (`id`, `client_id`, `removed_at`). Nothing
  else is sent to a removed app, and an app installed again within the 48 hours is not sent `store.erase_requested`.
- Each topic in the catalogue says whether `apps` may be sent it (`receivers`): a topic an app chose whose area its installation's scopes
  read, and the two above, which every installed app is sent. `customer.erased` is always sent to an installed app.

## 1.6 — 2026-11-04

An addition to the owner MCP server (D445).

- A new read-only tool, `shopify_move`: where the store's move from Shopify stands (the connection, each part of the copy with its stage
  and counts, *Ready to move?*, the move's steps, the shop's own address and where its DNS is kept, the 14 days after and whether the copy
  can be undone). The owner's: a token or member without the owner's role is refused. It changes nothing.

## 1.5 — 2026-11-04

Corrections: what the contract said is now what happens.

- A delivery sent again by hand (`POST /webhooks/{id}/deliveries/{delivery_id}/resend`, or *Send again* in the admin) now carries its
  body's `id` in `Kaizena-Webhook-Id`, as the contract always said. Until now the header carried a new id on a resend while the body kept
  the old one, so a receiver that did the work once per header could do it twice. Retries were never affected.
- The signature checks in the reference (JavaScript, Python and PHP) refuse every delivery when the secret is empty, as when its
  variable is not set: before, a delivery signed with an empty key passed the PHP check. The Python check compares bytes, so a header
  with other characters is refused instead of raising an error. If you copied a check, add the same guard.
- `POST /products` and `PATCH /products/{id}` now say what a token with the power `products:publish` may do since 1.1: pictures are
  added with `POST /products/{id}/media`, a product is published with `POST /products/{id}/publish`, and a product on the site is changed
  with `PATCH` only by a token that holds the power (without it, `gated`). Their descriptions still said both were the owner's, in the
  admin.
- The shopping agents' MCP server (`/api/ucp/{store}/mcp`) refuses a batch of more than 10 calls, or an empty one, as the owner MCP
  server does: `400` with the JSON-RPC error `-32600`, *A batch holds 1 to 10 calls.* Until now it answered the first 10 calls and
  dropped the rest without a word. Its limit on a body is 50,000 bytes. It counted characters, so a body of `€` signs could be three
  times as large.
- A store's `agents.md`, its `llms.txt` and its Product feeds page give its UCP profile's address where it is served. For a store under
  Kaizena Flow's address that is `https://kaizenaflow.com/s/{store}/.well-known/ucp`: they gave `https://kaizenaflow.com/.well-known/ucp`,
  which serves nothing. A store that sells in one country now serves its profile and its `agents.md` at their addresses: both answered
  with the store's 404 page.

## 1.4 — 2026-11-03

Content, the store and operations (wave 14 unit C4, D440).

- New scopes: `content:read`, `content:write`, `content:publish` (publishing), `settings:read`, `reports:read` and `webhooks:write`.
- Pages and blog articles: `GET /pages`, `GET /pages/{id}`, `POST /pages` and `PATCH /pages/{id}` (drafts, through the editor's own
  save and checks), `POST /pages/{id}/publish` (with `content:publish`; a blocking issue of the checker not acknowledged answers
  `conflict` naming it), and the same under `/articles`.
- Content types and entries (D326): `GET /content-types`, `GET` and `POST /content-types/{id}/entries`, `GET` and `PATCH
  /content-entries/{id}`, `POST /content-entries/{id}/publish`.
- Menus: `GET /menus` and `GET /menus/{id}`. The store's settings: `GET /settings` (markets, currencies, languages, shipping rates and
  methods, tax profile, price display).
- Saved reports (D345): `GET /reports` and `GET /reports/{id}/run`.
- Webhook endpoints (D354) with `webhooks:write`: `GET`, `POST /webhooks` (the signing secret answered once: a replay under its `Idempotency-Key` answers it as `null`), `PATCH` and `DELETE
  /webhooks/{id}`, `GET /webhooks/{id}/deliveries` and `POST /webhooks/{id}/deliveries/{delivery_id}/resend`.
- The product file of the Data page (D165) as jobs: `POST /jobs/product-exports`, `POST /jobs/product-imports` (a one-time upload
  address), `POST /jobs/product-imports/{id}/check` (the dry run), `POST /jobs/{id}/apply`, `GET /jobs/{id}` and `GET /jobs/{id}/download`.
- A token may now hold every scope at once.
- Every write added since 1.1 has a scope no token made before it holds, so an older token gains nothing beyond reading its own areas:
  `products:manage` (categories and tags made, pictures uploaded, the product file imported as drafts, a draft put in a category or given
  pictures), `orders:manage` (draft orders made and changed, an order's notes and tags) and `customers:manage` (customers added and
  changed, never their email). Every scope of an area also reads it.
- What the AI manager asks the owner's yes for is a power: `products:publish` also renames and deletes categories and tags and sets price
  lists' prices; `orders:send` (new) sends draft orders, declines quotes, decides and receives returns, and pauses and cancels
  subscriptions; `orders:refund` also cancels an order not paid yet; `customers:email` (new) changes the email a customer signs in with;
  `discounts:publish` (new) changes discount codes and switches them off. A call that needs a power beside its scope answers `gated`,
  naming it.
- An import by a token without `products:publish` is checked as drafts only: `counts.dry.onShop` counts the products the file would
  publish, archive, bring back or change on the site, and `POST /jobs/{id}/apply` refuses them as `gated` and cancels the import.
- A page's or article's draft that carries `globalEdits` is refused: global parts change in the admin. A page's new address that moves
  published pages under it, and a published entry's new address, take `content:publish`.
- `Idempotency-Key` stands for the method, the whole path and the body: the same key on another order's route is refused, never answered
  with the first one's answer.
- Upload addresses (`POST /media/uploads`, `POST /jobs/product-imports`) are answered once: a replay answers `upload_url` as `null`.
  Pictures go to a bucket of their own and may be at most 20 MB and 50 million pixels.
- `GET /inventory/levels` pages by variant and location, so no level is skipped between pages.
- A webhook delivery about a person who was erased loses its payload, and resending it answers `conflict`.

## 1.3 — 2026-11-03

Customers and marketing (wave 14 unit C3, D440).

- Customers: `POST /customers`, `PATCH /customers/{id}` and `GET /customers?email=` to find one by email; a customer's store credit
  (`GET /customers/{id}/store-credit`) and bonus credits (`GET /customers/{id}/loyalty`).
- Segments (D296): `GET /segments` and `GET /segments/{id}` with how many people each holds now (never who).
- Discount codes: `GET` and `PATCH /discounts/{id}`, and `POST /discounts/{id}/disable` to switch one off.
- Gift cards with a new scope, `gift_cards:write`: `GET /gift-cards`, `GET /gift-cards/{id}`, `POST /gift-cards` (issue: the code is
  answered once, at issue; a replay of the request under its `Idempotency-Key` answers without it) and `POST /gift-cards/{id}/disable`.
- Subscriptions (D29): `GET /subscriptions`, `GET /subscriptions/{id}`, `POST /subscriptions/{id}/pause` and `/cancel`.
- A draft's pay link sent with `create_link` is no longer kept for a replay either: a replay answers it as `null`.
- Webhooks: `customer.updated`, `customer.erased` (the account's id only), `subscription.renewed`, `subscription.payment_failed`,
  `gift_card.issued` (never its code) and `review.created`, with the new subjects `erasure`, `gift_card` and `review`.

## 1.2 — 2026-11-03

Orders (wave 14 unit C2, D440).

- Draft orders and requests for a quote (D173, D431): `GET /drafts` (`?status=`, `?quotes=true`), `GET /drafts/{id}`, `POST /drafts`,
  `PATCH /drafts/{id}` (its customer, addresses, notes, tags, discount, shipping and lines, or its lines' prices by SKU, against its
  `version`), `POST /drafts/{id}/send` (emails the pay link, or answers it once with `create_link`) and `POST /drafts/{id}/decline` with
  the reply a shopper is emailed. Each draft answers what it totals now and what would stop it being sent (`blocking`).
- Refunds with a new scope, `orders:refund`: `POST /orders/{id}/refunds` through the admin's own refund (to the payment or as store
  credit, units back in stock); `GET /orders/{id}/refunds` with `orders:read`. A store credit's code is never answered: it goes to the
  customer.
- Returns (D153): `GET /returns`, `GET /returns/{id}`, and `POST /returns/{id}/approve`, `/decline` and `/receive`.
- An order's notes (`GET` and `POST /orders/{id}/notes`), tags (`POST /orders/{id}/tags`, `DELETE /orders/{id}/tags/{tag}`), and
  `POST /orders/{id}/cancel` for an order waiting for payment.
- Webhooks: `order.created`, `order.updated` (an edit applied), `fulfilment.created`, `fulfilment.updated` (tracking moved on, or the
  parcel undone), `refund.created`, `return.updated`, `quote.requested` and `draft.sent`, with the new subjects `fulfilment`, `refund` and
  `draft`.

## 1.1 — 2026-11-03

The catalogue (wave 14 unit C1, D440).

- Categories and tags: list, get, create, change and delete them, and put a product in or take it out (`/categories`, `/tags`,
  `/categories/{id}/products`).
- Pictures: `POST /media/uploads` gives a one-time address to `PUT` a JPEG, PNG, WebP or AVIF to; `POST /media` checks the file as the
  media library checks an upload and keeps it there; `GET /media` lists the library. A product's gallery: `GET`, `POST` and `PATCH
  /products/{id}/media`, and `DELETE /products/{id}/media/{media_id}`.
- A new scope, `products:publish`: publish, unpublish, archive and bring back a product (`POST /products/{id}/publish`, `/unpublish`,
  `/archive`, `/unarchive`), and change a product that is on the site (its fields, categories, tags and pictures). With `products:write`
  alone those still answer `gated`, as before.
- Price lists (D321): `GET /price-lists`, and `GET` and `POST /price-lists/{id}/prices` with fixed prices in minor units.
- `?updated_after=` on every list of the store's records (not on the short lists that belong to one thing, such as an order's refunds and
  notes or a product's gallery), and `updated_at` on orders, customers and discount codes, for incremental sync. A page's cursor now
  keeps its row's time to the microsecond, so rows made in one go are never skipped between pages.
- Each operation names the staff permission its screen asks for (`x-permission`) and the store feature it stands behind (`x-feature`): a
  store that is not open answers `forbidden` to what its admin refuses there (its products, discounts, website and settings, read or
  changed; its orders, customers and reports stay open), and a
  feature switched off answers the new code `feature_off` (403).
- Webhooks: `inventory.updated` (a variant's stock on hand moved; one event per variant and minute, carrying the stock as it is then) and
  `product.archived`.

## 1.0 — 2026-11-03

Contracts published.

- The Admin API's OpenAPI 3.1 document, generated from the operations themselves: every operation's parameters, body, answer and
  refusals, the scope each needs, pages, the rate limit and `Idempotency-Key`. Every write now checks its body before anything runs and says
  what is wrong in a 422 (discount codes, checkout rules and questions, and customer tags included).
- The storefront API's document now holds every route's query, body and answer.
- The webhook topics with the shape of each payload's `data`, the headers and how to check a signature, at `/api/webhooks/v1/topics.json`
  and in the Admin API's document (`webhooks`). A test delivery's sample order now has every field a real order has.
- The owner MCP's tool catalogue and the shopping agents', each tool with a title and MCP annotations (read-only, destructive, idempotent,
  open world); `tools/list` answers them too.
- The owner MCP takes OAuth 2.1 tokens from Kaizena Flow's own authorization server (D439): any MCP client connects at
  `https://kaizenaflow.com/api/mcp`, finds the server through `/.well-known/oauth-protected-resource` and
  `/.well-known/oauth-authorization-server`, and asks the person on Kaizena Flow's consent screen. Each tool in the catalogue names the
  `scope` a token needs for it (one per staff permission, plus `stores:read`); a call outside the token's scopes answers 403 with an
  `insufficient_scope` challenge, and `tools/list` lists only what the token can call.

---

https://docs.kaizenaflow.com/changelog
