---
title: "The parts-ordering card for a VIN."
method: GET
path: "/v1/vin/{vin}/parts-card"
tags: ["VIN"]
---

# The parts-ordering card for a VIN.

`GET /v1/vin/{vin}/parts-card`

## Request

- Base URL: `https://open.wenmarpro.com`
- URL: `https://open.wenmarpro.com/v1/vin/{vin}/parts-card`
- Auth: none declared

What a parts counter asks for, one line each, and where each line came
from: the decode, the catalog engine when the decode settles it, the
emission standard when EPA's file was matched to that engine, and the
build dates a recall campaign names for the model year. A build-date
line is the range a campaign covers, not this vehicle's build date.
`text` is the card as plain text, ready to paste. Works without shop
data: the lines that need it are then left off.

## Path parameters

- `vin` string, required

## Query parameters

- `year` integer

## Response `200`

The card.

- PartsCard: What a parts counter asks for about one vehicle.
  - `attribution` string[], required
  - `engine_settled` boolean, required: Whether the decode settled one catalog engine. The catalog engine and emission standard lines are there only when it did.
  - `lines` PartsCardLine[], required
    - `label` string, required
    - `source` string, required: Where the line came from.
    - `value` string, required
  - `text` string, required: The lines as plain text, one `Label: value` each.
  - `vehicle` RecallVehicle: The model year an answer is about.
    - `id` string, required: The id of the year, make and model.
    - `make` string, required
    - `model` string, required
    - `year` integer, required
  - `vin` string, required
  - `warnings` Warning[], required
    - `code` string, required: `invalid_check_digit`, `model_year_unknown`, `no_patterns` or `model_unresolved`. More may be added.
    - `message` string, required
    - `suggestions` string[]: VINs the caller may have meant.

## Other responses

- `400`: `invalid_vin`, or `validation_failed` for `year`.
- `404`: `not_found`: no manufacturer is registered for the first three characters.

---

[API](https://skmtc.dev/wenmarpro/apis/wenmar-open.md) · [All operations](https://skmtc.dev/wenmarpro/apis/wenmar-open/llms.txt) · [OpenAPI document](https://skmtc.dev/wenmarpro/apis/wenmar-open/revisions/1027b548b6f0?raw)
