Simulate a Quote

Synchronously calculates quote pricing and details based on the provided configuration without creating a persistent quote object in DealHub. Ideal for real-time price calculations.

Use this endpoint to calculate real-time pricing and quote details without creating a permanent record in DealHub. You have to inform the product and configuration data to receive the calculated line items and a financial summary.

To run a simulation, your request must include a version_id to specify which pricing and product rules to use. You also need to provide one of the following options:

  • external_opportunity_id: Use this to base the simulation on an existing opportunity in your CRM.
  • geo_code and currency: Use this combination for simulations that do not depend on specific CRM data.
📘

Required data

You must provide either the external_opportunity_id or both the geo_code and currency parameters. Providing both in the same request will result in an error.

❗️

quote_data is required

The quote_data field is required and must always be present in the request body. If you do not have any line items to include, send it as an empty array: "quote_data": []

Omitting the quote_data field entirely will result in an error. Note that the auto-generated code example on this page may not include quote_data when no line item values are provided, but the field itself must still be present in your request.

Language
Credentials
Bearer
Response
Click Try It! to start a request and see the response here!