Vendor
This is an object representing a Fishbowl vendor.
Related guide: Vendor
ENDPOINTS
Search for vendors
Searches for vendors.
Parameters
-
pageNumber integerThe current page of the results.
-
pageSize integerThe number of returned results per page. (Default 100)
-
name stringThe vendor name.
-
accountNumber stringThe vendor account number.
-
city stringThe vendor address city.
-
state stringThe vendor address state.
-
country stringThe vendor address country
-
active booleanIndicates if the vendor is active.
Attributes
-
customFields listA list of the vendor's custom fields.
GET /api/vendors
curl --location \ --request GET '<YOUR SERVER>/api/vendors' \ --header 'Content-Type: application/json' \ --header 'Authorization: Bearer <TOKEN>'
RESPONSE
{
"totalCount": 3,
"totalPages": 1,
"pageNumber": 1,
"pageSize": 100,
"results": [
{
"id": 16,
"name": "Mike's Bikes",
"accountNumber": "216489",
"active": true
},
{
"id": 24,
"name": "Monroe Bike Company",
"accountNumber": "5976",
"active": true
},
{
"id": 21,
"name": "Rocky Mountain Bikes",
"accountNumber": "98979",
"active": true
}
]
}
