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

# Update many custom object records

> Up to 100 updates, each a record id and its values, checked and written one by one: a failed item never stops the rest. The answer lists each item's outcome in request order. What each field takes is in GET /v1/fields?object=<object>: its type, its options, and whether the API may write it (`writable`). A field your CRM fills is written only while Salesforce writeback is on for the object, and can't be cleared here; an object a warehouse or another system fills is read only. Every problem with the body comes back at once, in one 422.



## OpenAPI

````yaml /api/statisfy-api.openapi.json post /v1/objects/{object}/records/batch/update
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/objects/{object}/records/batch/update:
    post:
      tags:
        - custom_objects
      summary: Update many custom object records
      description: >-
        Up to 100 updates, each a record id and its values, checked and written
        one by one: a failed item never stops the rest. The answer lists each
        item's outcome in request order. What each field takes is in GET
        /v1/fields?object=<object>: its type, its options, and whether the API
        may write it (`writable`). A field your CRM fills is written only while
        Salesforce writeback is on for the object, and can't be cleared here; an
        object a warehouse or another system fills is read only. Every problem
        with the body comes back at once, in one 422.
      operationId: custom_objects_batch_update
      parameters:
        - description: The custom object's key, as GET /v1/objects lists it
          in: path
          name: object
          required: true
          schema:
            maxLength: 200
            minLength: 1
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                items:
                  description: Each a record id and its update
                  items:
                    $ref: '#/components/schemas/CustomObjectBatchUpdateItem'
                  maxItems: 100
                  minItems: 1
                  title: Items
                  type: array
              required:
                - items
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchUpdateResult'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    CustomObjectBatchUpdateItem:
      additionalProperties: true
      properties:
        fields:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          default: null
          description: >-
            Field keys to values, keyed as GET /v1/fields?object=<object> lists
            them
          title: Fields
        id:
          title: Id
          type: string
      required:
        - id
      title: CustomObjectBatchUpdateItem
      type: object
    BatchUpdateResult:
      properties:
        items:
          items:
            $ref: '#/components/schemas/BatchItemResult'
          title: Items
          type: array
      required:
        - items
      title: BatchUpdateResult
      type: object
    BatchItemResult:
      properties:
        error:
          anyOf:
            - $ref: '#/components/schemas/ItemError'
            - type: 'null'
          description: Set exactly when `status` is `failed`
        id:
          title: Id
          type: string
        status:
          enum:
            - updated
            - failed
          title: Status
          type: string
      required:
        - id
        - status
      title: BatchItemResult
      type: object
    ItemError:
      description: The error envelope a single request would have returned.
      properties:
        code:
          title: Code
          type: string
        details:
          items:
            additionalProperties: true
            type: object
          title: Details
          type: array
        message:
          title: Message
          type: string
      required:
        - code
        - message
      title: ItemError
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

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