REST APIs for product configuration connect a manufacturing CPQ system with the applications that manage product data, customers, engineering, production and commercial transactions. A configurator can receive product options from a web application or CRM, validate the selections against engineering rules, calculate price and cost, and return a configured product, bill of materials (BOM), quote or engineering request through an API.
In manufacturing, a REST API is not simply a way to submit a list of sales options. The API may need to represent dimensions, materials, motors, electrical ratings, performance calculations, revision-controlled components, manufacturing structures and the distinction between a standard configured product and an engineer-to-order design. The quality of the product model and ownership of data are therefore as important as the API technology itself.
This article explains where REST APIs fit in a manufacturing CPQ architecture, which resources and operations are commonly required, how CPQ exchanges data with enterprise systems, and what implementation risks buyers and project teams should evaluate. For a broader introduction, see the guide to CPQ integrations and the manufacturing CPQ guide.
What is a REST API for product configuration?
A REST API for product configuration is a web-based application programming interface that lets software systems create, read, validate, update and complete configurations of configurable products using standard HTTP requests and structured data, commonly JSON.
REST, or Representational State Transfer, is an architectural style in which clients interact with resources through operations such as GET, POST, PUT, PATCH and DELETE. In a manufacturing CPQ environment, resources may include product models, options, rules, configuration sessions, configured products, prices, quotes, BOMs, documents and engineering requests.
The API separates the user interface from the configuration engine. A dealer portal, CRM screen, ecommerce application, mobile application or custom engineering tool can call the same configuration services instead of reproducing product rules in each application. The CPQ system remains responsible for the rules and calculations that it owns, while ERP, PLM, CAD and other systems remain authoritative for the data they own.
How REST APIs fit into a manufacturing CPQ architecture
A manufacturing CPQ architecture commonly contains several distinct layers:
- Experience layer: sales portals, dealer applications, ecommerce, CRM screens and internal engineering tools.
- Configuration layer: the product model, options, constraints, dependencies, calculations and validation logic.
- Commercial layer: pricing, discounting, costing, currencies, approvals, taxes and quote generation.
- Engineering layer: CAD automation, drawings, technical calculations, engineering review and design outputs where supported.
- Manufacturing data layer: configurable BOMs, engineering BOMs (EBOMs), manufacturing BOMs (MBOMs), routings and production attributes.
- Enterprise systems: customer relationship management (CRM), enterprise resource planning (ERP), product lifecycle management (PLM), product data management (PDM), manufacturing execution systems (MES) and product information management (PIM).
A REST API can operate between any of these layers, but the integration should have a defined purpose. For example, a CRM may create a configuration session and receive a price, while an ERP may receive an order-ready configuration and manufacturing BOM. A PLM system may provide approved component revisions, while a CAD service may generate a product-specific drawing.
These systems are not interchangeable. CRM generally manages accounts, opportunities and customer interactions. ERP manages orders, inventory, purchasing, production and financial transactions. PLM manages product structures, revisions and lifecycle processes. PDM focuses primarily on engineering files and product data. CAD creates geometry and drawings. MES controls or records shop-floor execution. A CPQ API integration must identify which system is authoritative for each data element.
Typical REST API product configuration workflow
A configuration transaction usually follows a sequence rather than a single request.
- Identify the product model: the client requests an available model, market version or product family and specifies a model revision or effective date.
- Create a configuration session: the CPQ system returns a session identifier and an initial state containing required choices, defaults and selectable options.
- Submit choices incrementally: the client sends values such as pump flow, pressure, material, motor voltage, enclosure rating or mounting arrangement.
- Validate the state: the rules engine identifies valid, invalid, required and conditionally available selections.
- Run engineering calculations: the system may calculate performance, capacity, dimensions, power, heat load or other values. Some implementations call an external calculation service.
- Calculate price and cost: the CPQ system applies price lists, regional adjustments, labor, material cost, freight assumptions, discounts and approval rules as appropriate.
- Generate outputs: the result may include a configured product identifier, configurable BOM, EBOM, MBOM, technical summary, CAD request, quote or order payload.
- Persist and transfer the result: the configuration is saved with a revision or status and transferred to CRM, ERP, PLM, MES or another downstream process.
Not every CPQ platform performs every step. A product configuration API may only validate options and return a product code. BOM generation, CAD automation, engineering calculations and production integration must be verified as separate capabilities.
Core API resources for a configurator
Resource names differ between products, but a manufacturing-oriented API commonly needs concepts similar to the following.
| Resource | Purpose | Manufacturing example |
|---|---|---|
| Product model | Defines a configurable product family and its revision | Horizontal centrifugal pump, model revision 2025.1 |
| Option or feature | Represents a selectable characteristic | 316 stainless steel wetted parts |
| Configuration session | Stores choices, state, validation messages and calculated values | A pump selection for a specific customer duty point |
| Rule | Controls compatibility, dependency, exclusion or requirement | High-temperature seal required above a defined fluid temperature |
| Configured product | Represents a completed or partially completed result | Pump with motor, seal, baseplate and controls |
| Price or cost result | Returns commercial calculations and assumptions | Material cost, list price, discount and margin |
| BOM | Returns selected components and quantities | Impeller, casing, motor, coupling and fasteners |
| Document or output | Provides generated files or references | Datasheet, quotation PDF, drawing or CAD file |
Versioning is particularly important. A request that identifies only a product family may produce different results after rules, prices or component revisions change. APIs should support explicit model versions, effective dates or configuration snapshots where repeatability matters.
Configuration data and rules exchanged through REST
Configuration data should distinguish between the customer’s selections, values derived by the system and messages generated by validation. For example, a customer may select a flow rate and liquid temperature. The system may derive impeller diameter and motor size, then return a warning that the selected motor requires a different electrical enclosure.
Common rule categories include:
- Compatibility rules: prevent combinations that cannot be assembled, such as a motor frame incompatible with a selected pump adapter.
- Dependency rules: make one option required when another is selected, such as requiring a temperature sensor when a monitoring package is chosen.
- Exclusion rules: remove incompatible options, such as excluding a material that is unsuitable for a specified chemical.
- Calculation rules: derive dimensions, capacity, power, weight or component quantities from inputs.
- Manufacturing rules: enforce minimum dimensions, available processes, standard stock sizes or plant-specific constraints.
- Commercial rules: apply price lists, customer agreements, regional currencies or approval thresholds.
These rules should be executed by the configuration authority rather than duplicated in a CRM, website and dealer portal. Duplicated logic creates divergent results and makes product changes difficult to govern. A client may use API responses to improve the user experience, but it should not assume that client-side filtering is sufficient validation.
It is also useful to distinguish rules-based configuration, which evaluates explicit product logic, from constraint-based configuration, which resolves a network of allowable relationships and constraints. Guided selling is a user experience that asks business-oriented questions and recommends suitable products. Guided selling may call a rules or constraint engine, but it is not a substitute for the underlying product model.
Example API interaction
The following simplified sequence illustrates the separation between a configuration session and a final result. The endpoint names are illustrative; actual paths and payloads depend on the CPQ platform.
POST /api/configuration-sessions
{
"productModel": "industrial-pump",
"modelRevision": "2025.1",
"context": {
"currency": "EUR",
"customerId": "CUST-1042"
}
}
PATCH /api/configuration-sessions/SESSION-782/options
{
"flowRate": 120,
"flowUnit": "m3/h",
"pressure": 8,
"wettedMaterial": "316L",
"motorVoltage": "400V"
}
POST /api/configuration-sessions/SESSION-782/validate
GET /api/configuration-sessions/SESSION-782/outputs
A useful validation response should identify the state, not merely return a generic error. It may include valid selections, blocking errors, warnings, derived values, rule identifiers and the affected fields. This allows a client to explain why a 400 millimetre impeller is unavailable or why a particular motor must be upgraded.
REST APIs and BOM, CAD and engineering outputs
Product configuration and BOM generation are related but distinct functions. A configuration may be valid without producing a complete manufacturing BOM. Some systems return a sales BOM or configurable BOM, while others create an EBOM or MBOM.
- Configurable BOM: a structure containing alternatives, conditions or placeholders that are resolved by configuration.
- EBOM: an engineering bill of materials representing the product from a design perspective.
- MBOM: a manufacturing bill of materials organized for production, assembly and process execution.
A REST API may return BOM lines directly, return an asynchronous job identifier, or return a reference to an ERP or PLM object. The response should make clear whether quantities are final, whether phantom items are included, which revisions apply and whether the structure is intended for sales, engineering or production.
CAD integration is similarly variable. A CPQ system may pass parameters to a CAD automation service, request a drawing, retrieve a 3D model or simply store a reference to a pre-existing file. CAD automation can generate product-specific geometry and drawings, but it normally requires controlled templates, parameter mappings, naming conventions, revision handling and engineering validation. More information is available in the CAD and engineering automation guide.
For products that require engineering review, the API should support an explicit ETO, or engineer-to-order, state. A completed configuration may create an engineering request rather than an immediately orderable product. This is different from CTO, or configure-to-order, where approved modules and rules are intended to produce a repeatable product without new design work.
Integration patterns with ERP, PLM, CRM and other systems
| System | Common API interaction | Important ownership question |
|---|---|---|
| CRM | Starts configuration from an opportunity and receives price, summary and quote status | Does CRM own the configuration or only the customer and opportunity? |
| ERP | Receives order-ready product data, item numbers, prices, BOMs or manufacturing attributes | Which system creates the material, sales order and production structure? |
| PLM | Provides approved product structures, revisions and lifecycle status | Which revision is valid for a quote or order date? |
| PDM | Provides engineering files and document metadata | How are file versions linked to a configured product? |
| CAD | Receives parameters and returns geometry, drawings or technical documents | Who validates generated design output? |
| PIM | Provides descriptions, images and channel-oriented product information | Are marketing attributes confused with engineering attributes? |
| MES | Receives production-relevant configuration, instructions or identifiers | Is the API sending a released manufacturing structure or only a sales result? |
Some integrations use synchronous REST calls for short operations such as retrieving options or validating a field. Long-running activities such as CAD generation, complex pricing, BOM release or ERP order creation are better handled asynchronously. The API can return a job identifier and provide a status endpoint or callback mechanism. This prevents a browser or CRM transaction from waiting indefinitely for an engineering process.
API design considerations for manufacturing
Use stable identifiers and external references
Option labels can change, and translations may differ by market. Integrations should use stable identifiers for product models, options, values, revisions, units and business objects. External references can map a CPQ configuration to a CRM opportunity, ERP order, PLM change or CAD document.
Handle units, precision and validation
Industrial products use dimensions, pressures, temperatures, flow rates, weights and electrical values. Every numeric value should have a defined unit, precision and rounding policy. Converting 120 litres per minute to another unit is not equivalent to interpreting the number without its unit. API contracts should define accepted ranges and whether rounding occurs before or after engineering calculations.
Make operations idempotent where appropriate
An idempotent operation can be safely retried without creating duplicate business objects. This is important when a network failure occurs after an ERP order or quote request was submitted. Idempotency keys, correlation identifiers and clear transaction states help prevent duplicate orders, duplicate configurations and inconsistent handoffs.
Return meaningful errors
HTTP status codes are useful, but manufacturing users need business-level detail. A response should distinguish authentication failure, malformed data, unavailable product revision, invalid combination, missing approval and downstream ERP failure. Error messages should identify the affected field or rule without exposing sensitive implementation details.
Separate configuration state from quote state
A configuration can be edited many times before a quote is issued. A quote may then become versioned, approved or expired. APIs should avoid treating every configuration update as a new commercial quote and should provide clear transitions between draft, validated, priced, submitted, approved and ordered states.
Security and governance
REST APIs expose valuable product, customer and commercial data. Security design should include authenticated clients, authorization by role and business context, encrypted transport, rate limits, audit logs and monitoring. A dealer may be permitted to configure only products for a specific market, while an internal engineer may access more technical options.
API governance should define who can publish product model revisions, change rules, approve price logic and retire endpoints. Product configuration changes should be tested against representative configurations, boundary values and known invalid combinations. Where rules affect safety, compliance or manufacturing feasibility, the organization should retain an audit trail showing which model revision and rule set produced a result.
API versioning is necessary when payloads, identifiers or business behavior change. Backward compatibility is especially important for dealer portals, ecommerce applications and plant integrations that may not be upgraded at the same time as the CPQ system.
Benefits and limitations
| Potential benefit | What it requires |
|---|---|
| One configuration service for multiple channels | A maintained product model and consistent authorization |
| Faster transfer from sales to engineering | Structured configuration data and clear handoff states |
| Fewer manual entry errors | Stable identifiers, validation and controlled mappings |
| More accurate pricing and costing | Reliable price, cost, currency and approval data |
| Automation of BOM and CAD outputs | Supported downstream capabilities, templates and revision control |
| Channel flexibility | Well-designed APIs and clients that do not duplicate core rules |
REST APIs do not repair poor product data. If options are inconsistently named, rules are undocumented, revisions are missing or BOM ownership is unclear, an API will transfer the inconsistency faster. APIs also introduce operational dependencies: a product configuration may be blocked by an unavailable pricing service, ERP outage, expired token or incompatible model revision.
Implementation approach
- Map the configuration journey: document where product selection starts, which decisions are made, and when price, engineering and production data are required.
- Assign data ownership: identify the authoritative source for product options, revisions, prices, customers, materials, BOMs, drawings and orders.
- Define the canonical configuration model: agree on identifiers, units, statuses, option values, derived values and validation messages.
- Design the API contract: document resources, operations, payloads, authentication, errors, versioning and synchronous versus asynchronous behavior.
- Build representative product slices: begin with a product family that includes real dependencies, dimensions, materials and downstream requirements.
- Test across systems: verify valid and invalid configurations, revision changes, prices, BOM structures, CAD outputs and ERP handoffs.
- Monitor and maintain: measure failures, response times, abandoned sessions, rule errors and downstream reconciliation issues.
Implementation planning should include product data migration, governance, testing and adoption, not only endpoint development. The CPQ implementation guide covers these broader project concerns.
REST APIs compared with other integration approaches
REST is common because it works well with web applications and distributed systems, but it is not the only option. SOAP services may still exist in enterprise applications. GraphQL can allow clients to request specific data shapes. Messaging and event-driven integration can notify systems that a configuration was completed or an engineering job finished. Batch file exchange may remain practical for controlled ERP or manufacturing transfers.
The correct approach depends on transaction volume, latency, reliability, existing systems and the need for immediate validation. A hybrid architecture is common: REST for interactive configuration, asynchronous messaging for long-running outputs, and scheduled reconciliation for master data.
Semantic map
The relationships below show how REST APIs connect product configuration with the wider manufacturing technology stack.
- CPQ connects sales channels with product configuration and manufacturing data.
- Product models define options, attributes, dependencies and configuration states.
- Configuration rules prevent invalid combinations and enforce engineering constraints.
- Configuration sessions store selections, derived values, validation messages and context.
- Engineering calculations transform customer requirements into technical selections.
- Configured products can generate prices, quotes, BOMs and engineering requests.
- CAD automation can generate product-specific drawings and models when supported.
- PLM provides approved product structures and revision-controlled engineering data.
- ERP receives order, item, price, BOM and production-relevant information.
- CRM provides customer, opportunity and commercial context for configuration.
- MES consumes released manufacturing information for production execution.
- API governance controls security, versioning, ownership, testing and auditability.
Frequently asked questions
1. What does a REST API do in a CPQ configurator?
A REST API lets another application create configuration sessions, submit product choices, validate combinations, retrieve prices and request outputs such as quotes, BOMs or engineering documents.
2. Is a REST API the same as a CPQ configurator?
No. The configurator contains the product model, rules and calculations. The REST API is an interface that allows other applications to use those capabilities.
3. Can a REST API generate a manufacturing BOM?
It can if the CPQ platform supports BOM generation and exposes that function. The response should identify whether the result is a sales BOM, configurable BOM, EBOM or MBOM.
4. Can REST APIs automate CAD drawings?
Yes, where the CPQ and CAD architecture supports automation. The API may submit parameters, start a generation job and return a drawing or CAD-file reference, but templates and engineering validation are still required.
5. Should product rules be stored in the CRM?
Usually not. Core configuration rules should generally be maintained in the configuration authority so CRM, dealer and ecommerce clients receive consistent validation.
6. How does a CPQ API connect with ERP?
It can exchange product identifiers, customer data, prices, order lines, BOMs, configuration attributes and status information. The integration must define which system creates and owns each business object.
7. What is the difference between a configuration session and a quote?
A configuration session records product choices and validation state. A quote is a commercial document or transaction that may contain approved prices, terms, validity dates and customer information.
8. Are REST APIs suitable for engineer-to-order products?
Yes, but the API may need to create an engineering request rather than an immediately orderable product. ETO workflows require engineering status, document references, approvals and revision control.
9. What is the difference between CTO and ETO in an API workflow?
Configure-to-order uses approved modules and rules to produce a repeatable product. Engineer-to-order creates or modifies engineering content for a specific requirement, often through an additional review process.
10. Should validation happen in the browser or on the server?
Basic browser validation can improve usability, but authoritative validation should occur in the server-side configuration engine because clients can be outdated or bypassed.
11. How should an API represent invalid product combinations?
It should return a structured response identifying the affected fields, blocking rules, explanatory messages and any suggested valid alternatives where the platform supports them.
12. Why are units important in product configuration APIs?
Industrial configurations use dimensions, pressure, flow, temperature, power and weight. The API must define units and conversion rules so that identical numbers do not produce different engineering results.
13. Should a product configuration API be synchronous?
Short operations such as retrieving options and validating choices can be synchronous. CAD generation, complex pricing, BOM release and ERP order creation are often better handled as asynchronous jobs.
14. How do APIs handle product revisions?
They can use model revision identifiers, effective dates or immutable configuration snapshots. This allows an old quote or order to be traced to the rules and component revisions that produced it.
15. What security controls are important for CPQ APIs?
Important controls include authenticated clients, authorization, encrypted transport, rate limiting, audit logging, secret management and restrictions based on role, market, dealer or product family.
16. Can one CPQ API serve sales, dealers and ecommerce?
It can, if the API supports the different permissions, product visibility, pricing contexts and user experiences. The underlying product rules should remain consistent while channel-specific policies are applied separately.
17. What is the biggest implementation risk?
A common risk is unclear data ownership. If CPQ, ERP, PLM and CRM each contain conflicting product, price or revision data, the API may create technically successful but operationally incorrect transactions.
18. How should REST API integrations be tested?
Test valid and invalid configurations, boundary values, rule changes, units, revisions, price calculations, BOM results, permissions, retries, outages and reconciliation with downstream ERP, PLM or CAD records.