# Move reserved positions to open positions

`PATCH https://api.cryptohopper.com/v1/hopper/{id}/reserved/movetopositions`

Part of [Positions](https://www.cryptohopper.com/api-documentation/api-reference/positions.md) in the Cryptohopper API reference.

Moves the given reserved positions back to the hopper's open positions. A reserved position in the hopper's quote currency is removed instead.

reserved_id is an array of reserved position IDs (a single ID is also accepted). IDs that are not found are skipped without an error. If the hopper is not found or has no config, the call returns data "No config found for hopper." instead of an error. Not available for exchange arbitrage, market maker, copy and grid bots.

## Headers

| Name | Type | Required | Description |
|---|---|---|---|
| `access-token` | string | yes | The OAuth access token of the user. |

## Path parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Hopper ID. |

## Example request

```bash
curl -X PATCH "https://api.cryptohopper.com/v1/hopper/HOPPER_ID/reserved/movetopositions" \
  -H "access-token: YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"reserved_id":[55501,55502]}'
```

## Response

Example response (illustrative values):

```json
{
    "data": "Funds moved to open positions."
}
```

Status codes: 200. Errors return JSON with `status`, `error` and `message`, plus a numeric `code` when the error comes from the API itself rather than the gateway.
