Skip to main content
GET
Distributor - Get

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

selector
object
required

Query selector object for filtering results

limit
number

Max results to return

Example:

50

skip
number

Number of results to skip

Example:

0

sort
object

Sort fields object, e.g. { "name": 1 }

fields
object

Projection fields object, e.g. { "name": 1 }

Response

Array of suppliers matching the query

_id
string
required

Unique supplier identifier

Example:

"507f1f77bcf86cd799439011"

name
string
required

Supplier name

phone
string | null

Supplier phone number

email
string | null

Supplier email address

active
boolean

Whether the supplier is active

address
object

Supplier address

terms
string | null

Default payment terms

shipping
string | null

Default shipping method

memo
string | null

Default memo for purchase orders

items
object[]

Items supplied by this supplier

location_id
string

Default location ID for this supplier

Example:

"507f1f77bcf86cd799439011"