---
title: "Update account addresses"
method: POST
path: "/accounts/update-additional-fields/{id}"
tags: ["Accounts"]
---

# Update account addresses

`POST /accounts/update-additional-fields/{id}`

Update primary or secondary language addresses for a given account

## Path parameters

- `id` integer, required

## Request body

- object
  - `tax_number` string
  - `additional_id_type` integer
  - `additional_id_value` string
  - `address` string
  - `address2` string
  - `zip` string
  - `city` string
  - `country_id` integer
  - `state` string
  - `street_name` string
  - `additional_street_name` string
  - `building_number` string
  - `address_additional_number` string
  - `district_neighborhood` string
  - `address_type` 'primary_language_address' | 'secondary_language_address'

## Response `200`

Account has been updated

- object
  - `message` string
  - `account` object
    - `id` integer
    - `organization_id` string
    - `name` string
    - `account_label` string
    - `account_full_name` string
    - `description` string
    - `account_data` string
    - `system_account` string
    - `account_type_id` integer
    - `account_type` string
    - `number` string
    - `currency_id` integer
    - `currency` string
    - `model_id` integer
    - `member_id` integer
    - `model_name` string
    - `model_type` string
    - `tax_number` string
    - `additional_id_type` integer
    - `additional_id_value` string
    - `address` string
    - `address2` string
    - `zip` string
    - `city` string
    - `country_id` integer
    - `state` string
    - `street_name` string
    - `additional_street_name` string
    - `building_number` string
    - `address_additional_number` string
    - `district_neighborhood` string
    - `organization` object
      - `id` string
      - `name` string
      - `country` string
      - `city` string
      - `state` string
      - `zip` string
    - `client` object
      - `id` string
      - `term_id` string, nullable
      - `discount_percentage` string
      - `phone` string
      - `mobile` string
      - `emails` string[]
      - `member_label` string
      - `ledes` integer

## Other responses

- `400` — Validation error
- `401` — Unauthorized
- `500` — Server error

---

[API](https://skmtc.net/app4legal/apis/a4l-money-api.md) · [All operations](https://skmtc.net/app4legal/apis/a4l-money-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/app4legal/a4l-money-api/revisions/e0d144609998/schema)
