Referencia de APIAccounting / Chart Of Accounts Update Chart Of Accounts data source
PATCH /v1/chart-of-accounts/data-source • validated by `patchAccountDataSource`
← Back to full API referencePATCH/v1/chart-of-accounts/data-sourceAuthentication required
- Requires organization permissions for this resource.
- Validated by Zod schema: patchAccountDataSource.
Request details
Path params
No path parameters for this endpoint.
Query params
No explicit query schema was captured for this endpoint.
Body fields
id (required)
Type: string
accountId (required)
Type: number
type
Type: enum
Example: INVOICES
operation
Type: enum
Example: ADD
config
Type: object
config.invoice
Type: object
config.invoice.sourceField (required)
Type: enum
Example: amount
config.invoice.isSell (required)
Type: boolean
config.resources
Type: object
config.resources.ids
Type: array
Example:
config.resources.ids[] (required)
Type: number
config.resources.types
Type: array
Example:
config.resources.types[] (required)
Enum-like validator generated by zodFromObj
config.chartAccounts
Type: object
config.chartAccounts.ids
Type: array
Example:
config.chartAccounts.ids[] (required)
Type: number
config.commissions
Type: object
config.commissions.isSell
Type: boolean
config.manual
Type: object
config.manual.amount
Type: number
Default payloads
Body
{
"id": "00000000-0000-0000-0000-000000000000",
"accountId": 1
}
Test this endpoint now
Use your own credentials and execute a live request directly from this page.
2. Select endpoint
PATCH/v1/chart-of-accounts/data-sourceAuthentication required
Group: Accounting / Chart Of Accounts
PATCH /v1/chart-of-accounts/data-source • validated by `patchAccountDataSource`
- Requires organization permissions for this resource.
- Validated by Zod schema: patchAccountDataSource.
3. Prepare request payload
4. Server response
Run a request to inspect the real-time response for your environment.