Skip to main content
GET
/
inventory
/
suppliers
/
list
List Suppliers
curl --request GET \
  --url https://api.decodahealth.com/inventory/suppliers/list \
  --header 'API-KEY: <api-key>' \
  --header 'TENANT: <tenant>'
{
  "data": [
    {
      "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
    }
  ],
  "total": 123
}

Headers

TENANT
string
required

The tenant you are making this request on behalf of

API-KEY
string
required

Your api key

Query Parameters

name
string | null

Name of the supplier

is_archived
boolean | null
default:false

Archived status of the supplier

city
string | null

City of the supplier

state
string | null

State of the supplier

per_page
integer

Number of suppliers per page

page
integer
default:1

Page number to retrieve

Response

Successful Response

data
Supplier · object[]
required
total
integer
required