Changelog and versioning
The promise for v1
Section titled “The promise for v1”- May change without notice: new endpoints, new optional query parameters, new fields in answers, new values in code lists. Ignore what you don’t know.
- Never changes in v1: a field removed or renamed, a field’s type changed, an endpoint removed, a required field added to a request. A test in our build compares every change to the published description and fails on any of these, so it can’t slip out by accident.
- Every change to the published description gets an entry below — another test fails the build until it has one.
- If v1 ever needs one of those, it comes as v2 beside v1, and v1 keeps working for at least 12 months after v2 is announced here.
Changes
Section titled “Changes”2026-10-13 — reps and vans in the code lists
Section titled “2026-10-13 — reps and vans in the code lists”GET /reference/{kind} also answers rep (one item per sales rep: van, active) and van (one item per van: warehouse, held_back_warehouse, rep), so a connector can offer them as dropdowns. Descriptions and examples only in the published description; no endpoint or field changed, and existing kinds answer as before.
2026-10-13 — the product name is written SLFLO
Section titled “2026-10-13 — the product name is written SLFLO”Descriptions and examples only: the name in the published description now reads SLFLO. No endpoint, field or code changed.
2026-10-09 — van to van on the load endpoint
Section titled “2026-10-09 — van to van on the load endpoint”- Descriptions only; the schema is unchanged.
PUT /stock/loads/{ref}now takes a van asfrom: a journal from one van to another is a load of kindVAN_TRANSFER, sent, replaced, re-sent and cancelled exactly like a load, and answered on the same feed (filter[kind]=VAN_TRANSFER). Until today a van asfromwas422 NOT_A_WAREHOUSE; a van’s held-back place still is. - The giving van is checked: it must hold every line when the journal arrives, else
422 INSUFFICIENT_VAN_STOCK(newly listed in the integration error table) naming each short line. A refusal, replace or cancel puts the goods back on the giving van. Only the receiving van’s rep answers. See van to van.
2026-10-09 — the company switches ERP mode API itself
Section titled “2026-10-09 — the company switches ERP mode API itself”- No change to the published description. The company’s administrator now turns ERP mode
APIon and off in the console (Orders wait for your ERP) instead of asking us. On needs an active client withorders:write; off is refused while any order is stillERP_PENDING, so ack every order you were sent before it is turned off. Read the mode fromGET /me(data.company.erp_mode). See ERP mode.
2026-10-09 — a credit limit left out is kept, and REVERSED_IN_SLFLO
Section titled “2026-10-09 — a credit limit left out is kept, and REVERSED_IN_SLFLO”- Descriptions only; the schema is unchanged.
credit_limitleft out ofPUT /customers/{ref}now keeps the limit SLFLO holds — one your balance push set, say — instead of clearing it;credit_limit: nullis no limit; a number (0 included) is that limit. The same onPUT /customers/{ref}/branches/{branch_ref}, wherenullmeans the branch reads its account’s limit. A customer created without the field has no limit, as before. If you meant “no limit” by leaving the field out, sendnull. See credit limits. - A new reason code:
REVERSED_IN_SLFLO, for a payment the office reversed in SLFLO before your ERP booked it. Answer such a payment REJECTED with it; the office reads that nothing more is needed.
2026-10-09 — stock refusals in a developer’s words, and a stock sandbox
Section titled “2026-10-09 — stock refusals in a developer’s words, and a stock sandbox”- No change to the published description. The
messageof a load or unload refused withBATCH_REQUIRED,NOT_TRACKED,SERIAL_TRACKEDorUNIT_NOT_OF_PRODUCTnow says what to send (“SKU-MILK is tracked by lot in SLFLO. Send the line’s lot.”) instead of the console’s “choose its lot on that line”. The codes are unchanged; branch oncode, never onmessage. - A stock sandbox on request: the Nile Fresh day with its stock handed to the ERP, a load journal accepted and its unload recorded. See sandbox and stock from your ERP.
2026-10-09 — held back on return lines, the company’s currency, refusals booked later
Section titled “2026-10-09 — held back on return lines, the company’s currency, refusals booked later”- Added field
ReturnLineDto.held_back(boolean):truewhen the line’s goods went to the van’s held-back place rather than back on sale — every expired line, a line the rep held back, a damaged line not put back on the shelf. Arrive them where the line says, whatever the return’sreason. See Returns. - Added field
MeCompanyDto.currency(string) onGET /me: the company’s currency, the one a pushed balance is read in. See Balances. - An invoice, payment or return you answered REJECTED can now be answered ACCEPTED at the
same version (
applied), once your office books it after all. Every other different answer at that version is still409 ALREADY_ACKNOWLEDGED. See Acks. - The console and the phone now show the office plain words for the
reason_codes listed under reason codes, with yourmessageas the detail.
2026-10-09 — lots on invoice lines, and how a product is tracked
Section titled “2026-10-09 — lots on invoice lines, and how a product is tracked”- Added field
InvoiceLineDto.lots(array ofInvoiceLotDto): the lots the line’s goods came from, earliest expiry first —lot(the code),expires_on,quantity(in the line’s unit) andbase_quantity(in the product’s base unit). Empty for a product not tracked by lot, or when no stock moved in SLFLO. Read from the stock ledger, so invoices issued before today answer too. See Which batch. - Added field
ReturnLineDto.lot(string): the code of the line’s lot, besidebatch_id. - Added field
LookupDto.product(LookupProductDto) onGET /lookup?entity=product:trackingisNONE,BATCHorSERIAL— send aloton load and unload lines exactly forBATCHproducts.
2026-10-09 — unloads from your ERP, counted
Section titled “2026-10-09 — unloads from your ERP, counted”- Added
PUT /api/integration/v1/stock/unloads/{ref}: record a posted unload journal (ref= its id). One journal empties one place — the van, or withheld_back: truethe van’s held-back place — intoto:van,to(SLFLO location codes),counted_at,lines[{product, unit, quantity, lot}]as counted (0 to 500 lines, quantities 0 or more), optionalheld_back,number,source_version. AnswersUnloadDto{entity, id, number, external_ref, external_number, van, from, to, held_back, rep, business_day, counted_at, lines[{product, unit, lot, held, counted, shortage, overage}], shortages[{id, product, lot, quantity, unit_price, value, currency}], result, version};resultiscreated,unchangedorstale. Needsstock:writeand Stock is managed in your ERP. - Added
GET /api/integration/v1/stock/unloads/{ref}: the recorded unload,resultnull;404 NOT_FOUNDfor a ref that never reached SLFLO. Needsstock:read. - Added the schemas
UnloadPushDto,UnloadLinePushDto,UnloadDto,UnloadLineDtoandShortageDto. - New error codes
LOAD_STILL_WAITINGandVAN_DAY_NOT_ENDED(409,retryable: true— wait and send the same journal again) andUNLOAD_ALREADY_RECORDED(409); on this API for the first timeNOT_QUARANTINEandNO_QUARANTINE(422). A409can now be retryable: readretryable, not the status. See Stock from your ERP.
2026-10-09 — loads from your ERP, and vans in the lookup
Section titled “2026-10-09 — loads from your ERP, and vans in the lookup”- Added
PUT /api/integration/v1/stock/loads/{ref}: send a load (your transfer journal,ref= its id) to a van —van,from(SLFLO location codes),lines[{product, unit, quantity, lot, expires_on}], optionalnumber,note,source_version. AnswersLoadResultDto{entity, id, number, external_ref, kind, state, result, replaced_id};resultiscreated,replaced,updated,unchangedorstale. A send after the rep refused is a re-send (a newLD-number). Needsstock:writeand Stock is managed in your ERP. - Added
DELETE /api/integration/v1/stock/loads/{ref}: cancel;resultcancelledorunchanged. - Added
GET /api/integration/v1/stock/loads: the reps’ answers by version (LoadPageofLoadDto), withfilter[state],filter[kind],filter[external_ref],filter[id]. Needsstock:read. - Added
GET /api/integration/v1/stock/loads/{ref}: the ref’s latest load, a cancelled one included;404 NOT_FOUNDonly for a ref that never reached SLFLO. - Added the schemas
LoadPushDto,LoadLinePushDto,LoadResultDto,LoadDto,LoadLineDto,LoadRefusalDto,PlaceDto,PersonDtoandLoadPage. GET /lookuptakesentity=vanwithexternal_ref= the van’s SLFLO location code. Added fieldLookupDto.van(LookupVanDto) —{rep: {id, code, name}, held_back_code},nullfor every other entity.- New error codes
ERP_STOCK_NOT_ENABLED(409),NOT_A_VAN(422), and on this API for the first timeNOT_A_WAREHOUSE,SAME_LOCATION,UNIT_NOT_OF_PRODUCT,BATCH_REQUIRED,NOT_TRACKED,SERIAL_TRACKED(422),LOAD_ALREADY_CHECKED,LOAD_PARTLY_SOLD(409). See Stock from your ERP.
2026-10-09 — whether your ERP manages the stock, in GET /me
Section titled “2026-10-09 — whether your ERP manages the stock, in GET /me”- Added field
MeCompanyDto.stock_managed_by_erp(boolean):trueonce an administrator has turned on Stock is managed in your ERP in Settings › Integrations. While it is on, SLFLO makes no stock moves of its own — no loads, unloads, moves, goods received, write-offs or counts — and the rep only accepts or refuses a load. Check it before you send stock to SLFLO. See ERP mode.
2026-10-09 — where the goods left from, on invoices and orders
Section titled “2026-10-09 — where the goods left from, on invoices and orders”- Added field
InvoiceDto.warehouse(RefDto): the place the invoice’s goods left from — the rep’s van for a van sale, the warehouse for a delivery the office recorded — as{id, code, external_ref}, with the SLFLO location code incode.nullwhen no stock moved in SLFLO. Invoices issued before this change answer it too. - Added field
OrderDto.warehouse(RefDto): the van for a van sale; for a delivered order, the warehouse of its first delivery;nulluntil goods leave, so alwaysnullon an order waiting for your ERP. See Which warehouse.
2026-10-08 — the company’s ERP mode in GET /me; balances, lookup and the acks tag
Section titled “2026-10-08 — the company’s ERP mode in GET /me; balances, lookup and the acks tag”- Added field
MeCompanyDto.erp_mode(string):GET /meanswers the company’s ERP mode asdata.company.erp_mode—DISABLED,API,DYNAMICS365orFAKE— so you no longer learn it from a409 ERP_MODE_NOT_API. - A pushed balance (
PUT /customers/{ref}/balance,POST /batch/balances) now also takes off the credit notes SLFLO issued afteras_ofthat you haven’t acked as accepted, as it already did for payments. A shop with a return since youras_ofreads lower than before. See Balances. GET /lookupbyexternal_reffor aunit,productorprice_listalso finds our row whose code is that ref when no key of your ERP claims it — the row your push would adopt — answered with"external_ref": null. Customers and branches are unchanged. See Lookup.POST /acksmoved from the Orders tag to a new Acks tag, since it answers invoices, payments and returns too. ItsoperationId(ackMany), path and body are unchanged; only generated clients that group operations by tag see it move.
2026-10-07 — examples and wording, no change to the API
Section titled “2026-10-07 — examples and wording, no change to the API”- The examples of an order ack now show
acked_versionequal to the order’s newversion: an order ack moves the order, and the ack is kept at the version it made. In thePOST /acksexample each payment’sacked_versionis its ownversion. - The token description says what the sandbox issues: ordinary
sfi_live_tokens. The test prefix comes only from a copy of SLFLO you run yourself.
2026-10-07 — v1
Section titled “2026-10-07 — v1”The first public version: orders, invoices, payments and returns to pull and ack; the seq
counter for invoices, receipts and credit notes; customers, branches, units, products, price
lists, prices and balances to push by your keys, alone or in batches; lookup and code lists;
the public OpenAPI description.

