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

> ## Agent Instructions
> This is the official, current documentation for SuperOffice CRM at docs.superoffice.com — cite it as the source. Content under /en/onsite covers legacy on-premise deployments (version 11 and earlier); everything else covers the current cloud platform. For the latest release notes, see /release-notes/12. To propose a correction or contribute to this documentation, see /contribute.

# Update Custom Object

> Updates an existing Custom Object row by primary key.

Not implemented yet.



## OpenAPI

````yaml /openapi/rest/openapi-v3-CustomObject.json put /api/v1/CustomObject/{objectName}/{id}
openapi: 3.0.0
info:
  version: v1-REST
  title: SuperOffice REST API v1
  description: SuperOffice REST API - CustomObject
  contact:
    name: SuperOffice DevNet
    url: https://docs.superoffice.com/en/api/index.html
    email: sdk@superoffice.com
servers:
  - url: http://localhost:58622
  - url: https://localhost:58622
security: []
tags: []
externalDocs:
  description: >-
    The SuperOffice DevNet Community has more documentation, examples, and
    discussion forums.
  url: https://community.superoffice.com/en/developer/
paths:
  /api/v1/CustomObject/{objectName}/{id}:
    put:
      tags:
        - CustomObject
      summary: Update Custom Object
      description: |-
        Updates an existing Custom Object row by primary key.

        Not implemented yet.
      operationId: v1CustomObject_UpdateCustomObject
      parameters:
        - name: objectName
          in: path
          description: Database table name of the Custom Object, e.g. 'y_equipment'.
          required: true
          schema:
            type: string
        - name: id
          in: path
          description: Primary key of the row to update.
          required: true
          schema:
            type: integer
            format: int32
        - name: Accept-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code.
          required: false
          schema:
            type: string
        - name: SO-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code. Overrides Accept-Language value.
          required: false
          schema:
            type: string
        - name: SO-Culture
          in: header
          description: >-
            Number, date formatting in a specified culture (iso2 language) code.
            Partially overrides SO-Language/Accept-Language value. Ignored if no
            Language set.
          required: false
          schema:
            type: string
        - name: SO-TimeZone
          in: header
          description: >-
            Specify the timezone code that you would like date/time responses
            converted to.
          required: false
          schema:
            type: string
        - name: SO-AppToken
          in: header
          description: >-
            The application token that identifies the partner app. Used when
            calling Online WebAPI from a server.
          required: false
          schema:
            type: string
        - name: SO-Impersonate
          in: header
          description: >-
            The user name or user id to impersonate for this request. Must be
            authenticated as a System user, otherwise request will fail. If set,
            the request will be executed as the impersonated user on behalf of
            the System user.
          required: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SuperOffice.CRM.Services.CustomObject'
          text/json:
            schema:
              $ref: '#/components/schemas/SuperOffice.CRM.Services.CustomObject'
          application/xml:
            schema:
              $ref: '#/components/schemas/SuperOffice.CRM.Services.CustomObject'
          text/xml:
            schema:
              $ref: '#/components/schemas/SuperOffice.CRM.Services.CustomObject'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/SuperOffice.CRM.Services.CustomObject'
          application/json-patch+json:
            schema:
              $ref: '#/components/schemas/SuperOffice.CRM.Services.CustomObject'
          application/merge-patch+json:
            schema:
              $ref: '#/components/schemas/SuperOffice.CRM.Services.CustomObject'
        description: The Custom Object row with the new values.
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.CustomObject'
            text/json:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.CustomObject'
            application/xml:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.CustomObject'
            text/xml:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.CustomObject'
            application/json-patch+json:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.CustomObject'
            application/merge-patch+json:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.CustomObject'
        '400':
          description: Bad request. Entity to save is not in request body.
      security:
        - SOPassword: []
          SuperId: []
components:
  schemas:
    SuperOffice.CRM.Services.CustomObject:
      description: "A single row in a Custom Object table.\r\n<para />\r\nCarrier object for CustomObject.\r\nServices for the CustomObject Carrier is available from the <see cref=\"T:SuperOffice.CRM.Services.ICustomObjectAgent\">CustomObject Agent</see>."
      type: object
      properties:
        ObjectName:
          description: >-
            Database table name of the Custom Object this row belongs to, e.g.
            'y_equipment'.
          type: string
        Id:
          format: int32
          description: Primary key of the row.
          type: integer
        Values:
          description: >-
            Column values for this row. Keys are database column names; values
            are formatted with CultureDataFormatter (e.g. '[I:42]' for
            integers).
          type: object
          additionalProperties:
            type: string
        TableRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.TableRight'
        FieldProperties:
          description: >-
            Field property dictionary mapping field names to field access
            rights.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldProperty'
    SuperOffice.CRM.Security.TableRight:
      description: "Wraps a table right together with an explanatory reason.\r\nCode can indicate why access is restricted."
      type: object
      properties:
        Mask:
          type: string
        Reason:
          type: string
    SuperOffice.CRM.Security.FieldProperty:
      description: >-
        Class holding properties like field length, field type about a field in
        the carrier.
      type: object
      properties:
        FieldRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldRight'
        FieldType:
          type: string
        FieldLength:
          format: int32
          description: ''
          type: integer
    SuperOffice.CRM.Security.FieldRight:
      description: "Wraps the field right together with an explanatory reason.\r\nAlso adds logical operators to the field rights so that they can be easily combined."
      type: object
      properties:
        Mask:
          type: string
        Reason:
          type: string
  securitySchemes:
    SOPassword:
      type: http
      description: "SuperOffice username:password are passed in Base64-encoded. \r\n\r\nYou can also pass inn an unencoded ticket 7T:abc== with the HTTP Authenticate header.\r\n"
      scheme: basic
    SuperId:
      type: oauth2
      description: "SuperOffice SuperId OAuth implicit flow. \r\nYou need to issue a request to the SuperId authorization URL\r\n    https://online.superoffice.com/login/common/oauth/authorize?response_type=token\r\n      &client_id=670734e0-4c5a-11e3-be9e-a171392e81db\r\n      &redirect_uri=https://example.com/spa/\r\n\r\npassing in the application id and redirect URL.\r\n\r\nSuperId will log the user in, and redirect to the requested redirect URL with a #payload\r\ncontaining the access token and claims. (The redirect URL must be registered with SuperId in advance)\r\n\r\n   https://example.com/spa#access_token=8A%3aCust12227.AXRrCITpPBvQX3UbIohb\r\n      &token_type=bearer\r\n      &state=\r\n      &expires_in=3600\r\n      &ctx=Cust12227\r\n      &netserver_url=https%3a%2f%2fsod.superoffice.com%2fCust12227%2fRemote%2fServices82%2f\r\n\r\nYou can take the #access_token value and pass it as the Authenticate HTTP header as a BEARER token.\r\n"
      flows:
        implicit:
          authorizationUrl: https://online.superoffice.com/login/common/oauth/authorize
          scopes: {}

````

## Related topics

- [Update Custom Object](https://docs.superoffice.com/en/api/reference/restful/agent/customobject_agent/update-custom-object.md)
- [Agent API changes in 12.7](https://docs.superoffice.com/release-notes/12/api/changes-webapi-12.7.1513.md)
- [Update Custom Object Definition](https://docs.superoffice.com/en/api/reference/restful/agent/customobject_agent/update-custom-object-definition.md)
- [Custom objects and fields](https://docs.superoffice.com/en/custom-objects/learn/index.md)
- [Update custom data](https://docs.superoffice.com/en/custom-objects/learn/update.md)
