const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({entries: [{step_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a', step_order: 123}]})
};
fetch('https://platform.ankra.app/api/v1/chat/plans/{plan_id}/reorder', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));