Skip to main content

API & Integration

Quantaprice slots into an existing architecture as a dedicated pricing service. Your commerce platform, ERP, or storefront calls the REST API to resolve prices; webhooks push change events downstream so dependent systems stay current without polling. The API is consistent across all entity types — the same patterns for authentication, filtering, pagination, and error handling apply throughout.

Authentication

All API requests authenticate with a short-lived access token obtained by exchanging an API key. Keys are scoped to a workspace and can be restricted by role. Token exchange follows a standard OAuth 2.0 client credentials flow, making integration straightforward with any HTTP client or SDK.

Querying prices

The price query endpoint accepts a pricelist, a list of SKUs, and optional parameters for currency, tax area, quantity, and as_of timestamp. It returns fully resolved prices — inheritance evaluated, rules applied, VAT calculated, currency converted, rounding applied — in a single call. Bulk queries support up to thousands of SKUs per request, and response times are in the low-millisecond range for cached pricelists.

Change events & webhooks

Quantaprice maintains a changelog for every entity — prices, articles, pricelists, rules, and bundles. You can poll the changelog with a cursor for reliable at-least-once delivery, or register a webhook endpoint to receive push notifications as changes occur. Both mechanisms cover the same event types and carry enough detail to update a downstream cache or trigger a re-index without a follow-up API call.

Shopify B2B

Quantaprice includes a purpose-built Shopify B2B connector that maps customer account pricelists to Shopify company catalogs. Price changes in Quantaprice propagate to Shopify automatically via the connector — no custom sync job required. The connector handles currency alignment, Shopify's catalog structure, and partial updates so only changed prices are pushed.

Commerce platform patterns

This section covers recommended integration patterns for common platform types: headless storefronts, ERP-driven catalog flows, PIM integrations, and order management systems. Each pattern describes where Quantaprice sits in the data flow, which API calls are on the hot path, and how to structure caching so the pricing service is never a latency bottleneck.