Update an existing link between transactions.
Used to update a single existing link.
Body
JSON array or form-data with updated link type information. See the model for the exact specifications.
link_type_idstringwrite onlyThe link type ID to use. Use this field OR use the link_type_name field.
5link_type_namestringwrite onlyThe link type name to use. Use this field OR use the link_type_id field.
Is paid byinward_idstringThe inward transaction transaction_journal_id for the link. This becomes the 'is paid by' transaction of the set.
131outward_idstringThe outward transaction transaction_journal_id for the link. This becomes the 'pays for' transaction of the set.
131notesstring | nullOptional. Some notes. If you submit an empty string the current notes will be removed
Some example notesParameters
X-Trace-Idstring<uuid>headerUnique identifier associated with this request.
idstringrequiredpathThe ID of the transaction link.
Response
Updated link type stored, result in response
Bad request
Unauthenticated
Page not found
Validation error. The body will have the exact details.
Internal exception
Authorization
firefly_iii_authoauth2OAuth2 authorization code flow. Create a client on your installation's /profile page; it authorizes at /oauth/authorize and issues tokens at /oauth/token there. The URLs below are the demo site's. How to use the API walks through it.
local_bearer_authhttp (bearer)A Personal Access Token, sent as a bearer token. Create one on your installation under Options > Profile > OAuth > Personal Access Tokens.
