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

# Update an other-name

> Updates an existing other-name.



## OpenAPI

````yaml POST /quickbooks-desktop/other-names/{id}
openapi: 3.1.0
info:
  title: Conductor API
  version: 0.0.1
servers:
  - url: https://api.conductor.is/v1
security:
  - BearerAuth: []
paths:
  /quickbooks-desktop/other-names/{id}:
    post:
      summary: Update an other-name
      description: Updates an existing other-name.
      parameters:
        - in: path
          name: id
          description: >-
            The QuickBooks-assigned unique identifier of the other-name to
            update.
          schema:
            type: string
            description: >-
              The QuickBooks-assigned unique identifier of the other-name to
              update.
            example: 80000001-1234567890
          required: true
        - in: header
          name: Conductor-End-User-Id
          description: The ID of the End-User to receive this request.
          schema:
            type: string
            description: The ID of the End-User to receive this request.
            example: end_usr_1234567abcdefg
            x-stainless-naming:
              typescript:
                method_argument: conductorEndUserId
              mcp:
                method_argument: conductorEndUserId
          required: true
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                revisionNumber:
                  type: string
                  description: >-
                    The current QuickBooks-assigned revision number of the
                    other-name object you are updating, which you can get by
                    fetching the object first. Provide the most recent
                    `revisionNumber` to ensure you're working with the latest
                    data; otherwise, the update will return an error.
                  example: '1721172183'
                name:
                  type: string
                  maxLength: 31
                  description: >-
                    The case-insensitive unique name of this other-name, unique
                    across all other-names.


                    **NOTE**: Other-names do not have a `fullName` field because
                    they are not hierarchical objects, which is why `name` is
                    unique for them but not for objects that have parents.


                    Maximum length: 31 characters.
                  example: John Doe
                isActive:
                  type: boolean
                  description: >-
                    Indicates whether this other-name is active. Inactive
                    objects are typically hidden from views and reports in
                    QuickBooks. Defaults to `true`.
                  example: true
                companyName:
                  type: string
                  description: >-
                    The name of the company associated with this other-name.
                    This name is used on invoices, checks, and other forms.
                  example: Acme Corporation
                salutation:
                  type: string
                  description: >-
                    The formal salutation title that precedes the name of the
                    contact person for this other-name, such as "Mr.", "Ms.", or
                    "Dr.".
                  example: Dr.
                firstName:
                  type: string
                  maxLength: 25
                  description: |-
                    The first name of the contact person for this other-name.

                    Maximum length: 25 characters.
                  example: John
                middleName:
                  type: string
                  maxLength: 5
                  description: |-
                    The middle name of the contact person for this other-name.

                    Maximum length: 5 characters.
                  example: A.
                lastName:
                  type: string
                  maxLength: 25
                  description: |-
                    The last name of the contact person for this other-name.

                    Maximum length: 25 characters.
                  example: Doe
                address:
                  type: object
                  properties:
                    line1:
                      type: string
                      maxLength: 41
                      description: >-
                        The first line of the address (e.g., street, PO Box, or
                        company name).


                        Maximum length: 41 characters.
                      example: Conductor Labs Inc.
                    line2:
                      type: string
                      maxLength: 41
                      description: >-
                        The second line of the address, if needed (e.g.,
                        apartment, suite, unit, or building).


                        Maximum length: 41 characters.
                      example: 540 Market St.
                    line3:
                      type: string
                      maxLength: 41
                      description: |-
                        The third line of the address, if needed.

                        Maximum length: 41 characters.
                      example: Suite 100
                    line4:
                      type: string
                      maxLength: 41
                      description: |-
                        The fourth line of the address, if needed.

                        Maximum length: 41 characters.
                      example: ''
                    line5:
                      type: string
                      maxLength: 41
                      description: |-
                        The fifth line of the address, if needed.

                        Maximum length: 41 characters.
                      example: ''
                    city:
                      type: string
                      maxLength: 31
                      description: >-
                        The city, district, suburb, town, or village name of the
                        address.


                        Maximum length: 31 characters.
                      example: San Francisco
                    state:
                      type: string
                      maxLength: 21
                      description: >-
                        The state, county, province, or region name of the
                        address.


                        Maximum length: 21 characters.
                      example: CA
                    postalCode:
                      type: string
                      maxLength: 13
                      description: |-
                        The postal code or ZIP code of the address.

                        Maximum length: 13 characters.
                      example: '94110'
                    country:
                      type: string
                      description: The country name of the address.
                      example: United States
                    note:
                      type: string
                      description: >-
                        A note written at the bottom of the address in the form
                        in which it appears, such as the invoice form.
                      example: Conductor HQ
                  additionalProperties: false
                  description: The other-name's address.
                phone:
                  type: string
                  description: The other-name's primary telephone number.
                  example: +1-555-123-4567
                alternatePhone:
                  type: string
                  description: The other-name's alternate telephone number.
                  example: +1-555-987-6543
                fax:
                  type: string
                  description: The other-name's fax number.
                  example: +1-555-555-1212
                email:
                  type: string
                  description: The other-name's email address.
                  example: other-name@example.com
                contact:
                  type: string
                  description: The name of the primary contact person for this other-name.
                  example: Jane Smith
                alternateContact:
                  type: string
                  description: The name of a alternate contact person for this other-name.
                  example: Bob Johnson
                accountNumber:
                  type: string
                  description: >-
                    The other-name's account number, which appears in the
                    QuickBooks chart of accounts, reports, and graphs.


                    Note that if the "Use Account Numbers" preference is turned
                    off in QuickBooks, the account number may not be visible in
                    the user interface, but it can still be set and retrieved
                    through the API.
                  example: '1010'
                note:
                  type: string
                  description: A note or comment about this other-name.
                  example: This employee is a key employee.
              required:
                - revisionNumber
              additionalProperties: false
      responses:
        '200':
          description: Returns the updated other-name.
          headers:
            Conductor-Request-Id:
              schema:
                type: string
                description: The unique identifier for this API request.
                example: req_1234567abcdefg
              required: true
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/qbd_other_name'
      security:
        - BearerAuth: []
      x-codeSamples:
        - lang: JavaScript
          source: >-
            import Conductor from 'conductor-node';


            const conductor = new Conductor({
              apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
            });


            const otherName = await
            conductor.qbd.otherNames.update('80000001-1234567890', {
              revisionNumber: '1721172183',
              conductorEndUserId: 'end_usr_1234567abcdefg',
            });


            console.log(otherName.id);
        - lang: Python
          source: |-
            import os
            from conductor import Conductor

            conductor = Conductor(
                api_key=os.environ.get("CONDUCTOR_SECRET_KEY"),  # This is the default and can be omitted
            )
            other_name = conductor.qbd.other_names.update(
                id="80000001-1234567890",
                revision_number="1721172183",
                conductor_end_user_id="end_usr_1234567abcdefg",
            )
            print(other_name.id)
components:
  schemas:
    qbd_other_name:
      type: object
      properties:
        id:
          type: string
          description: >-
            The unique identifier assigned by QuickBooks to this other-name.
            This ID is unique across all other-names but not across different
            QuickBooks object types.
          example: 80000001-1234567890
        objectType:
          type: string
          const: qbd_other_name
          description: The type of object. This value is always `"qbd_other_name"`.
          example: qbd_other_name
        createdAt:
          type: string
          description: >-
            The date and time when this other-name was created, in ISO 8601
            format (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks Desktop
            interprets in the local timezone of the end-user's computer.
          example: '2025-01-01T12:34:56.000Z'
        updatedAt:
          type: string
          description: >-
            The date and time when this other-name was last updated, in ISO 8601
            format (YYYY-MM-DDThh:mm:ss±hh:mm), which QuickBooks Desktop
            interprets in the local timezone of the end-user's computer.
          example: '2025-02-01T12:34:56.000Z'
        revisionNumber:
          type: string
          description: >-
            The current QuickBooks-assigned revision number of this other-name
            object, which changes each time the object is modified. When
            updating this object, you must provide the most recent
            `revisionNumber` to ensure you're working with the latest data;
            otherwise, the update will return an error.
          example: '1721172183'
        name:
          type: string
          description: >-
            The case-insensitive unique name of this other-name, unique across
            all other-names.


            **NOTE**: Other-names do not have a `fullName` field because they
            are not hierarchical objects, which is why `name` is unique for them
            but not for objects that have parents.
          example: John Doe
        isActive:
          type: boolean
          description: >-
            Indicates whether this other-name is active. Inactive objects are
            typically hidden from views and reports in QuickBooks. Defaults to
            `true`.
          example: true
        companyName:
          type:
            - string
            - 'null'
          description: >-
            The name of the company associated with this other-name. This name
            is used on invoices, checks, and other forms.
          example: Acme Corporation
        salutation:
          type:
            - string
            - 'null'
          description: >-
            The formal salutation title that precedes the name of the contact
            person for this other-name, such as "Mr.", "Ms.", or "Dr.".
          example: Dr.
        firstName:
          type:
            - string
            - 'null'
          description: The first name of the contact person for this other-name.
          example: John
        middleName:
          type:
            - string
            - 'null'
          description: The middle name of the contact person for this other-name.
          example: A.
        lastName:
          type:
            - string
            - 'null'
          description: The last name of the contact person for this other-name.
          example: Doe
        address:
          oneOf:
            - $ref: '#/components/schemas/qbd_address'
            - type: 'null'
          description: The other-name's address.
        phone:
          type:
            - string
            - 'null'
          description: The other-name's primary telephone number.
          example: +1-555-123-4567
        alternatePhone:
          type:
            - string
            - 'null'
          description: The other-name's alternate telephone number.
          example: +1-555-987-6543
        fax:
          type:
            - string
            - 'null'
          description: The other-name's fax number.
          example: +1-555-555-1212
        email:
          type:
            - string
            - 'null'
          description: The other-name's email address.
          example: other-name@example.com
        contact:
          type:
            - string
            - 'null'
          description: The name of the primary contact person for this other-name.
          example: Jane Smith
        alternateContact:
          type:
            - string
            - 'null'
          description: The name of a alternate contact person for this other-name.
          example: Bob Johnson
        accountNumber:
          type:
            - string
            - 'null'
          description: >-
            The other-name's account number, which appears in the QuickBooks
            chart of accounts, reports, and graphs.


            Note that if the "Use Account Numbers" preference is turned off in
            QuickBooks, the account number may not be visible in the user
            interface, but it can still be set and retrieved through the API.
          example: '1010'
        note:
          type:
            - string
            - 'null'
          description: A note or comment about this other-name.
          example: This employee is a key employee.
        externalId:
          type:
            - string
            - 'null'
          description: >-
            A globally unique identifier (GUID) you, the developer, can provide
            for tracking this object in your external system. This field is
            immutable and can only be set during object creation.
          example: 12345678-abcd-1234-abcd-1234567890ab
        customFields:
          type: array
          items:
            $ref: '#/components/schemas/qbd_custom_field'
          description: >-
            The custom fields for the other-name object, added as user-defined
            data extensions, not included in the standard QuickBooks object.
      required:
        - id
        - objectType
        - createdAt
        - updatedAt
        - revisionNumber
        - name
        - isActive
        - companyName
        - salutation
        - firstName
        - middleName
        - lastName
        - address
        - phone
        - alternatePhone
        - fax
        - email
        - contact
        - alternateContact
        - accountNumber
        - note
        - externalId
        - customFields
      additionalProperties: false
      title: The Other-Name object
      x-conductor-object-type: other
      summary: >-
        An "other name" entity in QuickBooks Desktop lets users track
        individuals or businesses that are neither customers, vendors, nor
        employees, allowing them to record occasional transactions without
        cluttering the primary lists.
    qbd_address:
      type: object
      properties:
        line1:
          type:
            - string
            - 'null'
          description: >-
            The first line of the address (e.g., street, PO Box, or company
            name).
          example: Conductor Labs Inc.
        line2:
          type:
            - string
            - 'null'
          description: >-
            The second line of the address, if needed (e.g., apartment, suite,
            unit, or building).
          example: 540 Market St.
        line3:
          type:
            - string
            - 'null'
          description: The third line of the address, if needed.
          example: Suite 100
        line4:
          type:
            - string
            - 'null'
          description: The fourth line of the address, if needed.
          example: ''
        line5:
          type:
            - string
            - 'null'
          description: The fifth line of the address, if needed.
          example: ''
        city:
          type:
            - string
            - 'null'
          description: The city, district, suburb, town, or village name of the address.
          example: San Francisco
        state:
          type:
            - string
            - 'null'
          description: The state, county, province, or region name of the address.
          example: CA
        postalCode:
          type:
            - string
            - 'null'
          description: The postal code or ZIP code of the address.
          example: '94110'
        country:
          type:
            - string
            - 'null'
          description: The country name of the address.
          example: United States
        note:
          type:
            - string
            - 'null'
          description: >-
            A note written at the bottom of the address in the form in which it
            appears, such as the invoice form.
          example: Conductor HQ
      required:
        - line1
        - line2
        - line3
        - line4
        - line5
        - city
        - state
        - postalCode
        - country
        - note
      additionalProperties: false
      title: The Address object
      x-conductor-object-type: nested
    qbd_custom_field:
      type: object
      properties:
        ownerId:
          type: string
          description: >-
            The identifier of the owner of the custom field, which QuickBooks
            internally calls a "data extension". For public custom fields
            visible in the UI, such as those added by the QuickBooks user, this
            is always "0". For private custom fields that are only visible to
            the application that created them, this is a valid GUID identifying
            the owning application. Internally, Conductor always fetches all
            public custom fields (those with an `ownerId` of "0") for all
            objects.
          example: '0'
        name:
          type: string
          description: >-
            The name of the custom field, unique for the specified `ownerId`.
            For public custom fields, this name is visible as a label in the
            QuickBooks UI.
          example: Customer Rating
        type:
          type: string
          enum:
            - amount_type
            - date_time_type
            - integer_type
            - percent_type
            - price_type
            - quantity_type
            - string_1024_type
            - string_255_type
          description: The data type of this custom field.
          example: string_1024_type
        value:
          type: string
          description: >-
            The value of this custom field. The maximum length depends on the
            field's data type.
          example: Premium
      required:
        - ownerId
        - name
        - type
        - value
      additionalProperties: false
      title: The Custom Field object
      x-conductor-object-type: nested
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Your Conductor secret key using Bearer auth (e.g., `"Authorization:
        Bearer {{YOUR_SECRET_KEY}}"`).

````

Built with [Mintlify](https://mintlify.com).