Reorder the Child Tracker Items
Using the PUT /v3/items/{itemId}/children endpoint we can reorder the children.
Request Body for the new child item order (moving 54223 into the second place):
{
"children": [
{
"id": 54220,
"name": "Find Radio Station Test",
"type": "TrackerItemReference"
},
{
"id": 54223,
"name": "Select Radio Station Test",
"type": "TrackerItemReference"
},
{
"id": 54222,
"name": "Scan Radio Station Test",
"type": "TrackerItemReference"
}
]
}
Response:
{
"page": 1,
"pageSize": 25,
"total": 3,
"itemRefs": [
{
"id": 54220,
"name": "Find Radio Station Test",
"type": "TrackerItemReference"
},
{
"id": 54223,
"name": "Select Radio Station Test",
"type": "TrackerItemReference"
},
{
"id": 54222,
"name": "Scan Radio Station Test",
"type": "TrackerItemReference"
}
]
}