GL Accounts
Update account
Changed onUpdate a general ledger account.
patch/accounting/v2beta/gl-accounts/{id}
Request
- Base URLhttps://api.atlar.com
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
Atlar resource ID.
Headers
If-Matchstring
ETag (version) of resource to be updated.
Request body
Example request
[
{
"value": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8"
}
]Response
The updated general ledger account.
Example response
{
"id": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"externalId": "walVNuin6X5Mvte4xhg1ibTAVSACfN4Q9hl",
"organizationId": "0160f6ab-5741-49e1-af46-9138927e547e",
"thirdPartyId": "9a8b1372-5c80-44a5-81a9-553a34041eb7",
"accountId": "2ed9a3ee-60aa-4f9f-a858-2eed4eefbbc8",
"name": "Cheque Account",
"number": "2400",
"currency": "EUR",
"type": "BANK",
"displayType": "Cheque Account",
"version": 1,
"etag": "version:3",
"created": "2022-05-04T18:31:12.889104898Z",
"updated": "2022-05-04T18:47:32.213842599Z"
}Changes
- breaking
removed from the
request propertyoneOflist - info
the security scope
gl_entities:readwas added to the endpoint's security schemebasicAuth - info
added to the
request propertyoneOflist - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the required property
to the response with the status
- breaking