# Inventory Synchronization

Use this pattern to synchronize dealership inventory units and fetch full unit detail only when a summary record is new or changed.

## Prerequisites

- MU Inventory access is approved for the dealership credential.
- The integration has a policy for commercial pricing, cost, flooring, website, and media fields.
- The integration can store a checkpoint and deduplicate by `DealerInventoryId`.


## Retrieve Summaries

POST `/v1/Inventory/Summary` with `ApiDealerInventorySearchCriteria`. Incremental jobs can use `FromUpdatedDate` and `ToUpdatedDate`; a bounded initial load can use created dates.

Available criteria also include `NewUsed`, `ModelYear`, `Make`, `Model`, `StockNumber`, `StatusName`, `IsRental`, and `OrderBy`. Preserve the returned condition and status values. `NewUsed` uses `N` for new and `U` for used.

Page with `Take` of 1,000 or fewer. For every item:

1. Read `Items[].DealerInventoryId`.
2. Deduplicate that UUID within overlapping date windows.
3. Advance `Skip` by the actual page length.


## Retrieve Changed Unit Detail

Substitute `DealerInventoryId` into `GET /v1/Inventory/GetDealerInventory/{id}`. The detail schema contains unit identity/specification, status, pricing and costs, website fields, flooring data, parts, labor, options, and `Photos`.

Review [Cost and profitability data](/docs/dx1-dealership-api/guides/field-conventions#cost-and-profitability-data) before using pricing or cost-related fields.

`Photos` contains unit photos. Each item has `Url`, `RecordTypeCode`, `Seq`, and `Caption`. DX1 does not define media ownership, mirroring, cache duration, or retention in this API. Treat the URL as returned data and obtain separate guidance before copying or redistributing media.

## Operational Controls

Use date filters for routine synchronization, the 03:00–11:00 UTC window for complete or large-scale extraction, and both dealership-level rolling limits. Retry only safe summary/detail reads when the documented scaling 503 is identified. Keep pricing, cost, VIN, and dealership data out of public logs.