added
New v3 API endpoints for Spend & Expense custom field operations
September 16th, 2024
We have introduced a set of API endpoints for the Spend & Expense custom field operations. A custom field enables you to categorize transactions in a budget based on policies and projects in your organization.
Operation | API endpoint |
---|---|
Create a custom field | POST /v3/spend/custom-fields |
Get list of custom fields | GET /v3/spend/custom-fields |
Get custom field details | GET /v3/spend/custom-fields/{customFieldId} |
Update a custom field | PATCH /v3/spend/custom-fields/{customFieldId} |
Delete a custom field | DELETE /v3/spend/custom-fields/{customFieldId} |
Create custom field values | POST /v3/spend/custom-fields/{customFieldId}/values |
Get list of custom field values | GET /v3/spend/custom-fields/{customFieldId}/values |
Get custom field value details | GET /v3/spend/custom-fields/{customFieldId}/values/{customFieldValueId} |
Delete custom field values | DELETE /v3/spend/custom-fields/{customFieldId}/values |
Update custom field and values for a transaction | PUT /v3/spend/transactions/{transactionId}/custom-fields |
Get custom field details for a transaction | GET /v3/spend/transactions/{transactionId}/custom-fields |
Get custom field value details for a transaction | GET /v3/spend/transactions/{transactionId}/custom-fields/{customFieldId}/values |