# 股單標的排序

`POST` `/v1/sharelists/{id}/items/sort`

對股單中的標的重新排序。傳入的標的代碼列表即為新順序。

## Parameters

### Path Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | integer | Yes | 股單 ID |

### Request Body

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `symbols` | string | Yes | 逗號分隔的證券代碼，如 `AAPL.US,700.HK`(不是 JSON 陣列) |

## Request Example

```bash
curl --request POST \
  --url 'https://openapi.longbridge.com/v1/sharelists/<id>/items/sort' \
  --header 'Authorization: Bearer <access_token>' \
  --header 'Content-Type: application/json' \
  --data '{"symbols":[]}'
```

## Response

### Response JSON Example

```json
{
  "code": 0,
  "message": "success"
}
```
