For the complete documentation index, see llms.txt. This page is also available as Markdown.

🖼️Product Image

Endpoint: /image/:id

API URL

Request Method: GET

Header Parameters

parameter
type
definition

Authorization

string

Request Parameters

parameter
type
definition
compulsory

id

integer

The unique product ID assigned to the drug. This information can be retrieved from the id field in the /products endpoint.

yes

Response Parameter

data

Responses contain the following parameters wrapped within the "data" envelope:

parameter
type
definition

product

product

image

image

product

parameter
type
definition

id

integer

product unique id

name

string

Product name (constructed in the format: drug + drug form + product).

image

parameter
type
definition

url

string

URL for the image of the medicine

curl Request Example

postman Request Example

Response Example

Last updated