Skip to main content

Set the node order

JAVASCRIPT
1
2
3
4
5
6
7
8
9
10
client.nodes.setChildrenOrder( '09795671-12d5-486e-8a9d-1c4b8048fbe3', ['167ac193-c6ea-4aae-b7ce-68b26152eca5', '936b6e09-05cf-4652-8872-45c9fc99fc2c', '45bfd6a1-e8fb-44e0-a457-bf64cea5ea25'], 'fr-FR') .then(result => { console.log('API call was successful'); }) .catch(error => { console.log('API call fetch error: ', error); });

Remove the node order

JAVASCRIPT
1
2
3
4
5
6
7
8
9
client.nodes.setChildrenOrder( '09795671-12d5-486e-8a9d-1c4b8048fbe3', 'de') .then(result => { console.log('API call was successful'); }) .catch(error => { console.log('API call fetch error: ', error); });

Still need help?

New support request