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.
1Used Car Dealership Overview

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.

2Catalog Discovery Flow

Used car dealership client applications should use the same discovery flow as the Business Decision Studio:

  1. Load GET /decisioncatalog through the approved server-side Decision Catalog gateway.
  2. Populate Sector from catalog.sectors[] and select AUTO-UCD for Used Car Dealership.
  3. 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.
  4. Populate Decision from selectedCategory.decisions[] when available, or call /decisioncatalog/sectors/{sectorCode}/categories/{categoryCode}/decisions.
  5. Display Decision Name only in the dropdown while keeping decisionId as the option value.
  6. 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.

3Used Vehicle Use Cases
Use CasePrimary UsersTypical Inputs
Acquisition and appraisal guidanceUsed car managers, buyers, appraisal teamsMarket demand, condition, mileage, history, book values, recon estimate, auction comps, gross potential.
Reconditioning approval and priorityRecon managers, service, used car operationsSafety issue, cosmetic need, part availability, labor estimate, retail lift, days-to-market impact.
Pricing and inventory actionInventory managers, sales managers, digital merchandisersDays in stock, market rank, lead activity, price history, margin goal, aging risk, segment demand.
Online lead response and customer matchBDC, sales teams, CRM automationLead age, engagement, vehicle fit, appointment likelihood, trade equity, customer preference.
F&I and lender path decisionsF&I managers, sales deskCredit tier, payment affordability, down payment, lender callbacks, trade payoff, product eligibility.
Certification, warranty, and disclosure reviewCompliance, used car managers, warranty teamsInspection status, title readiness, odometer risk, vehicle history, warranty eligibility, disclosure exposure.
Digital retailing and merchandisingDigital retail, marketing, inventory teamsListing quality, photos, video, online conversion, local price pressure, customer interest, ad placement.
Operational and growth planningDealer principals, general managers, operations leadersROI, process impact, staffing, data quality, implementation effort, inventory demand, market opportunity.
4Business Data Mapping

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 SourceCommon UseIntegration Notes
VIN, stock number, appraisal ID, deal ID, lead ID, repair order ID, or customer IDoptionId 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 dataAcquisition, certification, warranty, disclosure, fraud and risk decisions.Separate mileage, condition grade, accident history, title flags, odometer risk, and inspection findings.
Market and pricing dataAcquisition 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 dataRepair 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 dataLead 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 dataFinance exception, lender submission, down payment, payment affordability, protection package.Protect credit-sensitive data and send only fields required by the selected decision.
Operational performance dataProcess 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.

5Preview and Execute Workflow

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.

  1. Trusted backend obtains a JWT token from identity.vinquery.com.
  2. Application loads catalog and decision detail metadata.
  3. User or system prepares Business Data for candidate vehicles, bids, recon actions, price actions, leads, finance paths, warranty outcomes, or growth initiatives.
  4. Call POST /api/v1/validate to validate and prepare the decision input before execution.
  5. Call POST /api/v1/decide to return the authoritative Decision Result.
  6. Display the recommendation, ranked alternatives, warnings, assumptions, and Explanation of Decision Result.
  7. 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.

6Example Request Shape

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"
  }
}
7Backend Call Pattern

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();
}
8UI and Workflow Integration
UI ElementRecommended DisplayWhy It Matters
Choose a DecisionSector, Category, Decision, Profile, and Scenario selectors populated from catalog metadata.Users see business names while integrators retain stable IDs.
Selection OverviewSector, category, and decision overviews in one collapsible panel.Used vehicle, inventory, recon, and F&I users understand the decision before entering data.
Guided Data CollectionCriterion label, field, data type indicator, summary, and expandable "More about this criterion".Improves vehicle, market, customer, inventory, pricing, finance, and recon data quality.
Candidate CasesTwo 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 ResultRecommendation, ranking, confidence, and key drivers.Users need the answer and the reason.
Outcome Follow-upAccepted, Rejected, or Overridden; selected option and override reason when applicable.Connects the recommendation to the action actually taken.
Realized ValueOutcome status plus a consistently defined financial or operational metric.Measures adoption and business value without changing deterministic scoring.
ExplanationBusiness-friendly explanation without AI provider branding.Supports trust while keeping the UI provider-neutral.
DiagnosticsCollapsed technical panel for status, timings, warnings, and errors.Useful for integrators without distracting business users.
9Production Readiness
  • 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 requestId with the host business transaction, then call POST /api/v1/decision-outcomes when the action and realized result are known.
  • Require an overrideReason for overridden recommendations; never infer acceptance merely because a result was displayed.
  • Monitor GET /api/v1/decision-outcomes/summary for 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.
10Troubleshooting
SymptomLikely CauseFix
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.