Get Suppliers

Allowed Scopes: supplier:read

Returns suppliers existing in the Spendesk entity (company). Supplier data is cached for up to 24 hours; supplier account data (used for accountPayable) is cached for up to 20 minutes. Changes made through the API are returned by subsequent reads; changes made in Spendesk can take up to 24 hours to appear.

Pass include=externalIds to embed the IDs each supplier has in external systems (ERPs). It is opt-in because it costs one additional lookup per request.

Filter with externalIds to return only the suppliers carrying given external IDs, optionally narrowed to one provider. Suppliers with no matching mapping are excluded, so an external ID that matches nothing yields an empty page rather than every supplier.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
integer
≥ 1
Defaults to 1

Page number

integer
1 to 30
Defaults to 30

Page size

ids
array of strings

Supplier IDs to filter by.

ids

Free-text supplier search, for example by supplier name.

date-time

String containing a UTC datetime expressed in ISO 8601 format like 2023-05-12T14:06:40Z.

date-time

String containing a UTC datetime expressed in ISO 8601 format like 2023-05-12T14:06:40Z.

date-time

String containing a UTC datetime expressed in ISO 8601 format like 2023-05-12T14:06:40Z.

date-time

String containing a UTC datetime expressed in ISO 8601 format like 2023-05-12T14:06:40Z.

string
^[A-Z]{2}$

ISO alpha-2 code of the bank country

string

Supplier IBAN

string

Supplier VAT number

string
enum

Selects one archive state and is not additive: true returns ONLY archived suppliers, false ONLY active ones. Omit it to get both — every row carries isArchived.

Allowed:
externalIds
array of strings
length ≤ 50

Return only suppliers carrying one of these IDs in an external system (ERP). Resolved against the external-reference registry, so unmapped suppliers are excluded. Up to 50 per request.

externalIds
string
length ≥ 1

Restrict the externalIds filter to one external system (e.g. Netsuite, Xero). Worth setting when a company has been connected to more than one ERP, since the same external ID string can exist in each. Ignored without that filter, and it does not narrow the externalIds include, which returns the IDs from every system (read provider on each entry).

include
array of strings

Extra data to embed in the response. externalIds costs one additional lookup per request, so it is opt-in.

include
Allowed:
string
enum

Field to sort suppliers by.

Allowed:
string
enum

Sort direction.

Allowed:
Headers
string

ID of the company the request acts on. Required with an organisation-level token; not needed with a company-level token.

Responses

Language
Credentials
OAuth2
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json