---
updatedAt: 2026-11-10T17:49:36.000Z
agentTools:
  projectIndex: https://developers.activecampaign.com/llms.txt
---

# Update an account

Update an existing account

```json PUT /accounts (Example REQUEST)
{
  "account": {
    "name": "Example Account",
    "accountUrl": "https://www.example.com",
    "owner": 1,  
    "fields": [
      {
        "customFieldId": 9,
        "fieldValue": "500-1000"
      },
      {
        "customFieldId": 20,
        "fieldValue": 1234,
        "fieldCurrency": "GBP"
      }
    ]
  }
}
```
```json PUT /accounts (Example RESPONSE)
{
    "account": {
        "name": "Exmaple Account",
        "accountUrl": "https://www.example.com",
        "createdTimestamp": "2019-04-03T13:57:31-05:00",
        "updatedTimestamp": "2019-06-12T16:55:32-05:00",
        "links": [],
        "fields": [
            {
                "customFieldId": 9,
                "fieldValue": "501 - 1000",
                "accountId": "1"
            },
            {
                "customFieldId": 20,
                "fieldValue": 1234,
              	"fieldCurrency": "GBP",
                "accountId": "1"
            }
        ],
        "id": "1"
    }
}
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "v3",
    "version": "3"
  },
  "servers": [
    {
      "url": "https://{youraccountname}.api-us1.com/api/3",
      "variables": {
        "youraccountname": {
          "default": "youraccountname"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Api-Token",
        "in": "header",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/accounts/{id}": {
      "put": {
        "summary": "Update an account",
        "description": "Update an existing account",
        "operationId": "update-an-account-new",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Account's id",
            "schema": {
              "type": "integer",
              "format": "int32"
            },
            "required": true
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "account": {
                    "properties": {
                      "name": {
                        "type": "string",
                        "description": "Account's name"
                      },
                      "accountUrl": {
                        "type": "string",
                        "description": "Account's website"
                      },
                      "fields": {
                        "type": "array",
                        "description": "Account's custom field values `{customFieldId: int, fieldValue: string, fieldCurrency?:string}[]`",
                        "items": {
                          "properties": {
                            "customFieldId": {
                              "type": "integer",
                              "description": "Field ID, ID of the Custom Field Meta Data",
                              "format": "int32"
                            },
                            "fieldValue": {
                              "type": "string",
                              "description": "Updated field value. For `currency` field, this needs to be in cents not dollars (or 100 x Base Unit)."
                            },
                            "fieldCurrency": {
                              "type": "string",
                              "description": "Required only for the `currency` field type. The three letter currency code for the currency value"
                            }
                          },
                          "required": [
                            "customFieldId",
                            "fieldValue"
                          ],
                          "type": "object"
                        }
                      },
                      "owner": {
                        "type": "integer",
                        "description": "The userId of the Account owner.",
                        "default": 1,
                        "format": "int32"
                      },
                      "matchingEnabled": {
                        "type": [
                          "integer",
                          "boolean"
                        ]
                      }
                    },
                    "required": [],
                    "type": "object"
                  },
                  "useDefaults": {
                    "type": "boolean",
                    "description": "Read but has no effect."
                  }
                },
                "additionalProperties": false
              },
              "examples": {
                "Request Example": {
                  "value": {
                    "account": {
                      "name": "Example Account",
                      "accountUrl": "https://www.example.com",
                      "fields": [
                        {
                          "customFieldId": 9,
                          "fieldValue": "500-1000"
                        },
                        {
                          "customFieldId": 20,
                          "fieldValue": 1234,
                          "fieldCurrency": "GBP"
                        }
                      ]
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"account\": {\n        \"name\": \"Example Account\",\n        \"accountUrl\": \"https://www.example.com\",\n        \"createdTimestamp\": \"2019-04-03T13:57:31-05:00\",\n        \"updatedTimestamp\": \"2019-06-12T16:55:32-05:00\",\n        \"links\": [],\n        \"fields\": [\n            {\n                \"customFieldId\": 9,\n                \"fieldValue\": \"501 - 1000\",\n                \"accountId\": \"1\"\n            },\n            {\n                \"customFieldId\": 20,\n                \"fieldValue\": 1234,\n              \t\"fieldCurrency\": \"GBP\",\n                \"accountId\": \"1\"\n            }\n        ],\n        \"id\": \"1\"\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "account": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": "string",
                          "examples": [
                            "Example Account"
                          ]
                        },
                        "accountUrl": {
                          "type": [
                            "string",
                            "null"
                          ],
                          "examples": [
                            "https://www.example.com"
                          ]
                        },
                        "createdTimestamp": {
                          "type": "string",
                          "examples": [
                            "2019-04-03T13:57:31-05:00"
                          ]
                        },
                        "updatedTimestamp": {
                          "type": "string",
                          "examples": [
                            "2019-06-12T16:55:32-05:00"
                          ]
                        },
                        "links": {
                          "type": "array"
                        },
                        "fields": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "customFieldId": {
                                "type": "integer",
                                "default": 0,
                                "examples": [
                                  9
                                ]
                              },
                              "fieldValue": {
                                "type": "string",
                                "examples": [
                                  "501 - 1000"
                                ]
                              },
                              "accountId": {
                                "type": "string",
                                "examples": [
                                  "1"
                                ]
                              }
                            }
                          }
                        },
                        "id": {
                          "type": "string",
                          "examples": [
                            "1"
                          ]
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```