Skip to content

Changelog and versioning

  • 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.

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 as from: a journal from one van to another is a load of kind VAN_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 as from was 422 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 API on and off in the console (Orders wait for your ERP) instead of asking us. On needs an active client with orders:write; off is refused while any order is still ERP_PENDING, so ack every order you were sent before it is turned off. Read the mode from GET /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_limit left out of PUT /customers/{ref} now keeps the limit SLFLO holds — one your balance push set, say — instead of clearing it; credit_limit: null is no limit; a number (0 included) is that limit. The same on PUT /customers/{ref}/branches/{branch_ref}, where null means 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, send null. 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 message of a load or unload refused with BATCH_REQUIRED, NOT_TRACKED, SERIAL_TRACKED or UNIT_NOT_OF_PRODUCT now 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 on code, never on message.
  • 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): true when 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’s reason. See Returns.
  • Added field MeCompanyDto.currency (string) on GET /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 still 409 ALREADY_ACKNOWLEDGED. See Acks.
  • The console and the phone now show the office plain words for the reason_codes listed under reason codes, with your message as 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 of InvoiceLotDto): the lots the line’s goods came from, earliest expiry first — lot (the code), expires_on, quantity (in the line’s unit) and base_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, beside batch_id.
  • Added field LookupDto.product (LookupProductDto) on GET /lookup?entity=product: tracking is NONE, BATCH or SERIAL — send a lot on load and unload lines exactly for BATCH products.

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 with held_back: true the van’s held-back place — into to: van, to (SLFLO location codes), counted_at, lines[{product, unit, quantity, lot}] as counted (0 to 500 lines, quantities 0 or more), optional held_back, number, source_version. Answers UnloadDto {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}; result is created, unchanged or stale. Needs stock:write and Stock is managed in your ERP.
  • Added GET /api/integration/v1/stock/unloads/{ref}: the recorded unload, result null; 404 NOT_FOUND for a ref that never reached SLFLO. Needs stock:read.
  • Added the schemas UnloadPushDto, UnloadLinePushDto, UnloadDto, UnloadLineDto and ShortageDto.
  • New error codes LOAD_STILL_WAITING and VAN_DAY_NOT_ENDED (409, retryable: true — wait and send the same journal again) and UNLOAD_ALREADY_RECORDED (409); on this API for the first time NOT_QUARANTINE and NO_QUARANTINE (422). A 409 can now be retryable: read retryable, 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}], optional number, note, source_version. Answers LoadResultDto {entity, id, number, external_ref, kind, state, result, replaced_id}; result is created, replaced, updated, unchanged or stale. A send after the rep refused is a re-send (a new LD- number). Needs stock:write and Stock is managed in your ERP.
  • Added DELETE /api/integration/v1/stock/loads/{ref}: cancel; result cancelled or unchanged.
  • Added GET /api/integration/v1/stock/loads: the reps’ answers by version (LoadPage of LoadDto), with filter[state], filter[kind], filter[external_ref], filter[id]. Needs stock:read.
  • Added GET /api/integration/v1/stock/loads/{ref}: the ref’s latest load, a cancelled one included; 404 NOT_FOUND only for a ref that never reached SLFLO.
  • Added the schemas LoadPushDto, LoadLinePushDto, LoadResultDto, LoadDto, LoadLineDto, LoadRefusalDto, PlaceDto, PersonDto and LoadPage.
  • GET /lookup takes entity=van with external_ref = the van’s SLFLO location code. Added field LookupDto.van (LookupVanDto) — {rep: {id, code, name}, held_back_code}, null for every other entity.
  • New error codes ERP_STOCK_NOT_ENABLED (409), NOT_A_VAN (422), and on this API for the first time NOT_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): true once 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 in code. null when 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; null until goods leave, so always null on 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 /me answers the company’s ERP mode as data.company.erp_mode — DISABLED, API, DYNAMICS365 or FAKE — so you no longer learn it from a 409 ERP_MODE_NOT_API.
  • A pushed balance (PUT /customers/{ref}/balance, POST /batch/balances) now also takes off the credit notes SLFLO issued after as_of that you haven’t acked as accepted, as it already did for payments. A shop with a return since your as_of reads lower than before. See Balances.
  • GET /lookup by external_ref for a unit, product or price_list also 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 /acks moved from the Orders tag to a new Acks tag, since it answers invoices, payments and returns too. Its operationId (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_version equal to the order’s new version: an order ack moves the order, and the ack is kept at the version it made. In the POST /acks example each payment’s acked_version is its own version.
  • 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.

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.