> For the complete documentation index, see [llms.txt](https://api.my.nethesis.it/llms.txt)

# /customers/{id}/transfer - Preview a customer transfer

> GET /customers/{id}/transfer
> 
> What moving the customer under another managing organization would do,
> without changing anything: systems and users that follow it, add-ons
> whose shop renewal stops, silences and alert assignments of the
> current manager that go away. Same rules and errors as the PATCH.



## Servers
- Backend API server: https://my.nethesis.it/backend/api (Backend API server)


## Authentication methods
- Bearer auth


## Parameters

### Path parameters

- **id** (string)
  Customer Logto ID


### Query parameters

- **organization_id** (string)
  Logto ID of the reseller or distributor that would manage the customer



## Responses
### 200
Transfer preview

#### Body: application/json (object)
- **code** (integer)

- **message** (string)

- **data** (object)


### 400
Bad request - validation error

#### Body: application/json (object)
- **code** (integer)
  HTTP error code

- **message** (string)
  Error message

- **data** (object)


### 401
Unauthorized - invalid or missing token

#### Body: application/json (object)
- **code** (integer)

- **message** (string)

- **data** (object | null)


### 403
Forbidden - insufficient permissions

#### Body: application/json (object)
- **code** (integer)

- **message** (string)

- **data** (object | null)


### 404
Resource not found

#### Body: application/json (object)
- **code** (integer)
  HTTP error code

- **message** (string)
  Error message

- **data** (object)


### 409
The customer cannot be transferred in its current state. `data.type`
is `validation_error`, on key `transfer`, with stable `message` codes:
`customer_is_suspended` (reactivate it first), `customer_not_synced`
(no Logto organization yet), `same_organization` (already managed by
the target), `target_is_suspended`, `transfer_in_progress` (another
transfer of the same customer is running).


#### Body: application/json (object)
- **code** (integer)
  HTTP error code

- **message** (string)
  Error message

- **data** (object)



[Powered by Bump.sh](https://bump.sh)
