ABRA Flexi has a web interface (REST API), so you don't need to run an export or save it anywhere. Sortyra downloads the price list with stock levels straight from your Flexi URL on schedule, calculates the available quantity and sends prices to your shop, comparison sites and Google.
How it works
ABRA Flexi makes its records available through REST API URLs. The cenník (price list) record contains the code, EAN, name, unit, prices excl. and incl. VAT, VAT rate, product group, manufacturer, and the totals of stock and reservations across all warehouses. Sortyra downloads this URL like an ordinary XML feed – there is no need to schedule an export in the program.
Step by step
- In Flexi, prepare a user who is allowed to read the price list (we recommend a separate read-only user).
- In Sortyra, in Sources, click Add source in the top bar. Under Where the feed comes from choose URL and as the source role choose My warehouse.
- Expand More options and in the Warehouse or accounting software (template) field choose ABRA Flexi. A sample URL is shown, for example:
https://server/c/firma/cenik.xml?detail=custom:kod,eanKod,nazev,mj1,cenaZaklBezDph,cenaZaklVcDph,szbDph,skupZboz,vyrobce,sumStavMj,sumRezerMj,sumDostupMj&limit=0
- Replace
serverandfirmawith your Flexi address and company identifier, and paste the URL into the Feed URL field. Enter the username and password in the source detail under Feed authentication (method Username and password (HTTP Basic)) or directly in the URL. - Click Load and detect. We recognise XML from Flexi even without choosing a template.
- Check the Recognition result, set Updates per day and click Save and download.
The limit=0 parameter makes sure Flexi returns the whole price list at once, not just the first page.
What is read from Flexi
| In Sortyra | ABRA Flexi price list field |
|---|---|
| Code, EAN, name | kod, eanKod, nazev |
| Unit | mj1 (for example "KS") |
| Price excl. VAT and incl. VAT | cenaZaklBezDph, cenaZaklVcDph |
| VAT rate | szbDph |
| Category and manufacturer | skupZboz, vyrobce – the readable name is used |
| Stock | sumStavMj minus sumRezerMj |
We calculate the available quantity as the stock in all warehouses minus the reserved quantity – so you only offer items that are not set aside for other orders.
How often to download
Because Flexi answers directly from live data, the frequency depends only on the source's schedule in Sortyra. For stock, we recommend at least every hour, and every 30 or 15 minutes for fast-moving goods (higher plans). With a large price list, keep the load on the Flexi server in mind – you don't need to download more often than your stock actually changes.
If Flexi stops responding or the data doesn't change for a long time, the freshness guard alerts you.
Access security
- A user with permission to read the price list is enough for Sortyra.
- The username and password entered under Feed authentication are stored encrypted and are sent only to your Flexi domain.
- Sortyra doesn't change anything in Flexi – it only reads.
Frequently asked questions
Do I have to set up a scheduled export in Flexi?
No. Sortyra downloads the data from the REST API URL by itself, according to the source's schedule.
Why does the feed show a different quantity from what Flexi shows as available?
Sortyra calculates the available quantity as the stock level minus reservations. Flexi's own calculation of the "available" quantity may include other items too, so we don't use it.
Can I take images and descriptions from Flexi as well?
The template also reads the description (popis) if you add it to the list of fields in the URL after detail=custom:. Images and long texts usually come from your shop feed or from the supplier, and Flexi supplies stock and prices – see Own warehouse.