# Site migration details

> For the complete machine-readable documentation index, see [llms.txt](https://apidocs.chargebee.com/llms.txt).


Site Migration details is used for finding the records that are moved in and moved out from one Chargebee site to another.

## Sample Site migration detail

```json
{
  "site_migration_detail": {
    "entity_id": "__test__KyVnHhSBWT9AW8j",
    "entity_id_at_other_site": "__test__KyVnHhSBWT9AW8j",
    "entity_type": "customer",
    "migrated_at": 1600704658,
    "object": "site_migration_detail",
    "other_site_name": "mannar",
    "status": "moved_in"
  }
}
```

## Site migration details attributes

## Input Parameters

- `entity_id` (required, string, max chars=100)
  Id of the entity in this site.

- `other_site_name` (required, string, min chars=4, max chars=50)
  Site name to which the record is moved in/out.

- `entity_id_at_other_site` (required, string, max chars=100)
  Entity Id of the record in the other site.

- `migrated_at` (required, timestamp(UTC) in seconds)
  Date in which the record is copied

- `entity_type` (required, enumerated string)
  Entity Type of the record
  Possible enum values:
    - `customer`
      Entity that represents a customer
    - `subscription`
      Entity that represents a subscription of a customer
    - `invoice`
      Invoice description
    - `credit_note`
      Credit note description
    - `transaction`
      Entity that represents a transaction.
    - `order`
      Entity that represents an order

- `status` (required, enumerated string)
  Status of the migration
  Possible enum values:
    - `moved_in`
      Moved in from another cb site
    - `moved_out`
      Moved out from one cb site to another
    - `moving_out`
      Moving out from one cb site to another

