migrate.php¶
Migration management module for handling customer and hosting data transfers between billing locations.
API Methods¶
| Method | Action | Description |
|---|---|---|
get_hostings_list | get hostings list | Returns a list of hostings available for migration in the specified location. |
get_order_to_move | get order to move | Retrieves detailed information about an order and its line items for migration. |
migrate/get_hostings_list¶
Returns a list of hostings available for migration in the specified location.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: get_hostings_list |
| token | ✅ | string | Authentication token. |
| id | ❌ | integer | The ID of the user or entity performing the action. |
| location | ❌ | string | The location identifier for filtering hostings. |
Request example
migrate/get_order_to_move¶
Retrieves detailed information about an order and its line items for migration.
HTTP method: POST
Parameters:
| Parameter | Required | Type | Description |
|---|---|---|---|
| action | ✅ | string | Method identifier: get_order_to_move |
| token | ✅ | string | Authentication token. |
| id | ✅ | integer | The ID of the order to be migrated. |
| location | ❌ | string | The location identifier for migration context. |
Request example