---
title: "Update an Account"
method: PUT
path: "/api/record/account/{id}"
---

# Update an Account

`PUT /api/record/account/{id}`

## Path parameters

- `id` string, required

## Request body

- object
  - `accountname` string, required — Name of the account (Primary).
  - `accountnumber` string — Used for identification, unique values are recommended.
  - `accountratingcode` integer — Account rating (Picklist)
  - `accounttypecode` integer — Account type (Picklist)
  - `actionstatuscode` integer — Secondary status code (Picklist)
  - `billingcity` string — Billing city
  - `billingcountry` string — Billing country
  - `billingstate` string — Billing state
  - `billingstreet` string — Billing street
  - `billingzipcode` string — Billing zip code
  - `birthdaydate` string, date — Birthday date in UTC format.
  - `businesstypecode` integer — Type of ownership (Picklist).
  - `campaignid` string — A campaign's GUID.
  - `description` string — Description of up to 4,000 characters.
  - `duplicaterecordcode` integer — Automatically sets to "yes" if the record is a duplicate, can be manually set (Picklist).
  - `emailaddress1` string — Primary email address, must be in email format.
  - `emailaddress2` string — Secondary email address, must be in email format.
  - `emailaddress3` string — Third used email address, must be in email format.
  - `fax1` string — Fax number
  - `firstname` string — First name
  - `idnumber` string — ID of the person or company.
  - `industrycode` integer — Industry (Picklist)
  - `isvalidforemailcode` integer — Sets if the account will opt out of emails (Picklist).
  - `lastname` string — Last name
  - `lostreason` integer — Reason the account was lost (Picklist).
  - `needs` string — Text of up to 4,000 characters explaining needs.
  - `numberofemployees` number, float — Number of employees
  - `originatingleadcode` integer — Lead source (Picklist)
  - `ownerid` string — The GUID of the system user who created the record, can also be set manually. Will be used for permissions.
  - `parentaccountid` string — The parent account's GUID.
  - `paymenttermscode` integer — Payment terms (Picklist)
  - `primarycontactid` string — The primary contact's GUID.
  - `revenue` number, float — Account revenue
  - `shippingmethodcode` integer — Shipping method (Picklist)
  - `statecode` integer — Sets the state of the account as active or inactive (Picklist).
  - `statuscode` integer — Status of the account (Picklist).
  - `systemfield10` string — Text of up to 4,000 characters explaining objections against the product or service.
  - `telephone1` string — Primary phone number, contains exclusively numbers.
  - `telephone2` string — Secondary phone number, contains exclusively numbers.
  - `telephone3` string — Third used phone number, contains exclusively numbers.
  - `websiteurl` string — Website of the account in URL format.

## Response `200`

200

## Other responses

- `400` — 400
- `401` — 401

---

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