> ## Documentation Index
> Fetch the complete documentation index at: https://omniflow-vpn.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get v1panelcustomers mergepreview

> Requires customers.read. What merging this account into another would do, and every reason it cannot happen.
A merge cannot be undone, so everything that would move is counted before anything does. The blockers are recomputed when the merge is applied rather than trusted from here: the two are separate requests, and a merge authorised by a stale screen is the kind of thing that only goes wrong once.



## OpenAPI

````yaml https://raw.githubusercontent.com/kewldan/omniflow/main/api/openapi.yaml get /v1/panel/customers/{customerID}/merge/preview
openapi: 3.0.3
info:
  title: Omniflow API
  version: 1.0.0
  description: >-
    Customer, commerce, payment, wallet, fulfillment, and operations API for
    Omniflow.
servers: []
security: []
paths:
  /v1/panel/customers/{customerID}/merge/preview:
    get:
      tags:
        - panel
      description: >-
        Requires customers.read. What merging this account into another would
        do, and every reason it cannot happen.

        A merge cannot be undone, so everything that would move is counted
        before anything does. The blockers are recomputed when the merge is
        applied rather than trusted from here: the two are separate requests,
        and a merge authorised by a stale screen is the kind of thing that only
        goes wrong once.
      operationId: previewPanelCustomerMerge
      parameters:
        - in: path
          name: customerID
          required: true
          schema:
            type: string
            format: uuid
        - in: query
          name: into
          required: true
          schema:
            type: string
            format: uuid
          description: The account that survives.
      responses:
        '200':
          description: Preview
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PanelMergePreview'
        '403':
          $ref: '#/components/responses/Problem'
        '404':
          $ref: '#/components/responses/Problem'
components:
  schemas:
    PanelMergePreview:
      type: object
      required:
        - source
        - target
        - blockers
        - notes
      properties:
        source:
          $ref: '#/components/schemas/PanelMergeSide'
        target:
          $ref: '#/components/schemas/PanelMergeSide'
        blockers:
          type: array
          description: Empty when the merge can proceed.
          items:
            type: string
            enum:
              - same_account
              - already_merged
              - target_merged
              - account_deleted
              - referral_between
        notes:
          type: array
          description: Consequences worth knowing rather than reasons to stop.
          items:
            type: string
            enum:
              - cart_cancelled
              - trial_carried
              - default_method_kept
              - subscriptions_renumbered
              - wallet_moves
    PanelMergeSide:
      type: object
      required:
        - id
        - status
        - createdAt
        - activeSubscriptions
        - orders
        - tickets
        - identities
        - referralsMade
        - trialClaims
        - wallet
      properties:
        id:
          type: string
          format: uuid
        status:
          type: string
        createdAt:
          type: string
          format: date-time
        activeSubscriptions:
          type: integer
          format: int64
        orders:
          type: integer
          format: int64
        tickets:
          type: integer
          format: int64
        identities:
          type: integer
          format: int64
        referralsMade:
          type: integer
          format: int64
        trialClaims:
          type: integer
          format: int64
        wallet:
          type: array
          items:
            $ref: '#/components/schemas/PanelMergeBalance'
        mergedInto:
          type: string
          format: uuid
          description: Set when this account has already been absorbed.
    Problem:
      type: object
      required:
        - type
        - title
        - status
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        detail:
          type: string
        request_id:
          type: string
    PanelMergeBalance:
      type: object
      required:
        - currency
        - balanceMinor
      properties:
        currency:
          type: string
        balanceMinor:
          type: integer
          format: int64
  responses:
    Problem:
      description: Request failed
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'

````

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