LEDGERS icon

LEDGERS

Interact with LEDGERS API

Common Operation → Update Branch

AI-generated

Overview

This node operation allows updating details of a branch within a business system. It is useful for scenarios where branch information such as address, contact details, status, or tax number needs to be modified. For example, a user can update the branch's address, phone number, or mark it as the primary branch.

Use Case Examples

  1. Updating the address and phone number of a specific branch.
  2. Changing the status of a branch to inactive.
  3. Setting a branch as the primary branch for the business.

Properties

Name Meaning
Branch Details Name or ID Select the branch to update by choosing from a list or specifying an ID via expression.
Update Fields Fields to update for the selected branch, including address details, branch name, email, phone, primary branch status, branch status, and tax number.

Output

JSON

  • branchId - The unique identifier of the updated branch.
  • updatedFields - The fields that were updated on the branch.

Dependencies

  • An API key credential for authentication with the LEDGERS API.

Troubleshooting

  • Authentication failures due to incorrect API credentials will prevent the node from accessing branch data. Verify API key, email, and password credentials.
  • If the branch ID is invalid or not found, the update operation will fail. Ensure the branch ID is correct and exists in the system.
  • Network or API endpoint issues may cause request failures. Check connectivity and API URL configuration.

Discussion