JAI CRM
Home Documentation API Vendors endpoints

Vendors endpoints

10 endpoints: Vendors, Dashboard, Orders, Master and more.

Every endpoint in Vendors: 10 operations across 8 resources. Each one takes the same API key and returns the same error shapes as the rest of the API; see Authentication and Errors and limits.

Every path below is relative to https://app.jaicrm.ai. A key only reaches what it was granted when it was created, an endpoint you cannot use answers 403 rather than hiding.

Master

GET/api/vendors/master

List master

curl -X GET https://app.jaicrm.ai/api/vendors/master 
  -H 'Authorization: Bearer YOUR_API_KEY'

PUT/api/vendors/master/{key}

Change a master

ParameterTypeRequiredNotes
keystringRequiredThe record’s id.
curl -X PUT https://app.jaicrm.ai/api/vendors/master/RECORD_ID 
  -H 'Authorization: Bearer YOUR_API_KEY'

Messages

GET/api/vendors/{id}/messages

List messages

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/vendors/RECORD_ID/messages 
  -H 'Authorization: Bearer YOUR_API_KEY'

POST/api/vendors/{id}/messages

Create a message

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X POST https://app.jaicrm.ai/api/vendors/RECORD_ID/messages 
  -H 'Authorization: Bearer YOUR_API_KEY'

Vendors

GET/api/vendors/

List vendors

curl -X GET https://app.jaicrm.ai/api/vendors/ 
  -H 'Authorization: Bearer YOUR_API_KEY'

Dashboard

GET/api/vendors/dashboard

Read the dashboard dashboard

curl -X GET https://app.jaicrm.ai/api/vendors/dashboard 
  -H 'Authorization: Bearer YOUR_API_KEY'

Orders

GET/api/vendors/orders

List orders

curl -X GET https://app.jaicrm.ai/api/vendors/orders 
  -H 'Authorization: Bearer YOUR_API_KEY'

History

GET/api/vendors/{id}/history

List history

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/vendors/RECORD_ID/history 
  -H 'Authorization: Bearer YOUR_API_KEY'

Files

GET/api/vendors/{id}/files

List files

ParameterTypeRequiredNotes
idstringRequiredThe record’s id.
curl -X GET https://app.jaicrm.ai/api/vendors/RECORD_ID/files 
  -H 'Authorization: Bearer YOUR_API_KEY'

Bulk status

POST/api/vendors/bulk-status

Create a bulk statu

curl -X POST https://app.jaicrm.ai/api/vendors/bulk-status 
  -H 'Authorization: Bearer YOUR_API_KEY'

Something missing or wrong here? Tell us. A question that needed asking usually means a page that needed writing.