Editing order's status from api

hey all , i’m currently synchronizing my dolibarr and wordpress apps using dolibarr API/Web services (REST server) , and i need to set the order status after the client validation , but i don’t know which field to edit , can please give me the specific fields + the possible values for example (
0=>‘draft’
1=> 'processing ',
…)

Thank you !

hi did you find your answer?