The get-by-ID endpoint retrieves a single product from the in-memory store using its numeric identifier. If the provided ID does not match any existing product, the API returns a 404 response withDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/ricpalomino/spring-boot/llms.txt
Use this file to discover all available pages before exploring further.
data set to null.
Path parameters
The numeric ID of the product to retrieve. Must be a positive integer that corresponds to an existing product.
Request
Response fields
HTTP status code as a string (e.g.,
"200", "404").Human-readable message describing the result.
The matched product object, or
null when the product is not found.