GET
/
v1
/
item
/
get
/
{id}
curl --request GET \
  --url https://api.decodahealth.com/v1/item/get/{id} \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
{
  "description": "<string>",
  "id": "<string>",
  "image": "<string>",
  "meta": {},
  "name": "<string>",
  "price": 123,
  "unit": "<string>"
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Path Parameters

id
string
required

Response

200
application/json
Successful Response
id
string
required

Unique identifier for the item

name
string
required

Name of the item

price
integer
required

Price of the item in cents

description
string | null

Optional description of the item

image
string | null

Optional URL to an image of the item

meta
object | null

Any additional metadata about the item relevant to your system.

unit
string | null

Optional unit of measurement for the item