Getting Started
Changelog
Dated, newest-first record of every change to the public storefront API. Read this before upgrading an integration.
View as MarkdownThe storefront API is versioned by URL prefix (/v1). Within v1 every change is additive: fields, endpoints, optional parameters and enum values are only ever added. Each entry below names the date it shipped, what changed, and which pages of this reference were updated. The same entries appear in the repository changelog.
2026-11-12
Added
@borkol/content:borkolImage(media, {w, h})crops on the value'sfocalpoint (&a=focal&fpx=&fpy=withhonly),borkolImageLoaderfornext/image(absolute http(s) URLs only, any host), andcropPosition/focalStylefor CSS crops that match wsrv's cut; theMediatype gainsfocalandvariantsas required fields (a hand-writtenMediaobject must now set both). New page Images. No API change.focalandvariantson everymediavalue andmedia_listitem (properties, repeater rows and sections):focalis the focal point{x, y}(0 to 1 from the left and from the top) set for this use of the image, else the image's default, elsenull;variantsholds resized WebP URLs (thumb,card,detail). See Media values.- Webhook event
media.updatedwithdata{id, tags}: the alt text or the default focal point of an image changed while a published record shows it. A connected site's webhook subscribes to it, also for sites connected before. See Webhooks. - Preview: header
X-Borkol-PreviewonGET /v1/api/objects/types/{key}/records,.../records/by-slug/{slug}andGET /v1/api/objects/records/{id}. A valid preview token (60 minutes, one record of one store) serves its own record as its draft (stagedvaluesandslugs, whatever its status, its draft address infilter[path]andby-slug), addsstatus(draft,scheduled,changed,published) to that record only and answers withCache-Control: private, no-store; every other record stays live. An invalid or expired token answers403 {code: "invalid_preview"}; without the header nothing changes. See Preview. GET /v1/api/objects/preview(scopeobjects:read, token inX-Borkol-Preview):{record_id, type_key, path, locale, expires_at}, the record a token opens and its draft address. See Preview.POST /v1/api/objects/preview-tokens(scopeobjects:schema,{record_id?, locale?}):{token, expires_at, url}, the home page by default;422no_siteorno_home. See Preview.- A preview budget: requests with a token valid for the store count against a separate 120 per minute per store; an invalid token counts against the live budget. See Errors and rate limits.
filter[path]onGET /v1/api/objects/types/{key}/records: the one record at a composed address such as/about/team(type prefix, parent addresses, own address) in thelocalelanguage, or an empty list. The rootpagerecord with the addresshomeanswers/. See Records.fallback_localeonGET /v1/api/objects/types/{key}/records,.../records/by-slug/{slug}andGET /v1/api/objects/records/{id}: localized values missing inlocaletake this language's value in the response;422when it is not enabled.GET /v1/api/objects/records/{id}also readslocalefor it. See Records.updated_aton every public record: when the live record last changed; staged, unpublished edits do not move it. See Records.PUT /v1/api/objects/schema(scopeobjects:schema): plan (dry_run=1) or apply a connected site's compiled manifest, withyes=1for archives that hold values; answers{plan, applied, needs_yes, refused, manifest_hash}. See Schema and Manifest.GET /v1/api/objects/schemaandGET /v1/api/objects/section-types(scopeobjects:read): the connected site, the types and the active section types (key,name,icon,group,help,looks,fields,item_label_field,thumbnail_url). See Schema.siteon every section type ofGET /v1/api/objects/section-typesand ofsection_typesinGET /v1/api/objects/schema: the connected site's key for the section types it pushed,nullfor starter and dashboard-made ones. See Schema.- List limits: a
record_ref_list,media_list,repeaterortagsfield in a section type or a repeater row may carryconfig.min_itemsandconfig.max_items; record writes outside them answer422(At most 12 linked records are allowed.), and a schema push refuses new or tighter limits that stored lists break. See Manifest. POST /v1/api/objects/media(scopeobjects:schema): upload a section type thumbnail, answers201 {id, url}. See Schema.- Scope
objects:schema, carried only by a connected site's push key and never grantable on an API key. See Authentication. siteandhelpon every type, andhelpon every property, ofGET /v1/api/objects/types;section_type_keysonsectionsproperties. See Types.- Webhook event
object_schema.updatedwithdata{site, manifest_hash, tags}. See Webhooks. POST /v1/api/objects/seed?dry_run=&publish=&overwrite=(scopeobjects:write, multipartrecordsplusfiles[<path>]): queue a create-only seed of starter content for the connected site's types, answers202 {job_id};409 {code: "seed_locked"}forpublish=1oroverwrite=1once a person has edited that content. A{"ref": "<external_id>"}resolves in any reference field, inside sections and repeater rows too.GET /v1/api/objects/seed/{job_id}reports{phase, total, done, failed, finished, created, errors}. See Seed.- New chapter Build a site.
localein theurlofPOST /v1/api/objects/preview-tokens(and of the dashboard's preview links) when a language was asked for:{site_url}{preview_path}?token=...&path=...&locale=.... The site's preview route forwards it toGET /v1/api/objects/preview, so the redirect lands on that language's address. See Preview.
Changed
- A slug prefix in
settings.slug.prefixesofPUT /v1/api/objects/schema(and in the dashboard) must be a path of slugs:/blogor/shop/bread, no.,.., empty segment or%, else422. Only a changed prefix is checked; stored prefixes keep working. See Manifest. - Webhook events
object_record.published,object_record.updated,object_record.unpublishedandobject_record.deletedcarrytags(["borkol"]) indata. See Webhooks. - A record scheduled for a future
published_atnow also sendsobject_record.publishedwithin a minute of that time passing, when it becomes visible. Before, the moment the schedule came due sent nothing. See Webhooks.
Notes
- A preview token stays valid for its full 60 minutes, even after the team member who opened it is removed or the push key is rotated, and its reads keep the preview budget for that time. See Preview tokens.
@borkol/content/nextcompletes the preview:createFetchers(live reads inside'use cache'with theborkoltag, preview reads uncached),previewHandler()forapp/api/borkol/preview/route.ts,<BorkolPreview appOrigin />for theborkol:readyandborkol:refreshmessages, andwithBorkolnow turns oncacheComponentsand sendsnoindexandno-referreron preview URLs.borkol initwrites the preview route and renders<BorkolPreview/>in the root layout;borkol doctorchecks the preview round trip andcacheComponents. See Preview and The package.- New page The package: installing
@borkol/content,borkol init, the CLI (push,seed,pull,doctor) with its environment and exit codes,withBorkol,webhookHandler, and the shared-cache caveat for sites on several instances. No API change. - Documentation fix: section type definitions are no longer described as dashboard-only and private. They are seeded or pushed by a connected site and readable through
GET /v1/api/objects/section-types. See Sections values.
2026-11-11
Added
GET /v1/api/commerce/categories: every node now carriesimage(image object ornull),meta_titleandmeta_description(string ornull). See Categories.GET /v1/api/commerce/products: new optionalsort=manualparameter; withfilter[category]it returns the products in the merchant's manual order for that category, products reached only through a subcategory after them, newest first. See Products.- Webhook events
product.created,product.updated,product.deleted,category.created,category.updated,category.deleted,contact.created,contact.updated,contact.deleted, with theirdatafields. Merchants can now redeliver a logged delivery (a new delivery with the sameeventanddata, its owncreated_at) and rotate an endpoint's signing secret. See Webhooks.
Changed
GET /v1/api/objects/types/{key}/recordsanswers422with aqvalidation error whenqis sent as an array (?q[]=x), instead of a500. See Records.GET /v1/api/objects/types/{key}/recordsqnow also searchesemailandphoneproperties, theurlandlabeloflinkproperties and the text ofrichtextproperties (tags removed). See Records.- API keys can now carry an expiry set by the merchant; an expired key gets
401 {"message": "Unauthenticated."}like a revoked one. A merchant can also change a key's scopes in place; the change applies on the next request with the same token. See Authentication and Errors and rate limits.
Notes
- Withdrawn:
GET /v1/api/sites/route,GET /v1/api/sites/site,GET /v1/api/sites/pagesand the scopesites:read, published earlier on 2026-11-11, are removed together with the Sites chapter. They were live for less than a day and no API key carriedsites:read, so no integration is affected. This is a one-time exception to the additive rule within v1. - Documentation fix: the module-disabled error no longer claims to win over the scope check. Which 403 comes first depends on the route. See Module not enabled.
2026-11-08
Added
settings.menu({placement, icon, position}),settings.singletonandsettings.hierarchical, andsystem_key, on every type ofGET /v1/api/objects/types. See Types and Menu, single records and subpages.parent_idandpositionon every record ofGET /v1/api/objects/types/{key}/records,GET /v1/api/objects/types/{key}/records/by-slug/{slug}andGET /v1/api/objects/records/{id}. See Records.filter[parent](rootor a record id) andsort=positiononGET /v1/api/objects/types/{key}/records. See Records.- The standard Pages type: every store with Objects has the type
pagewith the core propertiestitle,body,seo_title,seo_descriptionandsocial_image. See The standard Pages type.
Changed
- The
richtextallowlist grows from a handful of elements to the full table in Rich text values: headings 1 to 6,u,s,sub,sup,blockquote,hr, tables,figure,figcaption,pre,code,classandidtokens,titleon links and images,target="_blank"withrel="noopener noreferrer", andwidth,heightanddata-media-idonimg. Every write is cleaned by this one policy, so a value may now carry markup the old list removed. - On a public read, an
imgwith adata-media-idof public media of the store gets the current mediasrc(andwidthandheightwhen missing); an id that is not the store's is dropped. See Rich text values.
Notes
- Storefronts render
richtextas HTML. Sanitizing it again and setting a Content Security Policy is recommended.
2026-10-29
Added
variants[].image_id(uuid or null) andvariants[].image(image object or null) onGET /v1/api/commerce/productsandGET /v1/api/commerce/products/{id}: a variant's own image, one of the product's media items, soimage_idmatches an entry inimageson the detail endpoint. Products imported from Shopify get it from theVariant Imagecolumn. See Variant object.
2026-10-24
Notes
- Documentation fix, nothing changed in the API. The webhook event catalog now documents the eight subscribable sales events that
WebhookDispatcherhas allowed since the sales module shipped:quote.offered,quote.accepted,quote.declined,quote.expired({id, number, status, origin, total_amount, currency, email, valid_until, signed_at}) andinvoice.sent,invoice.paid,invoice.overdue,credit_note.sent({id, number, kind, status, total_amount, paid_amount, open_amount, currency, email, issue_date, due_date}), with when each fires. See Webhooks. - The scope table lists every grantable scope and the routes that check it:
catalog:read(and thecatalog:write,configurator:*pair),contacts:read/contacts:writewithcustomers:*as their former names,sales:read/sales:write, and which scopes are grantable but used by no/v1/apiroute yet. See Authentication.
2026-10-18
Added
GET /v1/api/forms/address-lookup(scopeforms:read):country=NL,postal_code,house_numberand an optionaladditionanswer200 {street, city, postal_code, lat, lon}(not wrapped indata). Errors:404(No address found.),422oncountry,postal_codeorhouse_number,503(Address lookup is temporarily unavailable.). 60 requests per minute per store, then429. See Address lookup.- Field kind
addresson forms.configis{country, lookup?, service_area?}; the answer is{postal_code, house_number, addition?, street, city, lat?, lon?}and a bad value answersMust be a valid address.onanswers.{key}.service_areais{origin: {lat, lon, label?}, radius_km, mode: notice | block, message}. See Field kinds. meta.addresson a stored submission: peraddressfield with a service area,{distance_km, in_area}. Withmode: "block", an address known to be outside the area answers422onanswers.{key}with the field'smessage. See Address fields and the service area.options_sourceonchoicefields:{object_type, label, description?, sort?, limit?}.GET /v1/api/forms/{key}fillsconfig.optionsfrom the publicly visible records of the collection on every request, and a submission is checked against them. See Field kinds.- Length limits on the parts of an
addressanswer, after trimming:postal_code12 characters,house_number20,addition10,streetandcity255 each. A longer part answersMust be a valid address.onanswers.{key}, incheck()of@borkol/formstoo. See Field kinds. @borkol/forms0.2.0: thepersistKeyoption onBorkolFormanduseBorkolFormkeeps a visitor's draft inlocalStoragefor up to 30 days, andformatAddress,normaliseAddressanddistanceKmare exported. See The @borkol/forms package.
Changed
- A form may now have 150 input fields (was 60).
headingandparagraphdo not count. Steps stay at 20. See Definition: steps and fields.
Notes
addressis a new field kind: a renderer that picks a component bykindneeds one for it. Treat an unknown kind as additive, as always within/v1.- On
GET /v1/api/forms/{key},config.service_area.messageof anaddressfield is a string in the requested language (with the usual fallback), like every other text of the definition. See Field kinds.
2026-10-16
Added
code: "module_disabled"andmodule(the module key) on the module-disabled error body, on both the403and the404variant.erroris unchanged, so existing checks keep working. See Module not enabled.
2026-10-13
Added
- Forms. A new
formsmodule and chapter.GET /v1/api/forms/{key}?locale=(scopeforms:read) returns the published version of an active form wrapped indata:{key, version, name, steps, settings: {thank_you: {message, redirect_url}}}, every text resolved to one language with a fallback to the store's default language. Steps and fields carryshow_ifrules (equals,not_equals,contains,filled,empty, one level ofallorany); field kinds aretext,textarea,number,email,phone,date,select,link,choice,consent,hidden,file,headingandparagraph. See Forms and Load a form. POST /v1/api/forms/{key}/submissions(scopeforms:write) checks the answers against the published version with the same rules, drops answers to hidden fields, stores the submission and answers201 {"data": {"number", "thank_you": {message, redirect_url}}}. Errors are the422envelope keyedanswers.{key}andfiles.{key}; ahoneypotwith any value other than an empty string ornullanswers201withnumber: nulland stores nothing. See Submissions.X-Borkol-Visitor-Ipheader on the forms routes: the per-form hourly limit (1 to 100 per visitor, default 5) counts per visitor address, including attempts that fail with422, and answers429 {"message": "Too many submissions. Try again later."}. Without a valid header the connecting address is used. See Visitor IP and the hourly limit.- Scopes
forms:readandforms:write, andformsas a module key in403 {"error": "Module not enabled: forms"}. Keepforms:writekeys on your server. See Authentication. - Webhook events
form.published({key, version}) andform_submission.created({id, number, form_key, status, locale, name, email, created_at}, never the answers). See Webhooks. POST /v1/api/forms/{key}/uploads(scopeforms:write, multipartfieldandfile) stores one file for afilefield privately and answers201 {"data": {"token", "name", "size"}}. The type is judged by content (image: JPEG, PNG, WebP, HEIC/HEIF;pdf: PDF), the size against the field'smax_mb(at most 20 MB); errors are422onfieldorfile. 30 uploads per form per visitor per hour, then429 {"message": "Too many uploads. Try again later."}. Tokens are single use, bound to the form and field, and expire after 24 hours. See Uploads.filesonPOST /v1/api/forms/{key}/submissions: field key to a list of upload tokens, claimed with the submission; a token that is unknown, of another form or field, used or expired answers422onfiles.{key}(This upload is invalid or has expired. Upload the file again.). See Submissions.- Cloudflare Turnstile on forms:
settings.turnstile_site_keyonGET /v1/api/forms/{key}when the form has Turnstile on and the store set both keys, andturnstile_tokenon the submission, verified after the hourly limit and before the answers. A failed check answers422onturnstile; tokens are single use, so reset the widget after every422. See Turnstile and Load a form. - The
@borkol/formspackage: types, the visibility and answer rules (visible,check,prefill) and a headless React renderer (@borkol/forms/react) withupload,turnstileToken,onServerErrorsand aformErrorcomponent. See The @borkol/forms package.
Notes
- A form with Turnstile on is not checked until the store has set both Turnstile keys:
turnstile_site_keyis then absent and submissions are accepted without the check.
2026-10-12
Added
- Filtering a
tags,record_ref_listorrecord_refproperty withfilter[{propertyKey}]: a tag, or a record id, that the stored list contains (a reference matches by equality). See Records. settingson every object type ofGET /v1/api/objects/types:{publishable, slug?}, whereslugis{source, prefixes}and only present when the type gives its records addresses.localized(boolean) andconfig(object or null) on every property definition. See Types.- Property types
richtext,datetime,media,media_list,link,icon,token_variant,color,email,phone,tags,record_ref,record_ref_listand a one-level nestedrepeaterfor object properties, next to the existing types. Properties can be localized (not number, money, boolean, date, datetime, customer, color, media_list, record references, repeater, sections; amedia_listcarriesaltandcaptionas locale maps instead). See Objects. published_aton every record, andslugs(language tag to address) on the records of a type that has addresses, limited to the languages enabled for the store. See Records.GET /v1/api/objects/types/{key}/records/by-slug/{slug}?locale=fetches one published record by its address in one language (localedefaults to the store's default language;422onlocalewhen it is not enabled,404when nothing visible matches). See Records.- Webhook events
object_record.published,object_record.updated,object_record.unpublishedandobject_record.deleted, with the payload{id, type_key, slugs, published_at}. They fire on real transitions only; a scheduled record reaching its time sends nothing. See Webhooks. GET /v1/api/redirectsalso acceptstenant:readandobjects:read, and redirects to record addresses the same way it redirects products and categories (a record address change records a redirect only when the type has a non-empty address prefix for that language). See Redirects and sitemap.include=refs(orinclude[]=refs) onGET /v1/api/objects/types/{key}/records,GET /v1/api/objects/records/{id}and the by-slug endpoint expandsrecord_refandrecord_ref_listvalues into{id, type_key, values, slugs?, published_at}, one level deep. Targets that are not publicly visible are dropped (nullfor a reference, removed from a list); unknownincludetokens are ignored. See Records.localequery parameter onGET /v1/api/objects/types/{key}/records: localizedfilter[...],sortandquse that language. An enabled-language tag is required to take effect; any other value falls back to the store's default language. See Records.- Object records in
GET /v1/api/sitemap: entries{type: "object_record", object_type, locale, path, lastmod, alternates}, one per publicly visible record, language and address, for types with a non-empty address prefix. See Redirects and sitemap. GET /v1/api/business(scopetenant:read) returns the public business profile: trade and legal name, contact details, address, registration and VAT numbers,social_links({platform, url, label}, 23 platforms), the defaultlocaleandcontent_locales. Banking, signer, sender and terms fields are never exposed, and a store without a profile answers200with nulls. See Business profile.
Changed
- Media values are objects. A
mediavalue (a property, or a field inside a section or repeater row) is now{id, url, alt, width, height, mime_type}ornullwhen the item is missing or private. It used to be the media id as a string. Amedia_listvalue is a list of the same objects, each with acaption; items that are missing or private are dropped from the list. Fetching the media id yourself is no longer needed. See Objects. - Drafts and scheduled records are hidden. On a type with
settings.publishable: true, drafts and records with apublished_atin the future are left out of the record list and answer404onGET /v1/api/objects/records/{id}and by slug.filter[status]is not accepted publicly (422onfilter). Types that are not publishable are unchanged. See Records and Publishing and visibility. - Localized values are cut down to the enabled languages. A localized property or field returns a map from language tag to value containing only the languages enabled for the store. A stored empty
sectionsvalue is returned as[]; sections of a type that no longer exists are left out. See Localized values. GET /v1/api/redirectsandGET /v1/api/sitemapare served by the platform. Same paths, same responses. They no longer require the catalog module (no more403 Module not enabled: catalog), accept any of thecatalog:read,commerce:read,tenant:readorobjects:readscopes, and the sitemap lists the entries of the enabled modules only (a store without the catalog module gets an empty list). The reference page moved from Catalog to Getting started. See Redirects and sitemap.- Localized filters, sort and search follow
locale. Filtering or sorting a localized property, andqon a localized text property, now read the value in the requested language (the store's default language whenlocaleis absent) instead of the raw stored map. See Records. - Translations without the default language are kept. A translatable property or field that is not required and has no entry for the store's default language, for example
{"en": "Dusk"}with defaultnl, is stored as written instead of being dropped; only a map whose entries are all empty still counts as empty. A required one still answers422. Therichtextallowlist also gainsimgwithsrcandaltonly (https://or root-relative/sources; any otherimgis removed). See Objects.
Notes
- The record shape grew by
published_at(always) andslugs(types with addresses). Treat unknown fields as additive, as always within/v1.
2026-10-11
Added
capability(standardormade_to_measure) andcapability_active(boolean) on the product object ofGET /v1/api/commerce/productsandGET /v1/api/commerce/products/{id}.capabilitysays how the product goes into a cart;capability_activeisfalsewhile the module that sells it (commerce forstandard, configurator formade_to_measure) is disabled. See Products.uniton the product object (piece,kg,g,l,m,m2,m3,hour) and on every order line (lines[].unit, the product's unit at order time). See Products and Orders.- Product fields
compare_at_amount,barcode,weight_grams,requires_shipping,track_stock,returnable,lead_time_days,tagsandsocial_image, and variant fieldsbarcodeandweight_grams. See Products. GET /v1/api/redirects?path=returns{data: {from_path, to_path, status}}for a product or category path whose slug changed (404 when none), andGET /v1/api/sitemaplists every active product and category path as{data: [{type, path, lastmod}]}. Both takecatalog:readorcommerce:readand the catalog module. See Redirects and sitemap.- A top-level
codeon the 422 a cart line add refuses with (POST /v1/api/commerce/carts/{id}/lines):CAPABILITY_INACTIVE,INVALID_CONFIGURATIONorNOT_PURCHASABLE, next to the unchangedmessageanderrors. See Cart lines and Errors and rate limits. attributes.returnableandattributes.lead_time_dayson every order line placed through checkout or an accepted quote; a made-to-measure line is never returnable. See Orders.
Changed
- Breaking:
typeis removed from the product object. Usecapabilityinstead, plusrequires_shippingandtrack_stock: formersimpleandvariableproducts arestandard;configurableproducts aremade_to_measure(and not returnable);digital,licenseandsubscriptionproducts arestandardwithrequires_shipping: falseandtrack_stock: false. See Products. - Breaking: quantities are decimal. Cart line, order line and quote line
quantity, availabilityavailable, the checkout and quote-acceptout_of_stock[].requestedand.available, and thestock.adjustedwebhookquantityare JSON numbers that may be fractional (0.75,12).quantityonPOST /v1/api/commerce/carts/{id}/linesandPATCH .../lines/{lineId}accepts up to three decimals; a product withunitpiecestill takes whole numbers only (422 onquantity). See Cart lines, Carts, Orders, Availability and Webhooks. - Breaking: the configurator endpoints (
GET /v1/api/commerce/configurator/products/{id}/schema,POST .../quote) are gated by the configurator module: without it they answer403 {"error":"Module not enabled: configurator"}(wascatalog). They answer 404 for a product whosecapabilityis notmade_to_measure. See Configuration schema, Price quote and How the configurator works. - Configurator dimensions must be whole numbers; a fractional value used to be truncated and is now refused. The quote endpoint answers 422 on
dimensions.{key}({Label} must be a whole number.) in its plain validation envelope, without a top-levelcode; a cart add answers the same error withcodeINVALID_CONFIGURATION. See Price quote and Cart lines. - Breaking:
components[].qtyin the configuration snapshot on cart and order lines is an exact decimal string ("2.16"), was an integer. See Carts and Orders. - Breaking:
POST /v1/api/commerce/carts/{id}/quote-requestbelongs to the sales module and answers404 {"error":"Module not enabled: sales"}when the store has sales disabled. Quote triggers fire only when sales is enabled and quote requests are switched on; otherwiserequires_quoteis always false and checkout never refuses withQUOTE_REQUIRED. See Quote requests, Checkout and Errors and rate limits. purchasabilityis set by the sales module and readsdirectwhen the merchant set nothing; it is reported even when sales is disabled. Aquoteproduct can be added to a cart: the cart reportsrequires_quote: truewith reasonproduct_purchasability, checkout refuses with409 {"code": "QUOTE_REQUIRED", "reasons": [...]}, and the cart goes through the quote request instead. A contact group's always-quote setting is now a sales setting; thecustomer_groupreason is unchanged. See Products and Quote requests.stock_statusisuntrackedfor a product withtrack_stock: falseand all of its variants, even when stock rows exist, on the product object and onGET /v1/api/stock/availabilityandGET /v1/api/stock/products/{productId}(tracked: false). See Products and Availability.- Checkout requires
shipping_method_idwhen the cart holds a line whose product hasrequires_shipping: true(was: a product of typesimple,variableorconfigurable). See Checkout and Shipping methods. - Quote lines created from a cart carry
unitpcsfor a product sold by the piece and the product's unit otherwise (wasnull). See Quote requests and Quote tokens. - Accepting a quote in order mode reserves stock through each product's line handler at the quoted price, so a made-to-measure line deducts its components. Only a real shortage refuses with
OUT_OF_STOCK; a line whose product can no longer be sold converts without stock movement. See Quote tokens.
Deprecated
QUOTE_NOT_ORDERABLE(422) onPOST /v1/api/sales/quotes/by-token/{token}/acceptandPOST /v1/api/commerce/quotes/by-token/{token}/acceptis no longer returned: a quote with fractional line quantities converts to an order with those quantities. Keep tolerating the code, but expect never to see it. See Quote tokens.
Notes
- The
/v1surface was restructured before any production consumer depended on it, so the breaking changes above ship inside/v1instead of under a new URL version. From this release on, changes within/v1are additive again. - Documentation fixes, nothing changed in the API: the product and category endpoints accept
catalog:readorcommerce:readand are gated by the catalog module (the reference namedcommerce:readandcommerce); the order object'sinvoice_idand the full quote request response (origin,intro,terms,acceptance_mode,pdf_url,signed_at,signed_pdf_url, and the line fieldskind,unit,description,tax_rate,unit_price) are now documented. See Products, Categories, Orders and Quote requests.
2026-09-17
Added
discount_total(money) anddiscount_breakdown(array or null) on the order object returned byPOST /v1/api/commerce/carts/{id}/checkout,GET /v1/api/commerce/orders/{id}andGET /v1/api/commerce/my/orders.discount_total.amountis the goods discount applied at checkout (0when none);discount_breakdownlists one{discount_id, name, code, kind, amount}entry per applied discount and isnullwhen none applied. Both are additive; no existing field changed. See Orders and Checkout.messageon theOUT_OF_STOCKrefusal ofPOST /v1/api/commerce/quotes/by-token/{token}/accept(order mode only). The 409 body now reads{"code": "OUT_OF_STOCK", "message": "Insufficient stock.", "out_of_stock": [...]}; theout_of_stockrows are unchanged. Additive, and the envelope now matches every other refusal on the endpoint (code+message). See Quote tokens.
Changed
POST /v1/api/commerce/carts/{id}/claimnow merges every otheractivecart the customer owns into the claimed cart, not only the first one found. Each folded cart flips tomergedand releases its stock holds, exactly as before; there is simply no longer an orphaned active cart left behind. See Claiming a cart and Storefront guide.- The claim merge carries identity across: the claimed cart keeps its own
emailandmetadatawhen set and otherwise takes the merged cart's value, so a guest email captured before login is no longer lost. No field was added or retyped on the cart envelope. See Claiming a cart.
Notes
POST /v1/api/commerce/carts/{id}/lines: two simultaneous identical adds (same product, variant and configuration) used to make the loser fail with a 500. The loser now folds its quantity into the winning line and returns the same 201 envelope as before, still clamped tomax_quantity_per_line. See Cart lines.X-Customer-Tokenhandling is now consistent with the documented rule "must resolve to a customer, else 401": a token past itsexpires_at, or older than the platform session window, no longer resolves, so it cannot claim or check out a customer-owned cart. Log in again to obtain a fresh token. See Claiming a cart and Checkout.POST /v1/api/customers/forgot-passwordstill answers 202 with the same body for known and unknown addresses; it now also does the same amount of queue work on both paths, so the response time no longer hints at whether an account exists. See Passwords.- A
bogodiscount now grants its get quantity once per qualification instead of once per cart: the discounted units areget_quantity × floor(qualifying buy quantity ÷ minimum buy quantity), capped at the quantity of the cheapest get line. Thediscounts[].amounton the cart and the order'sdiscount_totalgrow accordingly; no field or enum value changed. See Cart discounts. - Products of type
configurableare priced by the configurator engine only; customer-group and tier price rows left over from a type change no longer surface inprice,quantity_tiersor the cart line price for such a product. Simple products are unaffected. See Products. POST /v1/api/commerce/quotes/by-token/{token}/accept: theQUOTE_NOT_OFFEREDrefusal raised while the order is being built (a race with another accept of the same quote) now carries the documented messageQuote is not awaiting a response (status: ...)instead ofQuote cannot be accepted in its current status (...). Code and status are unchanged. See Quote tokens.
2026-09-04
Changed
- A configurator choice whose
requiresrule cannot be satisfied by the other published choices is now omitted fromGET /v1/api/commerce/configurator/products/{id}/schemainstead of being published and then rejected at quote time. The filtering propagates, so every choice the schema exposes can be selected and priced. See Configuration schema and How the configurator works. POST /v1/api/commerce/configurator/products/{id}/quoteapplies the same availability rule: selecting a choice the schema no longer publishes fails with the existing genericchoicesmessage, and the per-choicechoices.{choiceId}messages now name only choices that are still available, so a deactivated choice is never disclosed in an error. See Price quote.- A price matrix with a condition on a choice that is not available is now omitted from
price_matricesinstead of being listed with a shortenedconditionsarray. Such a matrix can never become eligible, so the engine treats the configuration asnot_priceablerather than falling back to it. See Configuration schema.
Notes
- Documentation fix on both configurator endpoints: they accept an API key carrying either the
catalog:reador thecommerce:readscope (unchanged since 2026-08-25), and their module gate is the catalog module, so the 403 body reads{"error":"Module not enabled: catalog"}. The reference namedcommerce:readandcommercefor both. Nothing changed in the API. See Price quote, Configuration schema and How the configurator works.
2026-08-26
Added
- Customer endpoints are now also served at
/v1/api/contacts/*; the previous/v1/api/customers/*paths remain as a permanent alias with identical request and response shapes. New API-key scopescontacts:readandcontacts:writeare available; existingcustomers:read/customers:writekeys keep working unchanged. See Contact accounts. - The contact profile (
GET/PATCH /v1/api/contacts/me, also.../customers/me) now includeskind(personorcompany),company_name,registration_number,vat_id,external_id, anddisplay_name. These fields are read-only through the storefront API.emailcan now benullfor any merchant-created contact; storefront registration still requires it. See Profile. - The address
typefield accepts a new value,work, alongsideshippingandbilling. See Addresses. contact_idon order and merchant quote objects: the same value ascustomer_id, under the canonical name going forward.customer_idis unchanged and stays. The token-addressed quote object carries neither. See Orders and Checkout.- The quote-token endpoints are now also served at
/v1/api/sales/quotes/by-token/{token}(GET,/accept,/decline)./v1/api/commerce/quotes/by-token/*keeps working, identically and permanently; both paths accept a key withsales:read/sales:writeorcommerce:read/commerce:write. See Quote tokens. GET /v1/api/{sales,commerce}/quotes/by-token/{token}returnsorigin,intro,terms,scope_items[],acceptance_mode,pdf_url,signed_atandsigned_pdf_url; each entry oflines[]gainskind,unit,descriptionandtax_rate. See Quote tokens.POST /v1/api/{sales,commerce}/quotes/by-token/{token}/acceptaccepts an optionalsignaturebody parameter — a PNG data URL of at most 2 MB, required when the store'sacceptance_modeissignature— and returnssigned_pdf_url. New error codesSIGNATURE_REQUIRED(422),SIGNATURE_INVALID(422),QUOTE_NOT_ORDERABLE(422),ALREADY_CONVERTED(409) andQUOTE_EXPIRED(410). See Quote tokens.- New scopes
sales:readandsales:write, accepted anywherecommerce:read/commerce:writeis accepted on the quote-token endpoints. See Authentication. - A quote's
statusmay now bedraft: merchant-written quotes exist before they are sent. A draft has no number and is never reachable by token.
Changed
- Customer endpoints no longer require a module to be enabled; the 403
Module not enabled: customersresponse can no longer occur. See Customer accounts and Errors and rate limits. - Quote line
quantity(merchant quotes and the token-addressed quote object) is documented asnumberinstead ofinteger: product lines still always report a whole number, but service and material lines can now carry a fractional quantity (hours, metres). Every previously-integer value keeps serializing exactly as before. See Quote requests and Quote tokens. - Accept and decline on the quote-token endpoints are throttled to 30 requests per minute, keyed by the caller's IP. See Errors and rate limits.
Notes
lines[].quantityon the quote-token endpoints was always a JSON number and still is; it may now be fractional (two decimals). No field was removed, renamed or retyped.
2026-08-25
Changed
- Public catalog routes (
/v1/api/commerce/products,/v1/api/commerce/categories,/v1/api/commerce/configurator/*) now accept an API key carrying either thecatalog:reador thecommerce:readscope. Existing keys keep working unchanged. See Authentication. - New API-key scopes
catalog:readandcatalog:writeare available to stores with the Catalog module enabled. Scope names for every other module are unchanged.
Notes
- No request parameter, response field, status value or error envelope changed in this release.