Skip to main content

API and integration

Quantaprice runs as a dedicated pricing service in your existing architecture. Your commerce platform, ERP or storefront calls the REST API to get prices, and webhooks send change events to the systems that depend on them, so they stay up to date without polling. Every endpoint follows the same conventions for authentication, paging and errors; see API conventions and errors.

Authentication​

Every API request is authenticated with a short-lived access token, which you obtain in exchange for an API key. Each key belongs to one tenant. The exchange follows the standard OAuth 2.0 client credentials flow, so any HTTP client or OAuth library works. See Authentication.

Loading data​

You load articles, pricelists and prices with batch endpoints that validate each item separately, and then keep them in sync as your source systems change. See Loading data.

Querying prices​

The price query endpoint takes a list of SKUs, a pricelist filter, a currency, a tax area and an optional as_of timestamp. It returns final prices, with inheritance, price rules, currency conversion, VAT and rounding applied, in a single call that takes a few milliseconds. One query can contain as many SKUs as your plan's maximum items per request. See Querying prices.

For the lowest price of a SKU over a period, which is the reference price for an advertised discount under the EU price-reduction rule, see The lowest price over a period.

Finding articles and pricelists​

You can search articles and pricelists by text or metadata, list the pricelists that have a price for a SKU or the SKUs on a pricelist, and check which pricelists a filter selects. See Finding articles and pricelists.

Storefront prices​

A shop page can fetch prices directly from the shopper's browser with a short-lived storefront token that your server issues, so no API key is exposed. See Storefront prices.

Rate limits​

Each tenant has a read limit and a write limit, each with a sustained rate (items per second) and a burst. A request costs the number of items it contains, such as the SKUs in a query or the prices in a batch. A 429 response includes a Retry-After header. A 413 response means the request is larger than your plan allows in a single request, and you need to split it. See Rate limits.

Change events and webhooks​

Quantaprice keeps a changelog of changes to prices, articles, pricelists, currencies, VAT, rounding profiles and settings. You can poll it with a cursor, or register a webhook to be notified as changes happen. Both cover the same events. An event states what changed; fetch the entity to get its new state. Webhook deliveries depend on your plan. See Change events.

AI assistants​

You can connect an AI assistant such as Claude to your tenant over MCP. The assistant can then read the documentation, look up prices and make changes with your access. See AI assistants (MCP).

Shopify B2B​

A Shopify app that prices Shopify Plus B2B stores from Quantaprice, on the storefront and at checkout, is in preparation. It is not yet available in the Shopify App Store. See Shopify B2B for how it works, and contact us if you are interested.

Commerce platform patterns​

Recommended patterns for storefronts, ERP, CPQ, order management and analytics: where Quantaprice fits in the data flow, and which API calls each system makes. See Commerce platform patterns.