---
title: "Update an account"
method: POST
path: "/accounts/{account_id}"
tags: ["Accounts"]
---

# Update an account

`POST /accounts/{account_id}`

Updates an account by setting the values of the parameters passed. Any parameters not provided are left unchanged.

## Path parameters

- `account_id` string, required

## Request body

- UpdateOneAccountRequest
  - `contact` object
    - `first` string — The first name of the designated account contact.
    - `last` string — The last name of the designated account contact.
    - `email` string, required — The email address of the designated account contact.
    - `company` string — The company of the designated account contact.
    - `phone` string — The telephone number of the designated account contact.
  - `language` string — Two-letter language code (<a href="https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes">ISO 639</a>).
  - `country` string — Two-letter country code (<a href="https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2">ISO 3166-1 alpha-2</a>).
  - `lookup` object
    - `custom` string — A custom lookup key used to retrieve account details dynamically from a static string. The string length must be greater than or equal to 4.

## Response `200`

OK

- UpdateOneAccountResponse
  - `id` string — The unique account identifier.
  - `account` string — The unique account identifier.
  - `action` string — The action performed by the API call.
  - `result` string — Indicates that the request has succeeded or failed.
  - `accounts` RetrieveUpdateAccountResponse[]
    - `id` string — The unique account identifier.
    - `account` string — The unique account identifier.
    - `action` string — The action performed by the API call.
    - `result` string — Indicates that the request has succeeded or failed.

---

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