Get Image GET Endpoint
Our GET endpoint allows you to search for an image using a product's style code.
Route
/api/image/{style_code}
Header
Authorization: Bearer {Your API Key}
Responses
You will receive one of the following responses:
400Input validation failed.200Image not found.200Results with image.
This endpoint does not accept any query parameters. You simply input the style code into the route to get the relevant image.
Please note that the response with a 200 status code indicating that the image was found will return the image as a binary data stream. This stream can be converted to an image in the frontend of your application.