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

# Apply an edit that no longer applies to a rebuilt position

> Saves the stale edit's values against the chosen position, continuing its edit history.



## OpenAPI

````yaml https://app.herondata.io/swagger post /api/position_overrides/{override_heron_id}/reannotate
openapi: 3.0.0
info:
  contact:
    email: support@herondata.io
    name: Support
  title: Heron Data API
  version: '2021-07-19'
servers:
  - description: Production
    url: https://app.herondata.io
security:
  - ApiKeyAuth:
      - key_XXX
externalDocs:
  description: Read Tutorial
  url: https://docs.herondata.io/
paths:
  /api/position_overrides/{override_heron_id}/reannotate:
    post:
      tags:
        - Positions
      summary: Apply an edit that no longer applies to a rebuilt position
      description: >-
        Saves the stale edit's values against the chosen position, continuing
        its edit history.
      parameters:
        - description: Heron ID of the stale edit
          in: path
          name: override_heron_id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReannotatePositionOverrideRequest'
        required: true
      responses:
        '201':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PositionOverride'
          description: Edit applied
        '404':
          description: Stale edit or position not found
        '409':
          description: The end user is still processing
        '422':
          description: The position already has an override
components:
  schemas:
    ReannotatePositionOverrideRequest:
      properties:
        position_heron_id:
          description: Rebuilt position to apply the edit to
          type: string
      required:
        - position_heron_id
      type: object
    PositionOverride:
      properties:
        created:
          format: date-time
          type: string
        created_by:
          description: Email of the person who made the edit
          type: string
        heron_id:
          description: Heron ID of the override
          type: string
        is_deleted:
          nullable: true
          type: boolean
        latest_repayment_amount:
          nullable: true
          type: number
        latest_repayment_frequency:
          enum:
            - not_enough_data
            - same_day
            - irregular
            - daily
            - weekly
            - biweekly
            - monthly
            - quarterly
            - annually
            - weekday
            - twice_weekly
            - null
          nullable: true
          type: string
        merchant_name:
          description: Funder of the edited position
          nullable: true
          type: string
        original_latest_repayment_amount:
          nullable: true
          type: number
        original_latest_repayment_frequency:
          enum:
            - not_enough_data
            - same_day
            - irregular
            - daily
            - weekly
            - biweekly
            - monthly
            - quarterly
            - annually
            - weekday
            - twice_weekly
            - null
          nullable: true
          type: string
        original_status:
          enum:
            - none
            - active
            - inactive
            - defaulted
            - potential_default
            - renewal_active
            - renewal_inactive
            - new_position
            - likely_paid_off
          type: string
        position_heron_id:
          description: >-
            Position the override applies to; null when positions were rebuilt
            and it no longer applies
          nullable: true
          readOnly: true
        position_override_set_id:
          description: Shared by every edit to the same position
          format: uuid
          type: string
        product_type:
          enum:
            - mca
            - line_of_credit
            - reverse_consolidation
            - revenue_share
          type: string
        status:
          enum:
            - none
            - active
            - inactive
            - defaulted
            - potential_default
            - renewal_active
            - renewal_inactive
            - new_position
            - likely_paid_off
            - null
          nullable: true
          type: string
      type: object
  securitySchemes:
    ApiKeyAuth:
      in: header
      name: x-api-key
      type: apiKey

````

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