Used Car Dealership Integration Manual
Developer guidance for integrating DecisioQ used vehicle decisions with CRM, DMS, appraisal, acquisition, inventory, reconditioning, pricing, F&I, merchandising, and compliance systems.The Used Car Dealership sector in the DecisioQ Decision Catalog is identified by AUTO-UCD. It currently covers 100 decision types across acquisition, appraisal, inventory, pricing, reconditioning, certification, warranty, compliance, digital retailing, F&I, customer sales, retention, market intelligence, and operational performance.
DecisioQ integrations should load sector, category, decision, Decision Preparation Model, and scenario metadata from the Decision Catalog. Do not hard-code old template names, static decision lists, or legacy request models.
Recommended first deployment: start with a workflow where managers already compare tradeoffs, such as acquisition bid guidance, reconditioning approval, pricing action, online lead response, CPO eligibility, finance exception, warranty package recommendation, or aging inventory disposition.
Used car dealership client applications should use the same discovery flow as the Business Decision Studio:
- Load
GET /decisioncatalogthrough the approved server-side Decision Catalog gateway. - Populate Sector from
catalog.sectors[]and selectAUTO-UCDfor Used Car Dealership. - Populate Category from
selectedSector.categories[]. Example categories include Certification & Warranty, Compliance & Risk, Customer Sales, Digital Retailing, Finance & Insurance, Inventory Analytics, Market Intelligence, Operational Performance, and Reconditioning. - Populate Decision from
selectedCategory.decisions[]when available, or call/decisioncatalog/sectors/{sectorCode}/categories/{categoryCode}/decisions. - Display Decision Name only in the dropdown while keeping
decisionIdas the option value. - Load full decision detail from
/decisioncatalog/decisions/{decisionId}before rendering Guided Data Collection.
Decision detail is the source of truth for criterion names, data guidance, scale, direction, profile options, scenarios, and overview metadata.
For regional deployments, keep DecisioQ technical identifiers stable and localize only user-facing labels and guidance. Unless the selected endpoint and decision schema explicitly support unit-qualified input, convert mileage, distance, pressure, temperature, mass, volume, speed, fuel consumption, and other measurements to the required canonical units before submission. Do not infer units or currency from locale.
| Use Case | Primary Users | Typical Inputs |
|---|---|---|
| Acquisition and appraisal guidance | Used car managers, buyers, appraisal teams | Market demand, condition, mileage, history, book values, recon estimate, auction comps, gross potential. |
| Reconditioning approval and priority | Recon managers, service, used car operations | Safety issue, cosmetic need, part availability, labor estimate, retail lift, days-to-market impact. |
| Pricing and inventory action | Inventory managers, sales managers, digital merchandisers | Days in stock, market rank, lead activity, price history, margin goal, aging risk, segment demand. |
| Online lead response and customer match | BDC, sales teams, CRM automation | Lead age, engagement, vehicle fit, appointment likelihood, trade equity, customer preference. |
| F&I and lender path decisions | F&I managers, sales desk | Credit tier, payment affordability, down payment, lender callbacks, trade payoff, product eligibility. |
| Certification, warranty, and disclosure review | Compliance, used car managers, warranty teams | Inspection status, title readiness, odometer risk, vehicle history, warranty eligibility, disclosure exposure. |
| Digital retailing and merchandising | Digital retail, marketing, inventory teams | Listing quality, photos, video, online conversion, local price pressure, customer interest, ad placement. |
| Operational and growth planning | Dealer principals, general managers, operations leaders | ROI, process impact, staffing, data quality, implementation effort, inventory demand, market opportunity. |
Used car dealership integrations should map DMS, CRM, appraisal, inventory, reconditioning, pricing, F&I, vehicle history, merchandising, and customer data into decision-specific Business Data. The selected decision detail defines which criteria are required and how each value should be measured.
| Business Data Source | Common Use | Integration Notes |
|---|---|---|
| VIN, stock number, appraisal ID, deal ID, lead ID, repair order ID, or customer ID | optionId and audit correlation. | Keep stable source-system IDs so recommendations can be traced to DMS, CRM, appraisal, inventory, recon, and F&I records. |
| Vehicle history and condition data | Acquisition, certification, warranty, disclosure, fraud and risk decisions. | Separate mileage, condition grade, accident history, title flags, odometer risk, and inspection findings. |
| Market and pricing data | Acquisition bid, pricing response, inventory mix, aging risk, promotion placement. | Keep market days supply, local price pressure, book value, retail price, cost basis, and gross objective distinct. |
| Reconditioning data | Repair approval, cosmetic repair, vendor path, retail readiness, CPO eligibility. | Capture safety, cost, part availability, technician capacity, margin lift, and speed-to-market separately. |
| CRM and digital retail data | Lead response, customer match, reservation approval, listing strategy, follow-up. | Refresh lead age, engagement, online activity, vehicle interest, and appointment status before execution. |
| F&I and deal data | Finance exception, lender submission, down payment, payment affordability, protection package. | Protect credit-sensitive data and send only fields required by the selected decision. |
| Operational performance data | Process improvement, growth initiative, staffing, data quality, performance review. | Use comparable financial, operational, and risk assumptions across candidate options. |
Do not invent criterion IDs. Use the canonical criteria returned by /decisioncatalog/decisions/{decisionId}, including criterion overview metadata, unit, direction, scale, and data guidance.
Production integrations should keep credentials and bearer tokens on trusted servers or server-side gateways. Browser pages should use same-origin proxy handlers or their own backend service.
- Trusted backend obtains a JWT token from
identity.vinquery.com. - Application loads catalog and decision detail metadata.
- User or system prepares Business Data for candidate vehicles, bids, recon actions, price actions, leads, finance paths, warranty outcomes, or growth initiatives.
- Call
POST /api/v1/validateto validate and prepare the decision input before execution. - Call
POST /api/v1/decideto return the authoritative Decision Result. - Display the recommendation, ranked alternatives, warnings, assumptions, and Explanation of Decision Result.
- Keep execution trace and diagnostics available to integrators, but collapsed or hidden by default for business users.
Use /api/v1/decide for both Prepared Criteria Mode and business-data integrations that submit a businessData object. New public onboarding should prefer Preview Decision and Execute Decision terminology.
The exact fields depend on the Decision Preparation Model published for the selected decision. Treat this as an integration pattern, not as a guaranteed schema for every dealership decision.
{
"decisionId": "AUTO-UCD-001",
"decisionPreparationModelId": "AUTO-UCD-PROFILE-STANDARD",
"scenarioId": "AUTO-UCD-SCENARIO-ACQUISITION-REVIEW",
"businessData": {
"candidates": [
{
"optionId": "VIN-1HGCV1F3XNA104912",
"name": "2022 Honda Accord EX trade appraisal",
"values": {
"marketDemandScore": 86,
"conditionScore": 82,
"reconditioningCost": 1450,
"grossPotentialScore": 78,
"inventoryFitScore": 91,
"agingRiskScore": 28
}
},
{
"optionId": "VIN-5NMS3DAJ4NH303881",
"name": "2022 Hyundai Santa Fe auction purchase",
"values": {
"marketDemandScore": 79,
"conditionScore": 76,
"reconditioningCost": 2100,
"grossPotentialScore": 84,
"inventoryFitScore": 74,
"agingRiskScore": 42
}
}
]
},
"requestContext": {
"correlationId": "used-car-acquisition-20260717-001"
}
}
This pattern belongs in a trusted backend, not directly in browser JavaScript.
async function executeUsedCarDealershipDecision(decisionInput, jwtToken) {
const response = await fetch(`${process.env.DECISIOQ_BASE_URL}/api/v1/decide`, {
method: "POST",
headers: {
"Authorization": `Bearer ${jwtToken}`,
"Content-Type": "application/json"
},
body: JSON.stringify(decisionInput)
});
if (!response.ok) {
throw new Error(`DecisioQ execution failed: ${response.status} ${await response.text()}`);
}
return await response.json();
}
| UI Element | Recommended Display | Why It Matters |
|---|---|---|
| Choose a Decision | Sector, Category, Decision, Profile, and Scenario selectors populated from catalog metadata. | Users see business names while integrators retain stable IDs. |
| Selection Overview | Sector, category, and decision overviews in one collapsible panel. | Used vehicle, inventory, recon, and F&I users understand the decision before entering data. |
| Guided Data Collection | Criterion label, field, data type indicator, summary, and expandable "More about this criterion". | Improves vehicle, market, customer, inventory, pricing, finance, and recon data quality. |
| Candidate Cases | Two fields per row where practical, editable option ID, and visible units or data type indicators. | Managers can compare vehicles, bids, actions, or deal paths quickly. |
| Decision Result | Recommendation, ranking, confidence, and key drivers. | Users need the answer and the reason. |
| Outcome Follow-up | Accepted, Rejected, or Overridden; selected option and override reason when applicable. | Connects the recommendation to the action actually taken. |
| Realized Value | Outcome status plus a consistently defined financial or operational metric. | Measures adoption and business value without changing deterministic scoring. |
| Explanation | Business-friendly explanation without AI provider branding. | Supports trust while keeping the UI provider-neutral. |
| Diagnostics | Collapsed technical panel for status, timings, warnings, and errors. | Useful for integrators without distracting business users. |
- Store identity credentials, Decision API base URL, and proxy configuration in trusted server configuration or a secret manager.
- Do not expose bearer tokens or integration credentials in browser code, appraisal tools, or public digital retail experiences.
- Use catalog metadata rather than hard-coded categories, decisions, criteria, profiles, or scenarios.
- Validate Business Data before execution and show user-friendly validation messages.
- Persist correlation ID, VIN, stock number, appraisal ID, deal ID, lead ID, repair order ID, decision ID, profile ID, scenario ID, selected option, score, and explanation for audit.
- Retain the successful decision response
requestIdwith the host business transaction, then callPOST /api/v1/decision-outcomeswhen the action and realized result are known. - Require an
overrideReasonfor overridden recommendations; never infer acceptance merely because a result was displayed. - Monitor
GET /api/v1/decision-outcomes/summaryfor acceptance rate, override rate, and realized-value aggregates. Treat outcome feedback as reporting evidence, not automatic model training. - Redact customer identifiers, credit-sensitive fields, lender details, vehicle-history details, margin data, and sensitive recon notes in logs and diagnostics.
- Monitor catalog load failures, token refresh failures, API latency, validation failures, account verification failures, and unusual exclusion rates.
- Define fallback behavior so appraisal, inventory, CRM, reconditioning, sales desk, and F&I workflows remain usable when DecisioQ is unavailable.
- Review Decision Preparation Models and scenario assumptions with used car, inventory, recon, compliance, and finance owners when market or policy conditions change.
| Symptom | Likely Cause | Fix |
|---|---|---|
| Category list is empty. | The catalog response does not include categories for the selected sector, or the client is reading an old category layer. | Use selectedSector.categories[] from /decisioncatalog. |
| Decision dropdown shows IDs only. | The client did not load decision detail or category decision names. | Display Decision Name as the label and keep decision ID as the option value. |
| Criterion guidance is missing. | Decision detail lacks criterion overview metadata or the page is not rendering it. | Read criterion overview from /decisioncatalog/decisions/{decisionId} and show available summaries. |
| Secure session could not be refreshed. | Token proxy or identity service configuration failed. | Check server-side identity configuration and proxy logs; do not request tokens directly from browser JavaScript. |
| Decision execution failed. | Decision API unavailable, invalid Business Data, authorization failure, or account verification issue. | Check response envelope, HTTP status, correlation ID, Decision API health, and server logs. |
| Unexpected recommendation. | Scale, units, direction, or values do not match catalog criterion guidance. | Compare Business Data fields against criterion overview and validation metadata. |
| Acquisition or pricing recommendation seems stale. | Market, inventory, recon, appraisal, or lead data changed after the decision input was prepared. | Refresh source-system context close to execution time and include data freshness where available. |
