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
| Parameter | Type | Required | Notes |
|---|---|---|---|
key | string | Required | The 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
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The 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
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The 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
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The 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
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The 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.