Example data
A new tenant has currencies and VAT rates, but no articles, pricelists or prices. Instead of building a catalogue first, you can load an example with one click in the console and look at real price answers straight away. No API key and no curl are needed.
The example is a made-up office furniture and supplies wholesaler: 84 articles, 4 of them bundles, in six categories, and five pricelists that show how a price is made.
Load the example
- Sign in to the console of your tenant. While the engine has no articles or pricelists of its own, the Articles page shows a Get started card.
- Select Load example data and confirm. Loading takes a few seconds.
- Select Run example queries. Each button runs one or more price queries and shows the answer.
The example is written with the engine's ordinary API and your own access, in the same way as an Excel import. It counts against your plan's limits like your own data. To load it, you need write access to articles, pricelists, prices and settings.
What the example contains
Every code in the example starts with demo-, and its articles and pricelists also have the metadata demo=true.
Articles. 80 articles in six categories (chairs, desks, lighting, storage, supplies, books), each with the metadata category and brand, and 4 bundles in the category bundles.
Pricelists. All prices exclude VAT (NET).
| Pricelist | Currency | Parent | What it shows |
|---|---|---|---|
demo-standard-eur | EUR | None | Base prices and cost prices (fixed, cost) for every article; quantity breaks on supplies; a price increase on three chairs in 30 days. |
demo-standard-sek | SEK | demo-standard-eur | Every price inherited and converted from EUR at SEK's rate, with a 3 % markup, and rounded to whole kronor. |
demo-customer-a | SEK | demo-standard-sek | A rule with 10 % off chairs, and two negotiated desk prices of its own. |
demo-customer-b | EUR | demo-standard-eur | A rule that prices storage at cost + 25 %. |
demo-campaign-sek | SEK | demo-standard-sek | 20 % off lighting, from the day you load the example and for 30 days. |
Inheritance goes two levels deep: a change to a base price on demo-standard-eur reaches demo-standard-sek, and from there demo-customer-a and demo-campaign-sek.
The customer pricelists end with a rule with a blank filter and the expression sales. A pricelist with price rules inherits only the SKUs that one of its rules matches, so this last rule lets them inherit everything else unchanged; see Inheritance. The campaign has no such rule, so it holds only lighting.
Bundles. The bundle rules are set on demo-standard-eur and inherited by the pricelists below it; see Bundles.
| Bundle | Contents | Rule |
|---|---|---|
demo-bundle-workstation | Task chair Pro, Sit-stand desk 140, Desk lamp Arm | Sum of the parts, 10 % off |
demo-bundle-meeting-room | Meeting table 4p and 4 Conference chairs | Fixed price, 899 EUR |
demo-bundle-home-office | Desk, chair, lamp and drawer unit | Sum of the parts, 50 EUR off |
demo-bundle-starter-kit | Paper, pens, notebooks and a book | Sum of the parts, 15 % off |
Quantity breaks. Every article in supplies costs 95 % of its price from 10 and 90 % from 50.
VAT. Books have the VAT class REDUCED_2 in Sweden (6 %), set as a VAT class override for each book. Everything else has the standard rate, 25 %.
Two settings for the whole tenant. SEK gets its own conversion markup of 3 % (PUT /fx/conversion/SEK, see Exchange rates), and the rounding profile demo-sek-whole is SEK's default and rounds prices including VAT to whole kronor (see Rounding). If your tenant already has another default rounding profile for SEK, the example leaves it, and SEK prices are rounded by your profile instead.
Why each price is what it is
The SEK prices depend on the ECB rate on the day you load the example. The examples below use 11.2125 SEK per EUR; your answers differ by the rate. All queries use the tax area SE.
demo-standard-eur: a base price. demo-chair-02 (Task chair Pro) is written with fixed: 249. The query in EUR answers 249.00 excluding VAT and 311.25 including 25 % VAT.
demo-standard-sek: converted, with markup, rounded. The same chair is inherited from EUR: 249 × 11.2125 × 1.03 = 2875.6 SEK. The profile demo-sek-whole rounds the price including VAT to whole kronor: 2875.6 × 1.25 = 3594.5 → 3595 SEK including VAT, 2876 excluding VAT. GET /fx/conversion and the console's FX rates page show SEK's rate with the markup.
demo-customer-a: a rule and negotiated prices. The chair falls under the rule category = 'chairs' → sales * 0.9: 2875.6 × 0.9 = 2588.04 SEK, 3235 SEK including VAT. demo-desk-04 (Sit-stand desk 140) and demo-desk-07 (Meeting table 4p) have Customer A's own prices, 5200 and 3900 SEK, which take precedence over the inherited prices; meta.inherited is false for them. demo-lamp-02 (Desk lamp Arm) is inherited unchanged: 89 × 11.2125 × 1.03 = 1027.86 SEK, 1285 SEK including VAT and 1028.00 excluding VAT.
demo-customer-b: cost + 25 %. demo-store-01 (Drawer unit 3) costs 179 EUR on the standard pricelist. Its cost price is 93 EUR, so Customer B pays 93 × 1.25 = 116.25 EUR. Desks are not storage and keep the standard price.
demo-campaign-sek: lowest price wins. Query demo-customer-a and demo-campaign-sek together. For demo-lamp-02, Customer A has 1028.00 SEK and the campaign 1027.86 × 0.8 = 822.29 SEK, which is 1028 SEK including VAT and 822.40 excluding VAT, so the campaign's price is returned. The rule takes 20 % off the converted price before it is rounded. For chairs and desks, the campaign has no price, so Customer A's price is returned. After the campaign's end date, the campaign pricelist is no longer selected.
Bundles. On demo-standard-eur, the workstation is (249 + 549 + 89) × 0.9 = 798.30 EUR. On demo-customer-a, it is calculated from Customer A's own component prices, including the negotiated desk, and is lower than the converted standard price. The meeting room costs 899 EUR on every EUR pricelist, and its fixed price is converted for the SEK pricelists. VAT on a bundle is calculated per component, so the starter kit, which contains a book, has both 25 % and 6 %.
Quantity breaks and VAT. demo-supply-01 (Copy paper A4 500) is 5.90 EUR, 66.40 SEK on demo-standard-sek, with quantity breaks at 63.20 SEK from 10 and 59.20 SEK from 50. demo-book-02 (Pricing for Wholesalers) has 6 % VAT in the same answer.
A scheduled price change. demo-chair-01, demo-chair-02 and demo-chair-03 are 8 % more expensive from 30 days after loading: demo-chair-02 becomes 268.92 EUR. The change reaches every pricelist below demo-standard-eur at the same moment. Query with an as_of after that date to see it, or open the chair's price history in the console.
Not in the example
- Price releases: turning on approval would change how all of your own writes work. See Price approval.
- Webhooks: they need a receiver. See Change events.
- The lowest price in the last 30 days: it means something only once prices have a history. See Historical pricing.
Remove the example
While the example is loaded, the Articles page shows an Example data card. Select Remove example data and confirm. This removes exactly what the example created:
- its bundle rules, prices and pricelists;
- its VAT class overrides and its articles;
- the rounding profile
demo-sek-whole; - SEK's markup, which goes back to what it was before the example. If you changed SEK's markup yourself after loading the example, your value stays.
Your own articles, pricelists and prices stay, including those you added while the example was loaded. The example's prices remain in the price history, like every deleted price, so the roughly 400 price versions it stored, including the inherited ones, still count towards your plan's price limit until history retention removes them; see Plan and limits. Three things stop the removal until you change them, so that removing the example never takes your data with it:
- a pricelist of yours whose parent is one of the example's pricelists;
- a bundle of yours with one of the example's articles as a component;
- a price for one of your own articles on one of the example's pricelists, now or scheduled within a year. The message names the pricelist and the articles; move or delete those prices first.
If loading stops half-way, for example because of a network error, what was written stays. Load the example again to finish it, or remove it.
Next steps
- Your first prices: the same ideas through the API, with
curl. - Inheritance, Price rules and Bundles: how each part works.
- Exchange rates and Rounding: currency conversion with markup, and rounding profiles.