Partner Data Issues & Dealer Quality API Reference
Report incomplete or inaccurate vehicle listings or whole-dealer issues (scope: dealer with kinds undercount and rejected_vehicles), inspect MotorsDynamic's live counts for any dealer domain, and receive HMAC-signed resolution webhooks.
Partner Data Issues & Dealer Quality Endpoints - report discrepancies, poll triage status & inspect dealer quality.
Authenticate with your MotorsDynamic API key in X-API-Key. Machine-readable OpenAPI 3.0.3 spec: https://api.motorsdynamic.com/api/v1/partner/openapi/data-issues.json.
| Method | Endpoint | Purpose |
|---|---|---|
| POST | /api/v1/partner/data-issues | Submit a single-vehicle data issue (scope: vehicle) or a whole-dealer report (scope: dealer with kind undercount or rejected_vehicles); idempotent on (partner, partner_issue_id). |
| GET | /api/v1/partner/data-issues | List your reported data issues ordered by newest update first, with cursor pagination and filters for status, since timestamp, and partner_issue_id. |
| GET | /api/v1/partner/data-issues/{id} | Retrieve one reported data issue by numeric ID, including current status, resolution summary, per-field or per-dealer triage verdicts, and status transition history. |
| GET | /api/v1/partner/dealers/{domain}/quality | Inspect a dealer as MotorsDynamic has it right now: detected CMS platform, tracking status, last scrape time, active vehicle count, missing-field counts across active cars, and your open issue count (also served at /api/partner/dealers/{domain}/quality). |
How Partner Data Issues works
When your integration detects vehicle or dealer inventory data that looks incomplete or out of date, report it to POST /api/v1/partner/data-issues using your API key in X-API-Key (with scope partner:data-issues:<partner> enabled). MotorsDynamic stores the report, checks the live database and dealer website, queues a re-crawl when that can resolve the discrepancy, and reports the outcome via polling (GET /api/v1/partner/data-issues/{id}) or a signed webhook to your callback_url.
Machine-readable OpenAPI 3.0.3 (v1.1.0) specification: https://api.motorsdynamic.com/api/v1/partner/openapi/data-issues.json
Single-vehicle vs. dealer-level reports (scope: "dealer")
The Partner Data Issues API supports two report scopes in POST /api/v1/partner/data-issues:
| Scope | Allowed kind values | Required target object | How MotorsDynamic resolves it |
|---|---|---|---|
vehicle (default) | incomplete_fields, stale_listing, wrong_identity, duplicate, gone_but_active, parse_error | vehicle with at least one of md_id (recommended), vin, or source_url, plus optional dealer_id and fields array (name, expected, got) | Inspects the vehicle record and dealer VDP, refreshes the listing or queues a re-crawl, and records per-field verdicts (ok_now, present_now, missing, still_wrong, differs, unknown_field) in triage.fields. |
dealer | undercount | dealer (domain or dealer_id), expected_count (>= 1), received_count (>= 0) | Compares MotorsDynamic's live active vehicle count for the dealer. If already at 95% or more of expected_count, closes fixed immediately so you can refresh your copy. If short, queues a full site re-crawl (in_progress) and re-checks in about 90 minutes, recording md_active_count_before and md_active_count_after in triage before closing fixed or routing to engineering (triaged). |
dealer | rejected_vehicles | dealer (domain or dealer_id), reason (missing_make, missing_model, missing_year, missing_price, missing_vin, missing_photos, missing_mileage, bad_value, other), count (>= 1), optional vins (up to 500), note, and fields (when reason is bad_value or other) | Counts active vehicles at the dealer currently lacking the field. If 0 are missing, closes fixed immediately. Otherwise queues a re-crawl and re-evaluates; if vehicles still lack the field, routes to engineering (triaged) for a parser fix with missing_count_before, missing_count_after, vins_found, vins_missing, and up to 10 example_vins in triage. |
One dealer-level report (scope: "dealer") counts as a single request against the 600 reports per hour per partner rate limit, regardless of how many vehicles it covers.
Idempotency on partner_issue_id and status lifecycle
Every POST /api/v1/partner/data-issues request is idempotent on (partner, partner_issue_id):
- New
partner_issue_id: returns201 Createdwith{"outcome": "created", "issue": {...}}and aLocationheader. - Same
partner_issue_idand identical body: returns200 OKwith{"outcome": "unchanged", "issue": {...}}without creating a duplicate issue. - Same
partner_issue_idand changed body: returns200 OKwith{"outcome": "updated", "issue": {...}}and reopens a closed issue back toreceived.
Issues progress through the following statuses:
| Status | Terminal? | Meaning |
|---|---|---|
received | No | Report stored and queued for automated triage |
triaged | No | Automated check completed; queued for parser or engineering review (triage.action: "needs_person") |
in_progress | No | Vehicle refresh or full dealer re-crawl is currently running (triage.action: "recrawl_queued" or "recheck_scheduled") |
fixed | Yes | Data is now complete and verified in MotorsDynamic; resolution explains what changed |
wont_fix | Yes | Source dealer page genuinely lacks the field or vehicle is no longer offered |
needs_info | Yes | Vehicle or dealer domain could not be matched; update the payload and re-POST with the same partner_issue_id |
Partner data-issues webhook verification (X-MD-Signature)
When you include a callback_url on POST /api/v1/partner/data-issues, MotorsDynamic sends an HTTPS POST whenever the issue reaches a terminal status (fixed, wont_fix, or needs_info):
X-MD-Event: data_issue.fixed
X-MD-Delivery: 5b0b9f12-4c81-4e3a-9d2a-1c8e7f6a5b4c
X-MD-Timestamp: 1761574800
X-MD-Signature: sha256=4a9e8c...
{"event":"data_issue.fixed","delivery_id":"5b0b9f12-4c81-4e3a-9d2a-1c8e7f6a5b4c","sent_at":"2026-10-27T14:20:00Z","issue":{"id":122,"status":"fixed","...":"same shape as GET /api/v1/partner/data-issues/{id}"}}
Verify deliveries by computing sha256=<hex HMAC-SHA256(secret, "<X-MD-Timestamp>.<raw_body>")> with your partner webhook secret. Reject any delivery whose X-MD-Timestamp is more than 5 minutes (300 seconds) old, deduplicate on X-MD-Delivery, and return a 2xx status code. Non-2xx responses are retried at 1, 5, 30, 120, and 360 minutes.
const crypto = require('crypto');
function verifyDataIssueWebhook(req, rawBody, secret) {
const ts = req.headers['x-md-timestamp'];
const want = 'sha256=' + crypto
.createHmac('sha256', secret)
.update(`${ts}.${rawBody}`)
.digest('hex');
const got = String(req.headers['x-md-signature'] || '');
return Math.abs(Date.now() / 1000 - Number(ts)) < 300 &&
got.length === want.length &&
crypto.timingSafeEqual(Buffer.from(got), Buffer.from(want));
}
Report a vehicle or dealer-level data issue
Submit a single-vehicle data issue (scope: vehicle) or a whole-dealer report (scope: dealer with kind undercount or rejected_vehicles); idempotent on (partner, partner_issue_id).
| Name | Type | Required | Description |
|---|---|---|---|
partner_issue_id | string (body) | Yes | Your unique identifier for this issue (max 200 chars). Repeating the same partner_issue_id and body returns 200 with outcome: unchanged; a changed body updates the issue (outcome: updated) and reopens closed issues to received. |
kind | string (body) | Yes | Problem category. For scope: vehicle: incomplete_fields, stale_listing, wrong_identity, duplicate, gone_but_active, or parse_error. For scope: dealer: undercount or rejected_vehicles. |
scope | string (body) | No | vehicle (default, reports one car via vehicle) or dealer (reports an entire dealer site via dealer; requires kind undercount or rejected_vehicles). |
severity | string (body) | No | low, medium (default), high, or critical. |
vehicle | object (body) | Conditional | Required when scope is vehicle. Object with at least one of md_id (integer, recommended), vin (string), or source_url (URI), plus optional dealer_id (integer). |
fields | Field[] (body) | Conditional | Array of up to 50 field discrepancies: { name, expected?, got? }. Supported field names: price, sale_price, msrp, mileage, year, make, model, trim, vin, stock_number, exterior_color, interior_color, engine, transmission, drivetrain, fuel_type, body_type, condition, url, photo_count (or images), is_active, plus aliases odometer, stock, color, photos. Required for rejected_vehicles when reason is bad_value or other. |
dealer | object (body) | Conditional | Required when scope is dealer. Object with at least one of domain (string, stored as bare lowercase host such as example-dealer.com) or dealer_id (integer). |
expected_count | integer (body) | Conditional | Required for scope: dealer with kind: undercount (minimum 1). Total active vehicles expected on the dealer site. |
received_count | integer (body) | Conditional | Required for scope: dealer with kind: undercount (minimum 0). Number of vehicles received from MotorsDynamic. |
reason | string (body) | Conditional | Required for scope: dealer with kind: rejected_vehicles. One of: missing_make, missing_model, missing_year, missing_price, missing_vin, missing_photos, missing_mileage, bad_value, other. |
count | integer (body) | Conditional | Required for scope: dealer with kind: rejected_vehicles (minimum 1). Number of vehicles that could not be saved. |
vins | string[] (body) | No | Optional for rejected_vehicles: up to 500 VINs of the rejected vehicles (stored deduplicated and uppercase). |
note | string (body) | No | Optional context for rejected_vehicles (max 2,000 chars). |
observed_at | string (body) | No | ISO 8601 date-time when the issue was observed. |
evidence | any JSON (body) | No | Optional diagnostic payload up to 32 KB (such as endpoint called or sync notes). |
callback_url | string (body) | No | HTTPS URL to receive a signed webhook when the issue reaches fixed, wont_fix, or needs_info. |
partner | string (body) | No | Optional partner slug; if provided, must match the partner bound to your API key. |
# 1) Single-vehicle report (scope: "vehicle", default)
curl -sS -X POST "https://api.motorsdynamic.com/api/v1/partner/data-issues" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"partner_issue_id": "issue-2026-10-27-000123",
"kind": "incomplete_fields",
"severity": "high",
"vehicle": { "md_id": 9230047, "vin": "KL4AMBSL5SB000000", "dealer_id": 2 },
"fields": [
{ "name": "price", "expected": 27990, "got": null },
{ "name": "mileage", "expected": 12, "got": null }
],
"observed_at": "2026-10-27T14:05:00Z",
"evidence": { "md_endpoint": "/api/vehicles?domain_id=2", "note": "price null on 3 consecutive syncs" },
"callback_url": "https://example.com/md/data-issues/webhook"
}'
# 2) Dealer-level undercount report (scope: "dealer", kind: "undercount")
curl -sS -X POST "https://api.motorsdynamic.com/api/v1/partner/data-issues" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"partner_issue_id": "dealer-undercount-2026-10-30-001",
"scope": "dealer",
"kind": "undercount",
"severity": "high",
"dealer": { "domain": "example-dealer.com" },
"expected_count": 420,
"received_count": 300,
"observed_at": "2026-10-30T14:00:00Z",
"callback_url": "https://example.com/md/data-issues/webhook"
}'
# 3) Dealer-level rejected vehicles report (scope: "dealer", kind: "rejected_vehicles")
curl -sS -X POST "https://api.motorsdynamic.com/api/v1/partner/data-issues" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"partner_issue_id": "dealer-rejected-2026-10-30-002",
"scope": "dealer",
"kind": "rejected_vehicles",
"dealer": { "domain": "example-dealer.com", "dealer_id": 2 },
"reason": "missing_make",
"count": 37,
"vins": ["KNDPU3AF0R7123456", "KNDPU3AF0R7123457", "5XYP3DHC9NG000001"],
"note": "make empty, model present"
}'
{
"outcome": "created",
"issue": {
"id": 123,
"partner": "partner_account",
"partner_issue_id": "dealer-rejected-2026-10-30-002",
"scope": "dealer",
"kind": "rejected_vehicles",
"severity": "medium",
"status": "in_progress",
"resolution": null,
"vehicle": null,
"dealer": { "domain": "example-dealer.com", "dealer_id": 2, "matched_dealer_id": 2 },
"reason": "missing_make",
"count": 37,
"vins_count": 3,
"note": "make empty, model present",
"report_count": 1,
"triage": {
"action": "recrawl_queued",
"summary": "37 of 412 active vehicles at example-dealer.com lack make; queued re-crawl.",
"md_active_count_before": 412,
"md_active_count_after": null,
"missing_count_before": 37,
"missing_count_after": null,
"columns": ["make"],
"example_vins": ["KNDPU3AF0R7123456", "KNDPU3AF0R7123457", "5XYP3DHC9NG000001"],
"vins_found": 3,
"vins_missing": 3
},
"webhook": { "status": "pending" },
"created_at": "2026-10-30T14:02:11.000Z",
"updated_at": "2026-10-30T14:02:11.000Z",
"resolved_at": null,
"links": { "self": "/api/v1/partner/data-issues/123" }
}
}
List your reported data issues
List your reported data issues ordered by newest update first, with cursor pagination and filters for status, since timestamp, and partner_issue_id.
| Name | Type | Required | Description |
|---|---|---|---|
status | string (query) | No | Comma-separated status values to filter by (received, triaged, in_progress, fixed, wont_fix, needs_info). |
since | string (query) | No | ISO 8601 date-time; return only issues updated at or after this timestamp. |
partner_issue_id | string (query) | No | Filter by your exact partner_issue_id. |
limit | integer (query) | No | Page size from 1 to 200 (default 50). |
cursor | string (query) | No | Opaque next_cursor token from the previous page response. |
curl -sS "https://api.motorsdynamic.com/api/v1/partner/data-issues?status=fixed,wont_fix,needs_info&since=2026-10-26T00:00:00Z&limit=50" \ -H "X-API-Key: YOUR_API_KEY"
{
"data": [
{
"id": 122,
"partner_issue_id": "issue-2026-10-27-000123",
"scope": "vehicle",
"kind": "incomplete_fields",
"severity": "high",
"status": "fixed",
"resolution": "Re-crawled vehicle page; price ($27,990) and mileage (12) are now populated.",
"vehicle": { "md_id": 9230047, "vin": "KL4AMBSL5SB000000", "dealer_id": 2, "matched_md_id": 9230047, "matched_dealer_id": 2 },
"fields": [
{ "name": "price", "expected": 27990, "got": null },
{ "name": "mileage", "expected": 12, "got": null }
],
"updated_at": "2026-10-27T14:19:04.000Z",
"resolved_at": "2026-10-27T14:19:04.000Z"
}
],
"next_cursor": null
}
Get a single data issue with triage and history
Retrieve one reported data issue by numeric ID, including current status, resolution summary, per-field or per-dealer triage verdicts, and status transition history.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer (path) | Yes | MotorsDynamic numeric data issue ID returned when the issue was created. |
curl -sS "https://api.motorsdynamic.com/api/v1/partner/data-issues/122" \ -H "X-API-Key: YOUR_API_KEY"
{
"id": 122,
"partner_issue_id": "issue-2026-10-27-000123",
"scope": "vehicle",
"kind": "incomplete_fields",
"severity": "high",
"status": "fixed",
"resolution": "Re-crawled vehicle page; price ($27,990) and mileage (12) are now populated.",
"vehicle": {
"md_id": 9230047,
"vin": "KL4AMBSL5SB000000",
"dealer_id": 2,
"matched_md_id": 9230047,
"matched_dealer_id": 2
},
"triage": {
"action": "resolved",
"summary": "All reported fields verified present after refresh.",
"fields": [
{ "name": "price", "verdict": "ok_now", "md_value": "27990.00" },
{ "name": "mileage", "verdict": "ok_now", "md_value": 12 }
]
},
"history": [
{ "at": "2026-10-27T14:05:10.000Z", "event": "created", "from": null, "to": "received", "note": null },
{ "at": "2026-10-27T14:05:12.000Z", "event": "triage", "from": "received", "to": "in_progress", "note": "Queued vehicle refresh" },
{ "at": "2026-10-27T14:19:04.000Z", "event": "resolved", "from": "in_progress", "to": "fixed", "note": "Fields populated" }
]
}
Get dealer data quality snapshot
Inspect a dealer as MotorsDynamic has it right now: detected CMS platform, tracking status, last scrape time, active vehicle count, missing-field counts across active cars, and your open issue count (also served at /api/partner/dealers/{domain}/quality).
| Name | Type | Required | Description |
|---|---|---|---|
domain | string (path) | Yes | Dealer hostname (scheme and www are ignored, for example example-dealer.com) or numeric MotorsDynamic dealer ID. |
curl -sS "https://api.motorsdynamic.com/api/v1/partner/dealers/example-dealer.com/quality" \ -H "X-API-Key: YOUR_API_KEY"
{
"domain": "example-dealer.com",
"dealer_id": 2,
"platform": "dealer-inspire",
"tracked": true,
"last_scraped_at": "2026-10-30T06:12:00.000Z",
"last_error": null,
"active_vehicles": 412,
"missing": {
"make": 37,
"model": 0,
"year": 0,
"price": 4,
"vin": 0,
"mileage": 0,
"photos": 2
},
"open_issues": 1
}