Every endpoint in Procurement: 123 operations across 7 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.
Vendors
GET/api/purchase/vendors
List vendors
curl -X GET https://app.jaicrm.ai/api/purchase/vendors
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/vendors/{id}
Read one vendor
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/vendors/{id}/comments
List comments
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/comments
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/vendors/{id}/compliance
List compliance
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/compliance
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/vendors/{id}/contacts
List contacts
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/contacts
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/vendors/{id}/dependencies
List dependencies
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/dependencies
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/vendors/{id}/related/{module}
Read one related
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
module | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/related/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/vendors/compliance-expiring
List compliance expiring
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/compliance-expiring
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/vendors/export.csv
List export.csv
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/export.csv
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/vendors/kanban
List kanban
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/kanban
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/vendors/pivot
List pivot
curl -X GET https://app.jaicrm.ai/api/purchase/vendors/pivot
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/vendors
Create a vendor
curl -X POST https://app.jaicrm.ai/api/purchase/vendors
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/vendors/{id}/approve
Create an approve
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/approve
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/vendors/{id}/block
Create a block
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/block
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/vendors/{id}/comments
Create a comment
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/comments
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/vendors/{id}/compliance
Create a compliance
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/compliance
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/vendors/{id}/contacts
Create a contact
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/contacts
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/vendors/{id}/status
Create a statu
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/status
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/vendors/{id}/sync-services
Create a sync service
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/sync-services
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/vendors/bulk/delete
Create a delete
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/bulk/delete
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/vendors/import
Create an import
curl -X POST https://app.jaicrm.ai/api/purchase/vendors/import
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/purchase/vendors/{id}
Change a vendor
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/purchase/vendors/{id}/compliance/{docId}
Change a compliance
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
docId | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/compliance/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/purchase/vendors/{id}/contacts/{contactId}
Change a contact
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
contactId | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/contacts/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/vendors/{id}
Delete a vendor
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/vendors/{id}/comments/{commentId}
Delete a comment
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
commentId | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/comments/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/vendors/{id}/compliance/{docId}
Delete a compliance
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
docId | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/compliance/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/vendors/{id}/contacts/{contactId}
Delete a contact
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
contactId | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/vendors/RECORD_ID/contacts/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Debit notes
GET/api/purchase/debit-notes
List debit notes
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/debit-notes/{id}
Read one debit note
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/debit-notes/{id}/comments
List comments
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/comments
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/debit-notes/{id}/credit
List credit
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/credit
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/debit-notes/{id}/dependencies
List dependencies
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/dependencies
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/debit-notes/{id}/email-check
List email check
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/email-check
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/debit-notes/{id}/pdf
List pdf
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/pdf
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/debit-notes/{id}/print
List print
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/print
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/debit-notes/{id}/send-draft
List send draft
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/send-draft
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/debit-notes/bills
List bills
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/bills
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/debit-notes/export.csv
List export.csv
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/export.csv
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/debit-notes/kanban
List kanban
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/kanban
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/debit-notes/pivot
List pivot
curl -X GET https://app.jaicrm.ai/api/purchase/debit-notes/pivot
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/debit-notes
Create a debit note
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/debit-notes/{id}/apply
Create an apply
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/apply
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/debit-notes/{id}/comments
Create a comment
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/comments
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/debit-notes/{id}/duplicate
Create a duplicate
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/duplicate
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/debit-notes/{id}/email
Create an email
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/email
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/debit-notes/{id}/refund
Create a refund
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/refund
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/debit-notes/{id}/send/ai
Create an ai
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/send/ai
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/debit-notes/{id}/status
Create a statu
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/status
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/debit-notes/bulk/delete
Create a delete
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/bulk/delete
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/debit-notes/bulk/pdf
Create a pdf
curl -X POST https://app.jaicrm.ai/api/purchase/debit-notes/bulk/pdf
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/purchase/debit-notes/{id}
Change a debit note
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/debit-notes/{id}
Delete a debit note
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/debit-notes/{id}/apply/{applicationId}
Delete an apply
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
applicationId | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/apply/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/debit-notes/{id}/comments/{commentId}
Delete a comment
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
commentId | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/comments/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/debit-notes/{id}/refunds/{paymentId}
Delete a refund
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
paymentId | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/debit-notes/RECORD_ID/refunds/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Orders
GET/api/purchase/orders
List orders
curl -X GET https://app.jaicrm.ai/api/purchase/orders
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/orders/{id}
Read one order
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/orders/{id}/comments
List comments
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/comments
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/orders/{id}/dependencies
List dependencies
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/dependencies
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/orders/{id}/email-check
List email check
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/email-check
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/orders/{id}/pdf
List pdf
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/pdf
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/orders/{id}/print
List print
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/print
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/orders/{id}/send-draft
List send draft
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/send-draft
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/orders/export.csv
List export.csv
curl -X GET https://app.jaicrm.ai/api/purchase/orders/export.csv
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/orders/kanban
List kanban
curl -X GET https://app.jaicrm.ai/api/purchase/orders/kanban
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/orders/pivot
List pivot
curl -X GET https://app.jaicrm.ai/api/purchase/orders/pivot
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/orders
Create an order
curl -X POST https://app.jaicrm.ai/api/purchase/orders
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/orders/{id}/cancel-items
Create a cancel item
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/cancel-items
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/orders/{id}/comments
Create a comment
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/comments
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/orders/{id}/convert
Create a convert
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/convert
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/orders/{id}/duplicate
Create a duplicate
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/duplicate
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/orders/{id}/email
Create an email
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/email
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/orders/{id}/receive
Create a receive
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/receive
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/orders/{id}/reopen-items
Create a reopen item
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/reopen-items
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/orders/{id}/send/ai
Create an ai
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/send/ai
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/orders/{id}/status
Create a statu
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/status
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/orders/bulk/delete
Create a delete
curl -X POST https://app.jaicrm.ai/api/purchase/orders/bulk/delete
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/orders/bulk/pdf
Create a pdf
curl -X POST https://app.jaicrm.ai/api/purchase/orders/bulk/pdf
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/purchase/orders/{id}
Change an order
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/purchase/orders/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/orders/{id}
Delete an order
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/orders/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/orders/{id}/comments/{commentId}
Delete a comment
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
commentId | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/orders/RECORD_ID/comments/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Bills
GET/api/purchase/bills
List bills
curl -X GET https://app.jaicrm.ai/api/purchase/bills
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/bills/{id}
Read one bill
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/bills/{id}/comments
List comments
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/comments
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/bills/{id}/debit-room
List debit room
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/debit-room
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/bills/{id}/dependencies
List dependencies
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/dependencies
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/bills/{id}/email-check
List email check
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/email-check
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/bills/{id}/pdf
List pdf
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/pdf
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/bills/{id}/print
List print
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/print
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/bills/{id}/send-draft
List send draft
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/send-draft
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/bills/export.csv
List export.csv
curl -X GET https://app.jaicrm.ai/api/purchase/bills/export.csv
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/bills/kanban
List kanban
curl -X GET https://app.jaicrm.ai/api/purchase/bills/kanban
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/bills/pivot
List pivot
curl -X GET https://app.jaicrm.ai/api/purchase/bills/pivot
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/bills
Create a bill
curl -X POST https://app.jaicrm.ai/api/purchase/bills
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/bills/{id}/comments
Create a comment
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/comments
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/bills/{id}/debit-note
Create a debit note
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/debit-note
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/bills/{id}/duplicate
Create a duplicate
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/duplicate
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/bills/{id}/email
Create an email
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/email
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/bills/{id}/send/ai
Create an ai
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/send/ai
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/bills/{id}/status
Create a statu
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/status
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/bills/bulk/delete
Create a delete
curl -X POST https://app.jaicrm.ai/api/purchase/bills/bulk/delete
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/bills/bulk/pdf
Create a pdf
curl -X POST https://app.jaicrm.ai/api/purchase/bills/bulk/pdf
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/bills/bulk/update
Create an update
curl -X POST https://app.jaicrm.ai/api/purchase/bills/bulk/update
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/purchase/bills/{id}
Change a bill
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/purchase/bills/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/bills/{id}
Delete a bill
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/bills/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/bills/{id}/comments/{commentId}
Delete a comment
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
commentId | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/bills/RECORD_ID/comments/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Payments
GET/api/purchase/payments
List payments
curl -X GET https://app.jaicrm.ai/api/purchase/payments
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/payments/{id}
Read one payment
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/payments/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/payments/{id}/dependencies
List dependencies
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/payments/RECORD_ID/dependencies
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/payments/outstanding
List outstanding
curl -X GET https://app.jaicrm.ai/api/purchase/payments/outstanding
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/payments
Create a payment
curl -X POST https://app.jaicrm.ai/api/purchase/payments
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/payments/bulk/update
Create an update
curl -X POST https://app.jaicrm.ai/api/purchase/payments/bulk/update
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/purchase/payments/{id}
Change a payment
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/purchase/payments/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/payments/{id}
Delete a payment
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/payments/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Recurring
GET/api/purchase/recurring
List recurring
curl -X GET https://app.jaicrm.ai/api/purchase/recurring
-H 'Authorization: Bearer YOUR_API_KEY'
GET/api/purchase/recurring/{id}
Read one recurring
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X GET https://app.jaicrm.ai/api/purchase/recurring/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/recurring
Create a recurring
curl -X POST https://app.jaicrm.ai/api/purchase/recurring
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/recurring/{id}/{action}
Act on a recurring
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
action | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/recurring/RECORD_ID/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
POST/api/purchase/recurring/{id}/run
Create a run
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X POST https://app.jaicrm.ai/api/purchase/recurring/RECORD_ID/run
-H 'Authorization: Bearer YOUR_API_KEY'
PATCH/api/purchase/recurring/{id}
Change a recurring
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X PATCH https://app.jaicrm.ai/api/purchase/recurring/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
DELETE/api/purchase/recurring/{id}
Delete a recurring
| Parameter | Type | Required | Notes |
|---|---|---|---|
id | string | Required | The record’s id. |
curl -X DELETE https://app.jaicrm.ai/api/purchase/recurring/RECORD_ID
-H 'Authorization: Bearer YOUR_API_KEY'
Summary
GET/api/purchase/summary
Read a summary for procurement
curl -X GET https://app.jaicrm.ai/api/purchase/summary
-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.