Skip to main content
GET
/
inventory
/
suppliers
/
{id}
Get Supplier
curl --request GET \
  --url https://api.decodahealth.com/inventory/suppliers/{id} \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
{
  "name": "<string>",
  "id": "<string>",
  "description": "<string>",
  "website": "<string>",
  "email": "<string>",
  "preferredContactMethod": "<string>",
  "phoneNumber": "<string>",
  "addressLineOne": "<string>",
  "addressLineTwo": "<string>",
  "city": "<string>",
  "state": "<string>",
  "zipCode": "<string>",
  "country": "<string>",
  "isArchived": false
}

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

Successful Response

name
string
required

Name of the supplier

id
string

Unique identifier for the supplier

description
string | null

Optional description of the supplier

website
string | null

Optional website of the supplier

email
string | null

Optional email of the supplier

preferredContactMethod
string | null

Optional preferred contact method

phoneNumber
string | null

Optional phone number of the supplier

addressLineOne
string | null

Optional first line of address

addressLineTwo
string | null

Optional second line of address

city
string | null

Optional city

state
string | null

Optional state or province

zipCode
string | null

Optional ZIP or postal code

country
string | null

Optional country

isArchived
boolean
default:false

Whether the supplier is archived