Update a recurring transaction
PATCH
/ledgers/{ledgerId}/scheduled-transactions/{scheduledId}
const url = 'http://127.0.0.1:47821/api/v1/ledgers/example/scheduled-transactions/example';const options = { method: 'PATCH', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"date":"example","amount":1,"account":"example","vendor":"example","category":"example","sub_category":"example","frequency":"example","end_date":"example","remarks":"example","currency":"example","ignored_dates":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PATCH \ --url http://127.0.0.1:47821/api/v1/ledgers/example/scheduled-transactions/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "date": "example", "amount": 1, "account": "example", "vendor": "example", "category": "example", "sub_category": "example", "frequency": "example", "end_date": "example", "remarks": "example", "currency": "example", "ignored_dates": [ "example" ] }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”ledgerId
required
string
scheduledId
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
date
string
amount
number
account
string
vendor
string
category
string
sub_category
string | null
frequency
string
end_date
string | null
remarks
string | null
currency
string
ignored_dates
Array<string>
Example generated
{ "date": "example", "amount": 1, "account": "example", "vendor": "example", "category": "example", "sub_category": "example", "frequency": "example", "end_date": "example", "remarks": "example", "currency": "example", "ignored_dates": [ "example" ]}Responses
Section titled “Responses”Success. JSON, or a file download for export endpoints and ?format=csv.
Validation error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }}Missing or invalid bearer token
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }}Not found
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }}Conflict
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
details
Example generated
{ "error": { "code": "example", "message": "example", "details": "example" }}