> ## Documentation Index
> Fetch the complete documentation index at: https://ago.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Company

> Update only the fields you send. `custom_fields` is merged; a `null` value clears that key.



## OpenAPI

````yaml /openapi-v1.json put /api/v1/crm/companies/{company_id}
openapi: 3.1.0
info:
  title: AGO Public API
  version: 1.0.0
  description: Programmatic access to your AGO workspace.
servers:
  - url: https://{tenant_id}.api.useago.com
    description: AGO Public API v1
    variables:
      tenant_id:
        default: your-tenant-id
        description: Your AGO tenant identifier
security: []
paths:
  /api/v1/crm/companies/{company_id}:
    put:
      tags:
        - CRM
      summary: Update Company
      description: >-
        Update only the fields you send. `custom_fields` is merged; a `null`
        value clears that key.
      operationId: update_crm_company
      parameters:
        - in: path
          name: company_id
          schema:
            format: uuid
            title: Company Id
            type: string
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompanyUpdateIn'
        required: true
      responses:
        '200':
          description: OK
      security:
        - ScopedAPIKeyAuth: []
components:
  schemas:
    CompanyUpdateIn:
      properties:
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        description:
          anyOf:
            - type: string
            - type: 'null'
          title: Description
        website:
          anyOf:
            - type: string
            - type: 'null'
          title: Website
        industry:
          anyOf:
            - type: string
            - type: 'null'
          title: Industry
        size:
          anyOf:
            - type: string
            - type: 'null'
          description: ''''', 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000 or 5000+'
          title: Size
        country:
          anyOf:
            - type: string
            - type: 'null'
          title: Country
        lifecycle_stage:
          anyOf:
            - type: string
            - type: 'null'
          description: ''''', prospect, onboarding, customer or churned'
          title: Lifecycle Stage
        owner_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          description: Account owner (sales), an active staff user; null clears it
          title: Owner Id
        csm_id:
          anyOf:
            - format: uuid
              type: string
            - type: 'null'
          description: Customer success manager, an active staff user; null clears it
          title: Csm Id
        arr:
          anyOf:
            - type: string
            - type: number
            - type: 'null'
          description: Annual recurring revenue; null clears it
          title: Arr
        currency:
          anyOf:
            - type: string
            - type: 'null'
          description: ISO 4217 code of arr, e.g. EUR
          title: Currency
        plan:
          anyOf:
            - type: string
            - type: 'null'
          title: Plan
        contract_start_date:
          anyOf:
            - type: string
            - type: 'null'
          description: YYYY-MM-DD
          title: Contract Start Date
        renewal_date:
          anyOf:
            - type: string
            - type: 'null'
          description: YYYY-MM-DD; renewal deals open ahead of it
          title: Renewal Date
        custom_fields:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          description: Merged into the record; null value clears a key
          title: Custom Fields
        email_domains:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          description: Replaces the company's email domains
          title: Email Domains
      title: CompanyUpdateIn
      type: object
  securitySchemes:
    ScopedAPIKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.