Industrial Injection Dealer API — reference (plain text) The same content as https://my.iidiesel.com/Developers. Base address: https://api.iidp.dev/dealer/v1 Code samples are shown in cURL only; the page has PHP, Python and JavaScript as well. The key in every sample is a placeholder (iidp_YOUR_KEY), not a real key. # API reference The Industrial Injection Dealer API gives your software the catalog a dealer sees on this site: our parts, the dealer's prices and what is ready to ship. It is read-only — nothing can be ordered or changed through it. It is a plain HTTPS API. Every answer is JSON, and errors use ordinary HTTP status codes. There are eleven addresses, and this page covers all of them: a list of parts, one part, many parts by number, a stock-only list, and stock for many parts by number — and the vehicles a part fits, the parts for a vehicle, and our parts for another maker's number, plus the lists of our brands and categories. A key belongs to one person at a dealer and reads what that person may see on this site. The dealer makes it after signing in (https://my.iidiesel.com/SignIn?next=%2FAccount%2FApiKeys), under API keys in their account, and hands it to you. The prices and stock figures in the examples on this page are made up. The part numbers are real. [Base address] ``` https://api.iidp.dev/dealer/v1 ``` [Addresses] ``` GET /items GET /items/{no} POST /items/lookup GET /stock POST /stock/lookup GET /items/{no}/fitment GET /fitment GET /vehicles GET /cross-references GET /brands GET /categories ``` ## Quick start From nothing to your first answer in three steps. - 1 (get a key): The dealer signs in (https://my.iidiesel.com/SignIn?next=%2FAccount%2FApiKeys), opens API keys in their account, chooses Make a new key and gives it to you — it is shown once. - 2 (send one request): Put the key in the `Authorization` header and ask for one part of the list. The samples on this page come in cURL, PHP, Python and JavaScript; pick your language once and every sample follows. - 3 (read the answer): You get JSON: how many parts, where the next page starts, and the parts. If the status is not `200`, the body says why — see Errors. From here: Which call to use for what you want to build, and Pagination to read the whole catalog. Or skip the code for now: signed-in dealers can try the calls in the browser (https://my.iidiesel.com/Developers/Try). [Your first request] ``` curl https://api.iidp.dev/dealer/v1/items?limit=1 \ -H "Authorization: Bearer iidp_YOUR_KEY" ``` [200] ``` { "count": 1, "next_after": "…", "items": [ { "no": "…", "brand": "…", "description": "…", … } ] } ``` ## Which call to use Pick the call by what you need. A lookup is one request, however many part numbers it carries; a list is one request per page. - The whole catalog (prices, stock, everything): List items, page by page — about 30 requests at 1000 parts each. - One brand (parts or stock): List items or List stock with `brand` set to the exact brand code, for example `GARRETT`. - The parts you carry (with prices): Look up many items — up to 1000 part numbers at once. - The parts you carry (stock only): Look up stock — up to 1000 part numbers at once, a small answer. - Stock for everything (stock only): List stock; add `in_stock=1` for only what is ready to ship. About 6 requests at 5000 parts each. - One part (right now): Retrieve an item. - Parts for a vehicle (with prices or stock): List items or List stock with `year`, `make`, `model`, `engine`. Take the values from Vehicles. - The vehicles a part fits (one part or many): Fitment of one part, or List fitment for every part that has any. - An OEM or competitor number (to our part): Find by another number. - One category (parts or stock): List items or List stock with `category` set to a code from List categories; everything below that category comes with it. - Everything about a part (long text, pictures, size): Full detail — `detail=full` on one part or on a lookup. - Join to ACES / PIES data (you already load): Every answer carries the standard ids beside the names: `aaia_item_no` and `part_type_id` on a part, `base_vehicle_id` and `engine_base_id` on fitment — see The item object. - What changed about our parts (since a date): List items with `modified_since` — usually a handful of parts a day. It covers the part's record, not its price or stock. - Our brands and categories (for your own menus): List brands and List categories. There is no filter by description. Filter on your side after reading the list. [Every address] ``` GET /dealer/v1/items GET /dealer/v1/items/{no} POST /dealer/v1/items/lookup GET /dealer/v1/stock POST /dealer/v1/stock/lookup GET /dealer/v1/items/{no}/fitment GET /dealer/v1/fitment GET /dealer/v1/vehicles GET /dealer/v1/cross-references GET /dealer/v1/brands GET /dealer/v1/categories ``` ## Keeping your data current A store or a system that carries our parts needs one import and then four things on a schedule. Each kind of change has its own way of being found — no single call finds them all. - 1. First import (once): List items page by page — about 30 requests. For long descriptions and pictures, Look up many items with `detail=full`, 200 numbers at a time — for the parts you list, since the whole catalog is about 144 requests and only some 4,000 parts have a long description. List fitment (about 3 large requests at `limit=500`), List brands and List categories once each. - 2. Part changes (once a day): List items with `modified_since` set to the latest `modified_at` you have received so far — keep it from one run to the next. Do not use the clock time of your last run: a change reaches the API only the night after it was made, carrying the time it was made, so "since my last run" can skip it for good. The last part comes back again each time, which is harmless. Move your saved value forward only after every page of the run has been read and applied — if the run stops half way, keep the old value and start again. (A shortcut: always ask for the last two days. It holds only while you run every day without a gap; after a missed run, or when our nightly update is late, look back further. The saved value has no such weakness.) It returns the parts whose record changed — a new description, number, category or weight — usually a handful. Run it after 03:40 UTC, when the night's updates are in. - 3. Prices (once a day, in full): Read List items in full, or look up the parts you carry. A price can change with nothing else about the part changing — a new price list, or a sale starting or ending — so `modified_since` does not find it. `prices_as_of` tells you how fresh the prices are; `discount_ends` tells you the last day of a sale. - 4. Stock (as often as you need): List stock in full — about 6 requests — or Look up stock for the parts you carry. Stock is brought up to date several times an hour; `stock_as_of` tells you when. Prices are brought up to date once a night. - 5. Reconcile (once a week): Read the whole item list — every page, with no brand, category or vehicle setting — and only then compare it with what you hold. A part you carry that is no longer in the list is not offered at the moment: stop selling it until it is listed again. (With a filter on, a part also drops out when its brand or category changes, so compare against the unfiltered list.) Read List fitment again as well — fitment has no "changed since", and it changes rarely. ### Three traps - A scan that did not finish (decide only from a complete read): Whether a part is gone, or sold out, can only be told from a complete scan: every page read without an error, down to the one where `next_after` is `null`. A part missing from one page is on another page; a part missing because a page failed is not gone. So collect the whole answer first and apply removals and zeros afterwards — never page by page, and never from a scan that stopped early. - A part that sells out (and in_stock=1): An answer filtered with `in_stock=1` leaves out a part that has just sold out — it does not come back with a zero. If you refresh stock from such an answer, set to zero every part that is not in the complete answer — all of its pages together, not a single page. Or read without the filter: then the part is listed with `available` 0. - A failed request (is not "no such part"): Only a `404` on Retrieve an item, a number in `not_found`, or an empty list for `no=` means a part is not there. A `429`, `500` or `503` means try again later; a `401` or `403` is about the key or the account, never about the part; a `400` means the request is wrong and will fail again unchanged. Never remove or zero a part because a request failed. All of it fits well inside the rate limit: the full item list is about 29 requests and the full stock list about 6. [A day, in requests] ``` # once a day, after 03:40 UTC GET /items?modified_since= part changes GET /items?limit=1000 (+ after=…) prices, in full # as often as you need GET /stock?limit=5000 (+ after=…) stock, in full # once a week GET /items?limit=1000 (+ after=…) compare: what is gone? GET /fitment (+ after=…) fitment, again ``` ## Authentication Send the key with every request in the `Authorization` header, as a bearer token. The key is accepted nowhere else — not in the address, not in a cookie. A key starts with `iidp_` and is shown once, when it is made. Treat it like a password: keep it in your server's configuration, never in a web page or an app your customers load, and never in an e-mail. Anyone who has it reads the dealer's prices. All requests must use HTTPS. Call the API from your server; a key in a browser is a key given away. If a key may have been seen by someone else, the dealer revokes it under API keys and makes a new one. A revoked key stops working at once. A dealer can hold up to 3 active keys, so one per system can be replaced without stopping the others. [Authenticated request] ``` curl https://api.iidp.dev/dealer/v1/items?limit=1 \ -H "Authorization: Bearer iidp_YOUR_KEY" ``` [The header] ``` Authorization: Bearer iidp_YOUR_KEY ``` ## Errors A `200` means the request worked. Anything else carries a JSON body with one field, `error`, a sentence for a person to read. Decide what to do from the status code, not from the sentence. - 400s (your request): Something to fix on your side: the key, the address or the pace. - 400 (Bad Request): The body of a lookup or a stock lookup is missing or not what it expects, or a setting has a value it cannot take (a `year` that is not four digits, an empty `ref`). The sentence says what to send. - 401 (Unauthorized): No `Authorization` header, or the key is wrong or revoked. A wrong and a revoked key get the same answer. - 403 (Forbidden): The key is good, but the dealer's portal access is switched off, or the key was made for a different customer account — then the dealer makes a new key. Also: stock was asked for with a sign-in that does not show stock. - 404 (Not Found): No such part, or no such address. - 405 (Method Not Allowed): Each address takes one method: `POST` for the two lookups, `GET` for the others. `HEAD` is not supported. - 429 (Too Many Requests): More than 60 requests in one minute with this key. See Rate limits. - 500 (Internal Server Error): Something went wrong on our side. - 503 (Service Unavailable): Prices or account settings are being brought up to date. Try again in a few minutes. After a `500` or `503`, wait and try again — a few minutes, not a tight loop. [401 — no or malformed header] ``` { "error": "Missing or malformed Authorization header" } ``` [401 — wrong or revoked key] ``` { "error": "Invalid or inactive API key" } ``` [403] ``` { "error": "Portal access is switched off for this contact" } ``` [404 — unknown part] ``` { "error": "Item not found" } ``` [503] ``` { "error": "Price data is temporarily unavailable" } ``` ## Rate limits Each key may make 60 requests a minute. The count starts again at the top of every clock minute, and each key has its own 60. A request that is refused with `403` or `503` still counts. Every answer to a request with a valid key tells you where you stand: - X-RateLimit-Limit (header): Requests allowed per minute: 60. - X-RateLimit-Remaining (header): Requests left in this minute. - X-RateLimit-Reset (header): Seconds until the minute ends and the count starts again. - Retry-After (header, on a 429): Seconds to wait before the next request. When you get a `429`, wait the number of seconds in `Retry-After` and send the same request again. That wait ends at the top of the minute, so one wait is enough. Every program that uses the same key shares its 60 — give a second system its own key. You should rarely meet the limit: the list returns up to 1000 parts per request, so the whole catalog is about 30 requests. Read the list instead of asking for parts one at a time. A lookup of up to 1000 part numbers counts as one request. [Wait and retry on a 429] ``` # -i prints the answer's headers, so you can see where you stand curl -i "https://api.iidp.dev/dealer/v1/items?limit=1" \ -H "Authorization: Bearer iidp_YOUR_KEY" ``` [Headers on a 200] ``` X-RateLimit-Limit: 60 X-RateLimit-Remaining: 18 X-RateLimit-Reset: 18 ``` [429] ``` HTTP/1.1 429 Too Many Requests X-RateLimit-Limit: 60 X-RateLimit-Remaining: 0 X-RateLimit-Reset: 30 Retry-After: 30 { "error": "Rate limit reached: 60 requests per minute per key. Try again in 30 seconds." } ``` ## Pagination The list is returned in pages, in part-number order. Each answer holds the parts of one page and a cursor, `next_after`: the part number the next page starts after. To read the whole list, ask again with `after` set to the `next_after` you just received, and stop when `next_after` is `null`. Pass the value back exactly as you got it — your HTTP library should URL-encode it, since a part number can hold characters like `/` or `+`. - limit (optional, integer): How many parts per page, from 1 to 1000. 500 when left out. A value outside the range is moved to the nearest end. - after (optional, string): A part number. The page starts with the first part after it. ### The list answer - count (integer): How many parts are in this answer. - next_after (string or null): The cursor for the next page; `null` on the last page. - items (array): The parts — see The item object. [Read every page] ``` # First request curl "https://api.iidp.dev/dealer/v1/items?limit=1000" \ -H "Authorization: Bearer iidp_YOUR_KEY" # Next request: after = the next_after you just received curl "https://api.iidp.dev/dealer/v1/items?limit=1000&after=214311" \ -H "Authorization: Bearer iidp_YOUR_KEY" ``` [A page] ``` { "count": 1000, "next_after": "214311", "items": [ … ] } ``` [The last page] ``` { "count": 212, "next_after": null, "items": [ … ] } ``` ## The item object One published part. Which fields you get follows the dealer's portal settings at the time of the request: the price fields come only with a sign-in that shows prices, the stock fields only with one that shows stock. Fields you may not see are left out of the object, not set to `null`. Where a field holds an id of the Auto Care Association's standard tables — the brand's AAIA code, the category, subcategory and part type ids, the base vehicle and engine base ids on fitment — it is the same id as in the ACES and PIES data we publish. Use them to join these answers to catalog data you already load. The names beside them are for people. Amounts and quantities are JSON numbers in their shortest form (`249.5`, `50`), in US dollars. ### Always - no (string): Our part number. The key to match on. - brand (string or null): The brand code, for example `GARRETT`. A few parts have no brand. - brand_name (string or null): The brand as people write it. - description (string or null): The part's name. - upc (string or null): The UPC. - image_url (string or null): A link to the picture. - core_item_no (string or null): The part's core item, when it has a single core. - carb_eo_number (string or null): The CARB Executive Order number. - manufacturer_no (string or null): The maker's own part number, as the maker writes it — spaces included, for example `0 445 120 255`. For our own parts it is the same as `no`. - aaia_item_no (string or null): The brand's AAIA code followed by the manufacturer number without spaces, for example `BBHK0445120255` — the key many catalog systems match on, and the same one as "AAIA Brand Item No" in our price file. When we hold no manufacturer number, our own number is used instead, without its brand prefix — `BDZW408492-0003` for our `408492-0003`. `null` when the brand has no AAIA code. - category_code (string or null): The part's category, as a code from List categories, for example `12-225-5764`. - part_type_id (integer or null): The Auto Care part type (PartTerminology) id, for example `5764` for a turbocharger. Filled when the category is a part type — the third level of the tree. - modified_at (string or null): When the part's record last changed: `YYYY-MM-DD HH:MM:SS`, in UTC — unlike `prices_as_of` and `stock_as_of`, which are Mountain time. A change of price, sale, stock or fitment does not move it. ### With prices - msrp (number or null): List price. - map (number or null): Minimum advertised price. - price (number or null): What the dealer pays today — after a sale or discount that applies to them. - regular_price (number or null): The dealer's price before any sale or discount. - discount_percent (number or null): The percent off; `null` when no sale applies. - discount_ends (string or null): The last day of the sale, `YYYY-MM-DD`. - price_level (string or null): The dealer's price level, for example `WD`. - currency (string): Always `USD`. - core_price (number or null): The core charge; for a kit, the total of all its cores. `null` when the part has none. - core_bom (array or null): For a kit only: one entry per core, with `no`, `quantity`, `price_each` and `line_total`. - prices_as_of (string): When the prices were last brought up to date: `YYYY-MM-DD HH:MM:SS`, Mountain time. ### With stock - available (integer): How many are ready to ship. Never below 0. - in_stock (boolean): Whether at least one is ready to ship. - stock_as_of (string or null): When the stock was last brought up to date: `YYYY-MM-DD HH:MM:SS`, Mountain time. [The item object] ``` { "no": "739619-5004S", "brand": "GARRETT", "brand_name": "Garrett", "description": "POWERMAX GTP38R Turbocharger, Kit FORD 7.3L 99.5-03", "upc": null, "image_url": "https://cdn.shopify.com/s/files/1/0553/1956/0326/products/329901_001.jpg", "core_item_no": null, "carb_eo_number": null, "manufacturer_no": "739619-5004S", "aaia_item_no": "BDZW739619-5004S", "category_code": "12-225-5764", "part_type_id": 5764, "modified_at": "2026-11-11 18:38:56", "msrp": 3000, "map": 2100, "price": 1445, "regular_price": 1700, "discount_percent": 15, "discount_ends": "2026-12-21", "price_level": "WD", "currency": "USD", "core_price": null, "core_bom": null, "prices_as_of": "2026-11-30 20:27:02", "available": 24, "in_stock": true, "stock_as_of": "2026-12-01 09:11:02" } ``` ## List items `GET /dealer/v1/items` Try this call — dealer sign-in › (https://my.iidiesel.com/Developers/Try#listItems) Returns our published parts — the same ones the catalog on this site shows — in part-number order, a page at a time. ### Settings - brand (optional, string): One exact brand code, as returned in `brand` — not the brand name. - in_stock (optional): `1` returns only parts with at least one ready to ship. Ignored when the key's owner cannot see stock. - no (optional, string): One exact part number, answered as a list. An unknown number gives an empty list, not a 404. The safe way to ask for a part whose number holds a `/` or a space. - limit (optional, integer): Parts per page, 1 to 1000; 500 when left out. - after (optional, string): The cursor — see Pagination. - category (optional, string): A category code from List categories, for example `12-225`. Returns the parts in that category and in everything below it. An unknown code gives an empty list. - modified_since (optional, date or date and time): Only parts whose record changed at or after it: `2026-12-01` or `2026-12-01 14:30:00`. It finds a change to the part itself — description, numbers, category, weight. It does not find a part whose price, sale or stock changed, and a part that was removed does not appear. For prices and stock, read this list and List stock in full. The time is UTC; a date alone means the start of that day in UTC. Changes reach the API once a night, so ask once a day — after 03:40 UTC you get the night's record and price updates together. After maintenance on our side many parts can carry a new date at once: page through the answer like any list. Which date to send from one run to the next: see Keeping your data current — not the time of your last run. - year, make, model, engine (optional): Only parts with fitment for that vehicle. `year` is four digits; the others are matched exactly, upper and lower case aside (`Ram` does not match `Ram 2500`) — take the values from Vehicles. Only about one part in twenty-five has fitment on file, so this is a short list. - base_vehicle, engine_base (optional, whole numbers): The same filter by Auto Care id: a BaseVehicle id (one year, make and model) and an EngineBase id. They can be combined with each other and with the four text settings; everything given must match. An id we have no fitment for gives an empty list. Settings the API does not know are ignored — not refused. So a misspelled setting gives you the unfiltered list: when you add a filter, check once that the answer really is narrower. ### Returns An object with `count`, `next_after` and `items`, an array of item objects. A list nothing matches is a `200` with an empty array. [GET /dealer/v1/items] ``` curl -G https://api.iidp.dev/dealer/v1/items \ -H "Authorization: Bearer iidp_YOUR_KEY" \ -d brand=IIDP \ -d limit=1 ``` [Answer] ``` { "count": 1, "next_after": "214311", "items": [ { "no": "214311", "brand": "IIDP", "brand_name": "Industrial Injection", "description": "Industrial Injection Reman Stock 5.9L 2003-04 Injector Pack w/Connecting Tubes", "upc": "840256904734", "image_url": "https://cdn.shopify.com/s/files/1/0553/1956/0326/files/215312_new.jpg", "core_item_no": null, "carb_eo_number": null, "manufacturer_no": "214311", "aaia_item_no": "GHJV214311", "category_code": "12-315-48155", "part_type_id": 48155, "modified_at": "2026-11-11 18:12:11", "msrp": 1750, "map": 1700, "price": 1200, "regular_price": 1200, "discount_percent": null, "discount_ends": null, "price_level": "WD", "currency": "USD", "core_price": 480, "core_bom": [ { "no": "CRIC503", "quantity": 6, "price_each": 80, "line_total": 480 } ], "prices_as_of": "2026-11-30 20:27:02", "available": 0, "in_stock": false, "stock_as_of": "2026-12-01 09:11:02" } ] } ``` [400 — ?year=04] ``` { "error": "year must be four digits, like 2004" } ``` [?modified_since=2026-11-30 — four parts changed since] ``` { "count": 4, "next_after": null, "items": [ … ] } ``` [400 — ?base_vehicle=abc] ``` { "error": "base_vehicle must be a whole number, like 17862" } ``` [400 — ?modified_since=yesterday] ``` { "error": "modified_since must be a date like 2026-12-01, or a date and time like 2026-12-01 14:30:00" } ``` ## Retrieve an item `GET /dealer/v1/items/{no}` Try this call — dealer sign-in › (https://my.iidiesel.com/Developers/Try#getItem) Returns one published part by our part number. ### Settings - no (in the address): The part number, URL-encoded. For a number that holds a `/` or a space, use List items with `no=` instead. ### Returns The item object, or a `404` when there is no published part with that number. To bring a whole catalog up to date, read the list — one request per part runs into the rate limit quickly. [GET /dealer/v1/items/{no}] ``` curl https://api.iidp.dev/dealer/v1/items/739619-5004S \ -H "Authorization: Bearer iidp_YOUR_KEY" ``` [Answer] ``` { "no": "739619-5004S", "brand": "GARRETT", "brand_name": "Garrett", "description": "POWERMAX GTP38R Turbocharger, Kit FORD 7.3L 99.5-03", "upc": null, "image_url": "https://cdn.shopify.com/s/files/1/0553/1956/0326/products/329901_001.jpg", "core_item_no": null, "carb_eo_number": null, "manufacturer_no": "739619-5004S", "aaia_item_no": "BDZW739619-5004S", "category_code": "12-225-5764", "part_type_id": 5764, "modified_at": "2026-11-11 18:38:56", "msrp": 3000, "map": 2100, "price": 1445, "regular_price": 1700, "discount_percent": 15, "discount_ends": "2026-12-21", "price_level": "WD", "currency": "USD", "core_price": null, "core_bom": null, "prices_as_of": "2026-11-30 20:27:02", "available": 24, "in_stock": true, "stock_as_of": "2026-12-01 09:11:02" } ``` ## Look up many items `POST /dealer/v1/items/lookup` Try this call — dealer sign-in › (https://my.iidiesel.com/Developers/Try#lookupItems) Returns the parts for a list of part numbers you send — the quick way to refresh the parts you carry without reading the whole catalog. It only reads; it is a `POST` because a thousand part numbers do not fit in an address. ### Body JSON, with the header `Content-Type: application/json`. - nos (required, array of strings): 1 to 1000 part numbers. Upper and lower case do not matter; a number sent twice comes back once; blank entries are dropped. ### Returns - count (integer): How many parts were found. - items (array): The item objects, in part-number order — with the same fields the list gives this key. - not_found (array of strings): The numbers that are not published parts, as you sent them. One lookup counts as one request against the rate limit, however many numbers it carries. A body that is missing, not JSON, without `nos` (or with only blank entries), with more than 1000 numbers or with an entry that is not a part number gets a `400`. A lookup that finds nothing is a `200` with an empty `items` and every number in `not_found`. [POST /dealer/v1/items/lookup] ``` curl https://api.iidp.dev/dealer/v1/items/lookup \ -H "Authorization: Bearer iidp_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"nos": ["214311", "739619-5004s", "NOSUCHPART"]}' ``` [Answer] ``` { "count": 2, "items": [ { "no": "214311", "brand": "IIDP", "brand_name": "Industrial Injection", "description": "Industrial Injection Reman Stock 5.9L 2003-04 Injector Pack w/Connecting Tubes", "upc": "840256904734", "image_url": "https://cdn.shopify.com/s/files/1/0553/1956/0326/files/215312_new.jpg", "core_item_no": null, "carb_eo_number": null, "manufacturer_no": "214311", "aaia_item_no": "GHJV214311", "category_code": "12-315-48155", "part_type_id": 48155, "modified_at": "2026-11-11 18:12:11", "msrp": 1750, "map": 1700, "price": 1200, "regular_price": 1200, "discount_percent": null, "discount_ends": null, "price_level": "WD", "currency": "USD", "core_price": 480, "core_bom": [ { "no": "CRIC503", "quantity": 6, "price_each": 80, "line_total": 480 } ], "prices_as_of": "2026-11-30 20:27:02", "available": 0, "in_stock": false, "stock_as_of": "2026-12-01 09:11:02" }, { "no": "739619-5004S", "brand": "GARRETT", "brand_name": "Garrett", "description": "POWERMAX GTP38R Turbocharger, Kit FORD 7.3L 99.5-03", "upc": null, "image_url": "https://cdn.shopify.com/s/files/1/0553/1956/0326/products/329901_001.jpg", "core_item_no": null, "carb_eo_number": null, "manufacturer_no": "739619-5004S", "aaia_item_no": "BDZW739619-5004S", "category_code": "12-225-5764", "part_type_id": 5764, "modified_at": "2026-11-11 18:38:56", "msrp": 3000, "map": 2100, "price": 1445, "regular_price": 1700, "discount_percent": 15, "discount_ends": "2026-12-21", "price_level": "WD", "currency": "USD", "core_price": null, "core_bom": null, "prices_as_of": "2026-11-30 20:27:02", "available": 24, "in_stock": true, "stock_as_of": "2026-12-01 09:11:02" } ], "not_found": [ "NOSUCHPART" ] } ``` [400 — no usable body] ``` { "error": "Send a JSON body like {\"nos\": [\"PART-1\", \"PART-2\"]}" } ``` ## Full detail `GET /dealer/v1/items/{no}?detail=full` `POST /dealer/v1/items/lookup?detail=full` Try this call — dealer sign-in › (https://my.iidiesel.com/Developers/Try#lookupItems?detail=full) Add `detail=full` to Retrieve an item or to Look up many items and every item object gains the fields below, after the usual ones. The lists ignore the setting, so they stay light. A lookup with `detail=full` takes at most 200 part numbers instead of 1000 — one long description can run to tens of thousands of characters. Most of these fields are filled for only part of our catalog: a long description for about one part in seven, weight for about as many, pictures for fewer. A field we have nothing for is `null` (or an empty list) — plan for that. ### The added fields - description_long (string or null): The long description as plain text; lines are separated by a line break. Never HTML — escape it like any other text when you print it. - images (array of strings): Links to every picture, in order. The first is normally the same as `image_url`. Empty when there is none. - category (object or null): `code`, `name` and `path` — the category and each level above it, top first, each with `code` and `name`. Each also has `aaia_id`, the Auto Care id of that level (category, subcategory, part type), and the category itself a `definition`: Auto Care's description of the part type, or `null`. - weight_lb (number or null): Weight of one, in pounds. - length_in, width_in, height_in (numbers or null): Size of one, in inches. All three are given or none. - country_of_origin (string or null): A country code, for example `MX`. - no_california (boolean): A flag from the part's record. It is not documented yet — do not build on it until this page says what it means. - year_from, year_to (integers or null): The model years the part is made for. - part_make (string or null): The make in the part's application line on this site, for example `Cummins`. - part_department (string or null): The department, as on a part page of this site — for example `Injectors`. - part_group (string or null): The group within the department, as on a part page of this site. - performance_product (boolean): True for a performance part. Any other value of `detail` is a `400`. [GET /dealer/v1/items/{no}?detail=full] ``` curl -G https://api.iidp.dev/dealer/v1/items/214311 \ -H "Authorization: Bearer iidp_YOUR_KEY" \ --data-urlencode "detail=full" ``` [The added fields of 214311 (the usual ones come first; the description is cut here)] ``` { "description_long": "This is an all in one injector kit for your 2003-2004 5.9L Cummins!\nThis kit includes SIX of our Stock Reman injectors and SIX Bosch connecting tubes.\n…\nFEATURES:\n- Built With Brand New Factory OEM Parts\n- Factory Replacement\n- 2 year Unlimited Mileage Warranty", "images": [ "https://cdn.shopify.com/s/files/1/0553/1956/0326/files/215312_new.jpg", "https://cdn.shopify.com/s/files/1/0553/1956/0326/files/1572x6.jpg", "https://cdn.shopify.com/s/files/1/0553/1956/0326/products/214311_001.jpg" ], "category": { "code": "12-315-48155", "name": "Fuel Injector Kit", "path": [ { "code": "12", "name": "Air and Fuel Delivery", "aaia_id": 12 }, { "code": "12-315", "name": "Service Kits", "aaia_id": 315 }, { "code": "12-315-48155", "name": "Fuel Injector Kit", "aaia_id": 48155 } ], "aaia_id": 48155, "definition": null }, "weight_lb": 11, "length_in": 14, "width_in": 14, "height_in": 4, "country_of_origin": null, "no_california": false, "year_from": 2003, "year_to": 2004, "part_make": "Cummins", "part_department": "Injectors", "part_group": "II Reman Injectors", "performance_product": false } ``` [A category with a definition (739619-5004S)] ``` { "category": { "code": "12-225-5764", "name": "Turbocharger", "path": [ { "code": "12", "name": "Air and Fuel Delivery", "aaia_id": 12 }, { "code": "12-225", "name": "Turbocharger, Supercharger and Ram Air", "aaia_id": 225 }, { "code": "12-225-5764", "name": "Turbocharger", "aaia_id": 5764 } ], "aaia_id": 5764, "definition": "A complete turbocharger assembly." } } ``` [400 — ?detail=all] ``` { "error": "detail must be \"full\" or left out" } ``` ## Prices and discounts `price` is what the dealer pays for the part today. When a sale or discount applies to them, `price` is the price after it, `regular_price` the price before it, and `discount_percent` and `discount_ends` say how much and until which day. With no sale, `price` equals `regular_price` and the two discount fields are `null`. These are the same figures the dealer sees on a part page of this site. Sales start and end, so read prices again before you rely on them — at least daily, and on the day after `discount_ends`. `msrp` and `map` are the same for every dealer. A dealer account without a dealer price level gets those two and `null` for `price`, `regular_price` and `price_level`. The core charge is never part of `price`. The dealer's cart on this site always shows the final price of an order. [On sale] ``` { "no": "739619-5004S", "price": 1445, "regular_price": 1700, "discount_percent": 15, "discount_ends": "2026-12-21" } ``` [Not on sale] ``` { "no": "214311", "price": 1200, "regular_price": 1200, "discount_percent": null, "discount_ends": null } ``` ## Core charges and kits Many remanufactured parts carry a core charge: a deposit that is credited when the old part comes back. `core_price` is that charge for one of the part, separate from `price`. A kit can carry several cores. Then `core_bom` lists them and `core_price` is their total: - core_bom[].no (string): The core's item number. - core_bom[].quantity (number): How many of that core the kit carries. - core_bom[].price_each (number): The charge for one of that core. - core_bom[].line_total (number): `quantity` × `price_each`, rounded to the cent. For a part that is not a kit, `core_bom` is `null`; for a part with no core at all, `core_price` is `null` too. What the dealer pays up front is `price` + `core_price`. [A kit with six cores] ``` { "no": "214311", "price": 1200, "core_price": 480, "core_bom": [ { "no": "CRIC503", "quantity": 6, "price_each": 80, "line_total": 480 } ] } ``` ## List stock `GET /dealer/v1/stock` Try this call — dealer sign-in › (https://my.iidiesel.com/Developers/Try#listStock) Returns only what is ready to ship, for every published part — a small, fast answer for keeping stock up to date between full catalog reads. The figures are the same as `available` and `in_stock` in the item object. Only for a key whose owner's sign-in shows stock; otherwise the answer is a `403`. ### Settings - brand (optional, string): One exact brand code. - in_stock (optional): `1` returns only parts with at least one ready to ship. - limit (optional, integer): Parts per page, 1 to 5000; 1000 when left out. - after (optional, string): The cursor — see Pagination. Paging works exactly as in the item list. - year, make, model, engine (optional): Only parts with fitment for that vehicle, as in List items. `base_vehicle` and `engine_base` work here too. - category (optional, string): A category code; the parts in it and below it, as in List items. ### Returns - count (integer): How many parts are in this answer. - next_after (string or null): The cursor for the next page; `null` on the last page. - items[].no (string): Our part number. - items[].available (integer): How many are ready to ship. Never below 0. - items[].in_stock (boolean): Whether at least one is ready to ship. - items[].stock_as_of (string or null): When the stock was last brought up to date, Mountain time. [GET /dealer/v1/stock] ``` curl -G https://api.iidp.dev/dealer/v1/stock \ -H "Authorization: Bearer iidp_YOUR_KEY" \ -d limit=3 ``` [Answer (limit=3)] ``` { "count": 3, "next_after": "-12TOMBSTONEANLOCKR", "items": [ { "no": "-10TOMBSTONEANLOCKR", "available": 12, "in_stock": true, "stock_as_of": "2026-12-01 10:11:02" }, { "no": "-12TOMBSTONEANLOCKB", "available": 0, "in_stock": false, "stock_as_of": "2026-12-01 10:11:02" }, { "no": "-12TOMBSTONEANLOCKR", "available": 3, "in_stock": true, "stock_as_of": "2026-12-01 10:11:02" } ] } ``` [The last page] ``` { "count": 0, "next_after": null, "items": [] } ``` [403] ``` { "error": "Stock is not shown for this contact" } ``` ## Look up stock `POST /dealer/v1/stock/lookup` Try this call — dealer sign-in › (https://my.iidiesel.com/Developers/Try#lookupStock) Returns what is ready to ship for a list of part numbers you send — the smallest answer for keeping the stock of the parts you carry up to date. It is Look up many items with the stock row in place of the item object. Only for a key whose owner's sign-in shows stock; otherwise the answer is a `403`. ### Body JSON, with the header `Content-Type: application/json`. - nos (required, array of strings): 1 to 1000 part numbers. Upper and lower case do not matter; a number sent twice comes back once; blank entries are dropped. ### Returns - count (integer): How many parts were found. - items (array): One row per part found, in part-number order: `no`, `available`, `in_stock`, `stock_as_of` — the same row as List stock. - not_found (array of strings): The numbers that are not published parts, as you sent them. There is no paging: one answer holds at most 1000 rows. One lookup counts as one request against the rate limit. A body that is not a proper list of part numbers gets a `400`, as in the item lookup. A lookup that finds nothing is a `200` with an empty `items` and every number in `not_found`. [POST /dealer/v1/stock/lookup] ``` curl https://api.iidp.dev/dealer/v1/stock/lookup \ -H "Authorization: Bearer iidp_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '{"nos": ["214311", "739619-5004s", "NOSUCHPART"]}' ``` [Answer] ``` { "count": 2, "items": [ { "no": "214311", "available": 0, "in_stock": false, "stock_as_of": "2026-12-01 10:11:02" }, { "no": "739619-5004S", "available": 24, "in_stock": true, "stock_as_of": "2026-12-01 10:11:02" } ], "not_found": [ "NOSUCHPART" ] } ``` ## Fitment of one part `GET /dealer/v1/items/{no}/fitment` Try this call — dealer sign-in › (https://my.iidiesel.com/Developers/Try#getItemFitment) Returns the vehicles one published part fits, one row per vehicle and engine, ordered by make, model, year and engine. Any working key may ask; no price or stock right is needed. Fitment is on file for about 1,100 of our parts. A part without fitment rows is not a part that fits nothing — it means we have not recorded it. Do not hide such parts from your customers. Fitment is also updated less often than prices and stock. ### Returns - no (string): The part number. - count (integer): How many rows follow. 0 for a part with no fitment on file. - vehicles[].year (integer or null): Model year. - vehicles[].make (string or null): For example `Dodge`. - vehicles[].model (string or null): For example `Ram 2500`. - vehicles[].engine (string or null): The engine as stored — the value to send back as the `engine` setting. - vehicles[].engine_label (string or null): The engine as this site shows it to people. - vehicles[].note (string or null): A remark on the fit. - vehicles[].base_vehicle_id (integer): The Auto Care BaseVehicle id. One id is exactly one year, make and model. - vehicles[].engine_base_id (integer or null): The Auto Care EngineBase id; `null` on the few rows without one. The rows are not grouped or folded into year ranges; do that on your side if you want "2003–2004". An unknown part is a `404`. [GET /dealer/v1/items/{no}/fitment] ``` curl https://api.iidp.dev/dealer/v1/items/214311/fitment \ -H "Authorization: Bearer iidp_YOUR_KEY" ``` [Answer] ``` { "no": "214311", "count": 4, "vehicles": [ { "year": 2003, "make": "Dodge", "model": "Ram 2500", "engine": "5.9L 6Cyl L (-)(359)", "engine_label": "5.9L 6-cyl L", "note": "HO Condition: Reman", "base_vehicle_id": 1988, "engine_base_id": 1126 }, { "year": 2004, "make": "Dodge", "model": "Ram 2500", "engine": "5.9L 6Cyl L (-)(359)", "engine_label": "5.9L 6-cyl L", "note": "HO Condition: Reman", "base_vehicle_id": 17862, "engine_base_id": 1126 }, { "year": 2003, "make": "Dodge", "model": "Ram 3500", "engine": "5.9L 6Cyl L (-)(359)", "engine_label": "5.9L 6-cyl L", "note": "HO Condition: Reman", "base_vehicle_id": 2003, "engine_base_id": 1126 }, { "year": 2004, "make": "Dodge", "model": "Ram 3500", "engine": "5.9L 6Cyl L (-)(359)", "engine_label": "5.9L 6-cyl L", "note": "HO Condition: Reman", "base_vehicle_id": 17863, "engine_base_id": 1126 } ] } ``` [A part with no fitment on file] ``` { "no": "739619-5004S", "count": 0, "vehicles": [] } ``` ## List fitment `GET /dealer/v1/fitment` Try this call — dealer sign-in › (https://my.iidiesel.com/Developers/Try#listFitment) Returns fitment for many parts, a page of parts at a time, in part-number order. Only parts that have fitment appear. ### Settings - year, make, model, engine (optional): Only parts that fit that vehicle — each still listed with all its vehicles. Values as in Vehicles. Or by Auto Care id: `base_vehicle`, `engine_base`. - no (optional, string): One exact part number — the way to ask for a number that holds a `/` or a space. - limit (optional, integer): Parts per page, 1 to 500; 100 when left out. - after (optional, string): The cursor — see Pagination. ### Returns - count (integer): How many parts are in this answer. - next_after (string or null): The cursor for the next page; `null` on the last page. - items (array): One entry per part: `no`, `count` and `vehicles`, as in Fitment of one part. On each entry `count` is that part's vehicles; on the answer it is the parts in the page. A part can fit hundreds of vehicles, so a page can be large — about 190 KB at the default of 100 parts; lower `limit` if answers get heavy. [GET /dealer/v1/fitment] ``` curl -G https://api.iidp.dev/dealer/v1/fitment \ -H "Authorization: Bearer iidp_YOUR_KEY" \ --data-urlencode "year=2004" \ --data-urlencode "make=Dodge" \ --data-urlencode "limit=1" ``` [Answer (limit=1) — the part fits 2004 to 2007, and all eight rows come back] ``` { "count": 1, "next_after": "0433175516-R1", "items": [ { "no": "0433175516-R1", "count": 8, "vehicles": [ … eight rows, Ram 2500 and Ram 3500 of 2004 to 2007, each as in Fitment of one part … ] } ] } ``` ## Vehicles `GET /dealer/v1/vehicles` Try this call — dealer sign-in › (https://my.iidiesel.com/Developers/Try#listVehicles) Returns the values for a year / make / model / engine picker, each with the number of published parts that fit. Send what your user has chosen so far and each list is narrowed by the other three choices — the same way the vehicle lookup on this site works. With 2004 and Dodge chosen, `years` are the years Dodge has parts for, `makes` the makes with parts for 2004, and `models` and `engines` those of a 2004 Dodge. With nothing chosen you get all four full lists. ### Settings - year, make, model, engine (optional): The choices made so far. `base_vehicle` and `engine_base` are taken as well. ### Returns - years (array): `value` (an integer) and `parts`, newest year first. - makes (array): `value` and `parts`, A to Z. - models (array): `value` and `parts`, A to Z. - engines (array): `value`, `label` and `parts`, A to Z. Show `label` to people; send `value` back as the setting. Each also has `engine_base_ids`, the Auto Care EngineBase ids that name stands for — usually one. [GET /dealer/v1/vehicles] ``` curl -G https://api.iidp.dev/dealer/v1/vehicles \ -H "Authorization: Bearer iidp_YOUR_KEY" \ --data-urlencode "year=2004" \ --data-urlencode "make=Dodge" ``` [Answer for a 2004 Dodge (long lists cut)] ``` { "years": [ { "value": 2010, "parts": 173 }, { "value": 2009, "parts": 167 }, … { "value": 1989, "parts": 47 } ], "makes": [ { "value": "Audi", "parts": 8 }, { "value": "Chevrolet", "parts": 144 }, { "value": "Dodge", "parts": 222 }, … ], "models": [ { "value": "Ram 2500", "parts": 222 }, { "value": "Ram 3500", "parts": 221 } ], "engines": [ { "value": "5.9L 6Cyl L (-)(359)", "label": "5.9L 6-cyl L", "engine_base_ids": [1126], "parts": 222 } ] } ``` ## Find by another number `GET /dealer/v1/cross-references` Try this call — dealer sign-in › (https://my.iidiesel.com/Developers/Try#findByCrossReference) Returns our published parts for an OEM or competitor part number. Everything but letters and digits is ignored — spaces, dashes, dots, slashes — and so is upper or lower case; what is left must match a number we have on file exactly. There is no search by the start of a number. Our own part number written without its punctuation is found the same way. ### Settings - ref (required, string): The other maker's number, up to 100 characters, with at least one letter or digit. ### Returns - ref (string): The number as you sent it. - ref_normalized (string): The number as it was matched: letters and digits only, upper case. - count (integer): How many of our parts match. One number often points at several parts — new, remanufactured, sets. - items (array): The item objects, in part-number order, at most 100 — with the fields this key may see. No match is a `200` with `count` 0. A missing or empty `ref` is a `400`. About 5,200 of our parts have cross references on file, and the list is not complete: a number we do not find may still have a part of ours. The API does not list a part's reference numbers. [GET /dealer/v1/cross-references] ``` curl -G https://api.iidp.dev/dealer/v1/cross-references \ -H "Authorization: Bearer iidp_YOUR_KEY" \ --data-urlencode "ref=0445-120 018" ``` [Answer — one number, twenty of our parts] ``` { "ref": "0445-120 018", "ref_normalized": "0445120018", "count": 20, "items": [ … ] } ``` [No match] ``` { "ref": "NOSUCHREF000", "ref_normalized": "NOSUCHREF000", "count": 0, "items": [] } ``` ## List brands `GET /dealer/v1/brands` Try this call — dealer sign-in › (https://my.iidiesel.com/Developers/Try#listBrands) Returns every brand that has at least one published part, in code order. No settings, no paging. ### Returns - count (integer): How many brands follow. - items[].code (string): The brand code — what the `brand` setting of the lists takes. - items[].name (string): The brand as people write it. - items[].aaia_code (string or null): The brand's AAIA code. - items[].parts (integer): Published parts of that brand. [GET /dealer/v1/brands] ``` curl https://api.iidp.dev/dealer/v1/brands \ -H "Authorization: Bearer iidp_YOUR_KEY" ``` [Answer (cut)] ``` { "count": 75, "items": [ { "code": "ABP", "name": "Absolute Parts", "aaia_code": null, "parts": 2 }, { "code": "ACCY", "name": "Misc accy, gauges, etc.", "aaia_code": null, "parts": 6 }, { "code": "ACD", "name": "ACDelco", "aaia_code": null, "parts": 2 }, … ] } ``` ## List categories `GET /dealer/v1/categories` Try this call — dealer sign-in › (https://my.iidiesel.com/Developers/Try#listCategories) Returns our category tree as a flat list, each parent before its children. Only categories with a published part in them or below them are listed. No settings, no paging. ### Returns - count (integer): How many categories follow. - items[].code (string): The category code — what the `category` setting of the lists takes. A child's code starts with its parent's: `12` Air and Fuel Delivery, `12-225` Turbocharger, Supercharger and Ram Air, `12-225-5764` Turbocharger. - items[].name (string): The category's name. - items[].parent_code (string or null): The code one level up; `null` at the top. - items[].level (integer): 1 at the top. There are three levels today. - items[].parts (integer): Published parts in the category and in everything below it. - items[].aaia_id (integer): The Auto Care id of the entry: the category id at level 1, the subcategory id at level 2, the part type (PartTerminology) id at level 3. It is the last piece of `code`. [GET /dealer/v1/categories] ``` curl https://api.iidp.dev/dealer/v1/categories \ -H "Authorization: Bearer iidp_YOUR_KEY" ``` [Answer (cut)] ``` { "count": 610, "items": [ { "code": "1", "name": "Accessories and Fluids", "parent_code": null, "level": 1, "parts": 37, "aaia_id": 1 }, { "code": "1-112", "name": "Appearance Products", "parent_code": "1", "level": 2, "parts": 2, "aaia_id": 112 }, { "code": "1-112-5315", "name": "Engine Dress Up Kit", "parent_code": "1-112", "level": 3, "parts": 2, "aaia_id": 5315 }, … ] } ``` [400 — ?category=12/225 on a list] ``` { "error": "category must be a category code, like 12-225" } ``` ## For programs and AI tools This page is written for people. The same information is also there in forms that programs and AI assistants read better. - Try it in your browser (for signed-in dealers): Build a call, see the code for it, and run it with your own key (https://my.iidiesel.com/Developers/Try) — without writing anything first. It needs a dealer sign-in on this site. The forms are made from the description below, so they always match the API. - This page as plain text (/Developers.txt): The whole reference as plain text (https://my.iidiesel.com/Developers.txt), with the samples in cURL. Paste it into an AI assistant or a coding tool, or let the tool fetch it, when you want help writing against the API. - Machine-readable description (OpenAPI 3.1): Every call, setting, field and refusal in one file that programs read: https://api.iidp.dev/dealer/v1/openapi.json. No key is needed to fetch it. Load it into an API client, a code generator or a tool that builds its calls from such a file. ### Before you give a key to an AI tool An assistant that holds a key reads what the key reads — the dealer's prices and our stock included — for whoever is using that assistant. So: - One key per tool (make a separate key): Label it with the tool's name. If the tool is dropped or the key may have leaked, revoke that one key and nothing else stops. - Never in a prompt or a shared chat (configuration only): Put the key in the tool's settings or your server's configuration, not into a conversation, a document or a web page. - It only reads (nothing can be ordered or changed): The API has no call that writes. An assistant can look things up; it cannot place an order or change your account. - It counts like any client (60 requests a minute per key): An assistant that loops will meet the rate limit. Point it at Which call to use. Answers are data, not advice. Fitment is on file for only part of our catalog, and a price is right at the moment it is read — have a person confirm fit and price before an order depends on them. [For an AI assistant or a coding tool] ``` Read https://my.iidiesel.com/Developers.txt and write a script that … ``` [The description] ``` curl https://api.iidp.dev/dealer/v1/openapi.json ``` ## Changes and versions This is version 1 of the API — the `v1` in every address. Within version 1 we add calls, settings and fields as we go, without notice. We do not remove or rename a call or a field within version 1. A change of that kind would come as a new version, at a new address. So build your code to ignore what it does not know: a field it has not seen before, a new entry in a list. The one exception is a field this page marks as not documented yet — do not build on it. ### What the promise does not cover - Order (of fields): The order of the fields in an object can change. Read fields by name. - Limits (rate, page sizes, lookup sizes): The rate limit, the page sizes and their defaults, and the most part numbers a lookup takes can change. The answer's headers and the `400` sentences always state the current ones. - Error sentences (the text in error): They are written for people and can be reworded. Act on the status code — see Errors. - Values (what a field holds): A field that is `null` today can be filled tomorrow, and a field such as `price_level` can take a value it does not take today. ### What changed - December 1, 2026 (try it): A page for signed-in dealers to build and run calls in the browser: Try it (https://my.iidiesel.com/Developers/Try). - December 1, 2026 (machine-readable description): An OpenAPI 3.1 description of every call, served by the API without a key — see For programs and AI tools. - December 1, 2026 (Auto Care ids): `category_code` and `part_type_id` on every item, `aaia_id` on categories, `base_vehicle_id` and `engine_base_id` on fitment, `engine_base_ids` on vehicles, and the `base_vehicle` and `engine_base` settings. - December 1, 2026 (manufacturer number, changed since): `manufacturer_no`, `aaia_item_no` and `modified_at` on every item; the `modified_since` setting on List items (changes to the part's record only). - December 1, 2026 (full detail, brands, categories): Full detail with `detail=full`; List brands; List categories; the `category` setting on the item and stock lists. - December 1, 2026 (fitment and cross references): Fitment of one part, List fitment, Vehicles, Find by another number; the `year`, `make`, `model`, `engine` settings on the item and stock lists. - December 1, 2026 (lookups and stock): Look up many items, List stock, Look up stock. For kits, `core_price` became the total of the kit's cores and `core_bom` was added. - December 1, 2026 (discount end date): When two discounts of the same percent apply to a part, `discount_ends` is the later of their last days. - December 1, 2026 (rate limit): 60 requests a minute per key, with the `X-RateLimit` headers and `429`. - December 1, 2026 (first release): List items and Retrieve an item, with prices, sale prices and stock. [The version is in the address] ``` https://api.iidp.dev/dealer/v1 ```