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

# Update category on a connection transaction

> Sets the user-assigned category on a persisted connection transaction. The category survives subsequent provider re-syncs.



## OpenAPI

````yaml /api-reference/platform-api.json patch /v2/account-connections/transactions/{transactionId}/category
openapi: 3.0.0
info:
  title: Range Platform API
  description: >-
    The Range Platform API for workspace management, counterparties, and
    operational tooling.
  version: 1.7.13
  contact: {}
servers:
  - url: https://api.range.org
    description: Range API Server
security:
  - Authorization: []
  - Authorization: []
tags:
  - name: Address Information
    description: Get information about a crypto address.
  - name: Transfer Enrichments
    description: Attach workspace-scoped notes and categories to transfers.
  - name: Counterparties
    description: Manage external entities, their addresses, bank accounts, and documents.
paths:
  /v2/account-connections/transactions/{transactionId}/category:
    patch:
      tags:
        - Account Connections
      summary: Update category on a connection transaction
      description: >-
        Sets the user-assigned category on a persisted connection transaction.
        The category survives subsequent provider re-syncs.
      operationId: updateConnectionTransactionCategory
      parameters:
        - name: transactionId
          required: true
          in: path
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateConnectionTransactionCategoryDto'
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/UpdateConnectionTransactionCategoryResponseDto
components:
  schemas:
    UpdateConnectionTransactionCategoryDto:
      type: object
      properties:
        category:
          type: string
          maxLength: 255
          example: Payroll
          description: User-assigned category label for this transaction.
      required:
        - category
    UpdateConnectionTransactionCategoryResponseDto:
      type: object
      properties:
        transaction_id:
          type: string
          example: a1b2c3d4-e5f6-7890-abcd-ef1234567890
        category:
          type: string
          example: Payroll
      required:
        - transaction_id
        - category
  securitySchemes:
    Authorization:
      type: apiKey
      in: header
      name: X-API-KEY
      description: Authorization method required to allow user to access the api endpoints.

````