curl --request PATCH \
--url https://api.sandbox.getasset.com/v0/business/{business_id}/journal-entries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"journal_entry_id": "<string>",
"changes": {
"description": "<string>",
"datetime": "2023-11-07T05:31:56Z",
"line_changes": {
"create_lines": [
{
"ledger_id": "ldg_Ns6rRRLYVZPh4cVB7MDby5",
"description": "<string>",
"debit_credit": "<string>",
"amount": 1,
"tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
],
"delete_lines": [
"<string>"
]
},
"review_status": "bookkeeper_pending",
"is_reconciled": true
}
}
]'
{
"data": [
{
"business_id": "biz_Pk2fNFDd8wj7EFeLWJywc7",
"description": "<string>",
"clean_description": "<string>",
"datetime": "2023-11-07T05:31:56Z",
"is_reconciled": true,
"review_status": "bookkeeper_pending",
"id": "je_R2fAXCjqJPdpYata112zyW",
"transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo",
"line_entries": [
{
"ledger_id": "ldg_Ns6rRRLYVZPh4cVB7MDby5",
"description": "<string>",
"debit_credit": "<string>",
"amount": 123,
"id": "le_GA6EG2qFxA97NZHtxeLPUy",
"journal_entry_id": "je_R2fAXCjqJPdpYata112zyW",
"transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo"
}
],
"categorization_method": "refund",
"invoice_id": "inv_WQMDNUHpBThYSNh4AprDBo"
}
]
}
curl --request PATCH \
--url https://api.sandbox.getasset.com/v0/business/{business_id}/journal-entries \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '[
{
"journal_entry_id": "<string>",
"changes": {
"description": "<string>",
"datetime": "2023-11-07T05:31:56Z",
"line_changes": {
"create_lines": [
{
"ledger_id": "ldg_Ns6rRRLYVZPh4cVB7MDby5",
"description": "<string>",
"debit_credit": "<string>",
"amount": 1,
"tag_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
],
"delete_lines": [
"<string>"
]
},
"review_status": "bookkeeper_pending",
"is_reconciled": true
}
}
]'
{
"data": [
{
"business_id": "biz_Pk2fNFDd8wj7EFeLWJywc7",
"description": "<string>",
"clean_description": "<string>",
"datetime": "2023-11-07T05:31:56Z",
"is_reconciled": true,
"review_status": "bookkeeper_pending",
"id": "je_R2fAXCjqJPdpYata112zyW",
"transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo",
"line_entries": [
{
"ledger_id": "ldg_Ns6rRRLYVZPh4cVB7MDby5",
"description": "<string>",
"debit_credit": "<string>",
"amount": 123,
"id": "le_GA6EG2qFxA97NZHtxeLPUy",
"journal_entry_id": "je_R2fAXCjqJPdpYata112zyW",
"transaction_id": "txn_WQMDNUHpBThYSNh4AprDBo"
}
],
"categorization_method": "refund",
"invoice_id": "inv_WQMDNUHpBThYSNh4AprDBo"
}
]
}
The access token received from the authorization server in the OAuth 2.0 flow.
Optional external entity identifier that performed the update
The body is of type JournalEntryBulkPatch · object[]
.
Successful Response
The response is of type object
.