Settings
Reading and changing settings
GET /settings/definitions lists every setting you can change, with its default value. A setting that you have never
changed has its default value.
PUT /settings/{key} with {"value": "true"} changes a setting, and returns 202 with an empty body. To make the change
take effect later, add "updated_at" with the time it should take effect. A request without a value is rejected with
400. A setting that does not exist, that Quantaprice manages, or that your plan does not include is rejected with 403.
You can also change settings under Settings → Configuration in the console.
GET /settings lists the settings you have changed, with their values and when each change took effect.
GET /settings/{key} returns one of them, and returns 404 for a setting you have never changed. Both accept asOf to
read the settings as they were, or will be, at another time; a value set to take effect later appears from that time.
Settings you can change
| Setting | Default | What it does |
|---|---|---|
default.tax.area | SE | Sets the tax area for prices with VAT when a request does not specify one |
strict.article.validation | false; on in a new tenant | Rejects a price for a SKU that has no article |
strict.pricelist.validation | false; on in a new tenant | Rejects a price for a pricelist that does not exist |
ingest.skip.dedup | false | Turns on bulk-load mode for very large loads |
require.homogeneous.currency | false | Rejects a price query across pricelists in different currencies |
require.homogeneous.vat_mode | false | Rejects a price query across NET and GROSS pricelists |
fx.rate.auto.update | true | Fetches the European Central Bank's rates every day |
fx.base.currency, fx.markup.percent, fx.threshold.weakening.percent, fx.threshold.strengthening.percent | EUR, 0, 2, 2 | Control how prices inherited from a pricelist in another currency are converted; see Exchange rates |
change.events.enabled | false | Delivers changes to your webhooks, if your plan includes webhooks |
retention.enabled, retention.max.versions, retention.history.ms, retention.keep.reference.prices | See below | Set how much price history is kept, if your plan includes history retention |
release.required | false | Price changes wait for approval in a price release, if your plan includes price approval |
admin.developer.mode | true | Shows the developer tools in the console; see The console |
require.homogeneous.currency
Description
When this setting is on, all pricelists in a price query must have the same currency. Use it when you want consistent prices without implicit currency conversion.
Default value: false
Behaviour
| Condition | Result |
|---|---|
| All pricelists have the same currency | The request is processed normally |
| The pricelists have different currencies | 400 with an error message |
currency_code is given and does not match the pricelists' currency | 400 with an error message |
Error responses
Different currencies:
{
"status": 400,
"error": "Bad Request",
"message": "Heterogeneous currencies found in pricelists: [EUR, SEK]. All pricelists must have the same currency when setting require.homogeneous.currency is enabled."
}
Currency mismatch:
{
"status": 400,
"error": "Bad Request",
"message": "Pricelist currency EUR does not match requested currency SEK"
}
Configuration
Turn it on with the settings API:
PUT /settings/require.homogeneous.currency
Content-Type: application/json
{ "value": "true" }
Use cases
- B2B pricing: customers always see prices in the currency of their contract.
- Regional stores: prices in different currencies are never compared by mistake.
- Compliance: invoices are always in a single currency.
require.homogeneous.vat_mode
Description
When this setting is on, all pricelists in a price query must have the same VAT mode: all NET or all GROSS. This
prevents prices with and without VAT from being mixed, which could lead to incorrect price comparisons.
Behaviour
| Condition | Result |
|---|---|
All pricelists are NET | The request is processed normally |
All pricelists are GROSS | The request is processed normally |
A mix of NET and GROSS pricelists | 400 with an error message |
Error response
{
"timestamp": "2026-01-13T06:45:00.000Z",
"status": 400,
"error": "Bad Request",
"message": "Heterogeneous VAT modes found in pricelists: [NET, GROSS]. All pricelists must have the same VAT mode when setting require.homogeneous.vat_mode is enabled."
}
Configuration
Turn it on with the settings API:
PUT /settings/require.homogeneous.vat_mode
Content-Type: application/json
{ "value": "true" }
Use cases
- Consistent display: all prices shown either include VAT or exclude it.
- Invoicing:
NETandGROSSprices are never mixed on the same document. - Accurate comparisons: prices with different VAT treatment are never compared.
Related settings
require.homogeneous.currency: requires the same currency across pricelists.
strict.article.validation
Description
When this setting is on, Quantaprice accepts a price only for a SKU whose article exists and is not deleted. This keeps prices for unknown or removed products out of your data.
Default value: false. A new tenant starts with it on.
Behaviour
| Condition | Result |
|---|---|
| The SKU's article exists and is in force at the price's start | The price is written |
| The SKU has no article, or its article is deleted or not yet in force at the price's start | The price is rejected, even if it is unchanged: 400 for a single price, or listed in failed in a batch |
Configuration
Turn it on with the settings API:
PUT /settings/strict.article.validation
Content-Type: application/json
{ "value": "true" }
Use cases
- Data integrity: prices are created only for known products.
- Safe migrations: typing errors and outdated SKUs in bulk imports are caught.
- Enforced workflow: an article must be created before it can be priced.
strict.pricelist.validation
Description
When this setting is on, Quantaprice accepts a price only for a pricelist that exists, and is not deleted, at the price's start. This keeps prices for mistyped or removed pricelists out of your data.
Default value: false. A new tenant starts with it on.
Behaviour
| Condition | Result |
|---|---|
| The pricelist exists at the price's start | The price is written |
| No pricelist has the code, or the pricelist is deleted or not yet created at the price's start | The price is rejected, even if it is unchanged: 400 for a single price, or listed in failed in a batch |
When the setting is off, a price for an unknown or deleted pricelist is stored, and appears once a pricelist with that code exists.
Configuration
Turn it on with the settings API:
PUT /settings/strict.pricelist.validation
Content-Type: application/json
{ "value": "true" }
Use cases
- Data integrity: prices are uploaded only to known pricelists.
- Safe migrations: incorrect pricelist codes in bulk imports are caught.
- Enforced workflow: a pricelist must be created before prices are uploaded to it.
ingest.skip.dedup
Description
Bulk-load mode. Normally, a price identical to the current one is accepted, but nothing is stored and no change is recorded. With this setting on, that check is skipped and every price is written, which makes very large loads faster.
Default value: false
Turn it on for a large first load, and off when the load is complete. While it is on, sending unchanged prices again stores redundant versions and records a change in the changelog for each one.
Configuration
PUT /settings/ingest.skip.dedup
Content-Type: application/json
{ "value": "true" }
See Loading data.
default.tax.area
Description
The tax area used for prices with VAT when a request can omit the tax area and does: the console's article pages, and API reads such as GET /price/pricelists-for-sku/{sku}. POST /price/query always requires a tax_area.
Default value: SE
fx.rate.auto.update
Description
When this setting is on, Quantaprice fetches exchange rates from the European Central Bank (ECB) every 24 hours, at no fixed time of day.
Default value: true
Behaviour
| Condition | Result |
|---|---|
| On, and no rate stored yet | The ECB's rates for the last 90 days are fetched, each in force from the day it was published |
| On, and the ECB publishes new rates | The rates are fetched and stored automatically every 24 hours |
| On, but the ECB has no new rates (weekends and holidays) | No update; the most recent rates stay in force |
| Off | No automatic fetching; upload rates with POST /fx/daily, or fetch them with POST /fx/fetch |
Configuration
PUT /settings/fx.rate.auto.update
Content-Type: application/json
{ "value": "true" }
Use cases
- No manual rate updates: rates stay current automatically for prices in several currencies.
- Current conversions: price queries always use the latest exchange rates.
Rates are stored against EUR, and a conversion between two other currencies goes through EUR. See Exchange rates.
change.events.enabled
Description
When this setting is on, Quantaprice delivers change events to your registered webhooks. The changelog records every change regardless of this setting, and you can always poll it.
Webhook deliveries must be included in your plan; this setting turns them on for your tenant.
Default value: false
Behaviour
| Condition | Result |
|---|---|
| On, and included in your plan | Changes are delivered to active webhooks |
| Off, or not included in your plan | Nothing is delivered to webhooks; the changelog is unaffected |
Configuration
PUT /settings/change.events.enabled
Content-Type: application/json
{ "value": "true" }
Use cases
- Data synchronisation: poll the changelog to keep external systems in step with Quantaprice.
- Downstream updates: use webhooks to be notified in near real time when prices change.
- Audit trail: see what changed, when and by whom.
- Event-driven workflows: start downstream processes when prices are updated.
See Change events for the full description of the changelog and webhooks.
retention.enabled, retention.max.versions, retention.history.ms, retention.keep.reference.prices
Description
These settings limit how much price history is kept for each SKU and pricelist. They are available when your plan includes history retention, and your plan also sets the highest values you can choose.
| Setting | Default | Effect |
|---|---|---|
retention.enabled | false | Turns retention on |
retention.max.versions | 0 | Keeps at most this many versions; 0 means no limit |
retention.history.ms | 2592000000 (30 days) | Keeps the versions from the last N milliseconds, and the version in force when that period begins |
retention.keep.reference.prices | false | Never removes a version that was in force during the 30 days before the start of a current or scheduled price, for each SKU across all pricelists; takes precedence over the two limits above |
The version in force, all versions scheduled after it, and the few most recent versions are always kept. See Historical pricing.
Configuration
PUT /settings/retention.enabled
Content-Type: application/json
{ "value": "true" }
release.required
Description
release.required (default false) makes every price change wait in a price release until someone who made none of its changes publishes it. It is available when your plan includes price approval; otherwise it reads as off and cannot be switched on. GET /release answers "required": true while it is on. See Price approval.
Configuration
PUT /settings/release.required
Content-Type: application/json
{ "value": "true" }
See also
- Querying prices: settings such as
require.homogeneous.currencyaffect how queries behave. - Change events:
change.events.enabledcontrols the webhook deliveries described there. - Exchange rates:
fx.rate.auto.updatecontrols whether rates are fetched from the ECB. - API reference: the full specification of
PUT /settings/{key}.