Vendors

Retrieve all vendors

get

Retrieve all vendors for a company

Authorizations
Query parameters
per_pageintegerOptional

limit of records per page

Example: 10
pageintegerOptional

page number

Example: 2
namestringOptional

This field is used to filter by vendor name. (LIKE)

Example: Hay
sort_bystringOptional

This parameter is used to sort the records by a specific field (created_at,name)

Example: name
sort_dirstringOptional

Order type(asc or desc)

Example: asc
Responses
200

Successful operation

application/json
get
/vendors

Store a vendor

post

Store a vendor for a company

Authorizations
Body

create vendor request body data

namestringRequired

name of the Vendor

Example: test name
websitestringRequired

website of the Vendor

Example: https://www.example.com/
descriptionstringOptional

description of the Vendor

Example: description...
notesstringOptional

notes of the Vendor

Example: notes...
services_providedstringOptional

services_provided of the Vendor

Example: example
products_purchasedstringOptional

products_purchased of the Vendor

Example: example
account_manager_namestringOptional

account_manager_name of the Vendor

Example: name manager
account_manager_emailstringOptional

account_manager_email of the Vendor

Example: [email protected]
currencystringOptional

currency of the Vendor

Example: USD
scoreintegerOptional

score of the Vendor

Example: 22
Responses
200

Successful operation

application/json
post
/vendors

Retrieve a vendor

get

Retrieve a vendor for a company

Authorizations
Path parameters
idstringRequired

Id of the vendor

Example: 996501df-0bfc-4f95-954d-3a5d5dc48469
Responses
200

Successful operation

application/json
get
/vendors/{id}

Update a vendor

put

Update a vendor for a company

Authorizations
Path parameters
idstringRequired

Id of the vendor

Example: 996501df-0bfc-4f95-954d-3a5d5dc48469
Body

create vendor request body data

namestringRequired

name of the Vendor

Example: test name
websitestringRequired

website of the Vendor

Example: https://www.example.com/
descriptionstringOptional

description of the Vendor

Example: description...
notesstringOptional

notes of the Vendor

Example: notes...
services_providedstringOptional

services_provided of the Vendor

Example: example
products_purchasedstringOptional

products_purchased of the Vendor

Example: example
account_manager_namestringOptional

account_manager_name of the Vendor

Example: name manager
account_manager_emailstringOptional

account_manager_email of the Vendor

Example: [email protected]
currencystringOptional

currency of the Vendor

Example: USD
scoreintegerOptional

score of the Vendor

Example: 22
Responses
200

Successful operation

application/json
put
/vendors/{id}

Delete vendor

delete

remove vendor

Authorizations
Path parameters
idstringRequired

Id of the vendor

Example: 996501df-0bfc-4f95-954d-3a5d5dc48469
Responses
200

Successful operation

application/json
delete
/vendors/{id}