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

# Update a subscriber's Kit Fields



## OpenAPI

````yaml /api-reference/v4.json patch /v4/subscribers/{subscriber_id}/kit_fields
openapi: 3.0.3
info:
  title: Kit API
  version: '4.0'
servers:
  - url: https://api.kit.com
security: []
paths:
  /v4/subscribers/{subscriber_id}/kit_fields:
    patch:
      tags:
        - Kit Fields
      summary: Update a subscriber's Kit Fields
      parameters:
        - name: subscriber_id
          in: path
          required: true
          schema:
            type: integer
          example: 130
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                kit_fields:
                  type: object
                  minProperties: 1
                  description: >-
                    Kit Field names, as GET /v4/kit_fields lists them, mapped to
                    the corrected values. Enum fields only take their
                    `available_options`. `null` removes the value this API wrote
                    and leaves values from other sources in place.
                  additionalProperties:
                    oneOf:
                      - type: string
                      - type: integer
                      - type: boolean
                    nullable: true
              required:
                - kit_fields
            example:
              kit_fields:
                gender: female
                age: 34
      responses:
        '200':
          description: Writes the Kit Fields and returns the subscriber's current values
          content:
            application/json:
              schema:
                type: object
                properties:
                  subscriber:
                    type: object
                    properties:
                      id:
                        type: integer
                      kit_fields:
                        type: object
                        description: >-
                          The subscriber's current Kit Fields after the write,
                          as `include=kit_fields` returns them.
                        additionalProperties:
                          oneOf:
                            - type: string
                            - type: integer
                            - type: boolean
                    required:
                      - id
                      - kit_fields
                required:
                  - subscriber
              example:
                subscriber:
                  id: 130
                  kit_fields:
                    age: 34
                    gender: female
        '401':
          description: Returns a 401 if the token and/or account cannot be authenticated
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: string
                required:
                  - errors
              example:
                errors:
                  - The access token is invalid
        '422':
          description: A value doesn't fit its Kit Field
          content:
            application/json:
              schema:
                type: object
                properties:
                  errors:
                    type: array
                    items:
                      type: string
                required:
                  - errors
              example:
                errors:
                  - >-
                    household_income must be one of: Under $10,000, $10,000 -
                    $19,999, $20,000 - $29,999, $30,000 - $39,999, $40,000 -
                    $49,999, $50,000 - $59,999, $60,000 - $74,999, $75,000 -
                    $99,999, $100,000 - $149,999, $150,000 - $174,999, $175,000
                    - $199,999, $200,000 - $249,999, $250,000 - $299,999,
                    $300,000 - $399,999, $400,000 - $499,999, $500,000 -
                    $699,999, $700,000 - $999,999, $1,000,000 +
      security:
        - API Key: []
        - OAuth2: []
components:
  securitySchemes:
    API Key:
      description: Authenticate API requests via an API Key
      type: apiKey
      in: header
      name: X-Kit-Api-Key
    OAuth2:
      description: Authenticate API requests via an OAuth token
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://api.kit.com/v4/oauth/authorize
          tokenUrl: https://api.kit.com/v4/oauth/token
          refreshUrl: https://api.kit.com/v4/oauth/token
          scopes:
            read: Read access to Kit API v4
            write: Write access to Kit API v4

````

## Related topics

- [Bulk update subscriber custom field values](https://developers.kit.com/api-reference/custom-fields/bulk-update-subscriber-custom-field-values.md)
- [API Overview](https://developers.kit.com/api-reference/overview.md)
- [Kit App Store overview](https://developers.kit.com/kit-app-store/overview.md)
- [Upgrading to V4](https://developers.kit.com/api-reference/upgrading-to-v4.md)
- [Update a subscriber](https://developers.kit.com/api-reference/subscribers/update-a-subscriber.md)


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