Dealership

Retrieve a vehicle stock by number

Returns the vehicle stock carrying number number in year year (the year of its document date) — the number shown in the app, e.g. 12/2026.

The response is identical to GET /v1/vehicle-stocks/{id}. A number that matches more than one document (repeated in historical data) returns 409 ambiguous_number with their ids in candidates.

get/v1/vehicle-stocks/by-number/{year}/{number}

Request

  • Base URL: https://api.officina.it
  • URL: https://api.officina.it/v1/vehicle-stocks/by-number/{year}/{number}
  • Auth: HTTP bearer

Response

The vehicle stock, exactly as retrieving it by id returns it.

Changes

No recorded changes to this operation across all 1 revision of this API.