FinancialAccounts
Update FinancialAccount
Update an existing FinancialAccount record.
PUT
Update FinancialAccount
Updates an existing FinancialAccount record. You must include the
Id of the record to update along with all required fields.
Authentication
This endpoint requires OAuth2 authentication. Include a valid bearer token in the
Authorization header.
The authenticated user must be a full unrestricted administrator or have the FinancialAccount-Edit role.Enums
eFinancialAccountType — AccountType values
eFinancialAccountType — AccountType values
Request Body
Required Fields
integer
required
The Id of the FinancialAccount record to update.
integer
required
ID of the location that owns this financial account..
string
required
Required display name for this financial account, up to 150 characters..
string
required
Required accounting reference code, up to 50 characters and unique within the location; it can match an external accounting system’s account code..
integer
required
Category that controls the account’s use: Sales (1) for revenue, Payments (2) for incoming payments, or Deposits (3) for security deposits; defaults to Sales..
Optional Fields
string
Optional free-text explanation of this account’s purpose, up to 254 characters..
Code Examples
Response
200
integer
HTTP status code.
200 on success.string
A human-readable message confirming the update.
object
Contains the
Id of the updated record.boolean
true if the financialaccount was updated successfully.array
null on success.Example Response
400
string
A summary of the validation error(s), in the format
PropertyName: error message.any
null on validation failure.object[]
Array of validation errors.
boolean
false when the request fails validation.Example Response