Relevant fields of the deal for the WON, LOST, DELETED

Hi everybody. Can anyone suggest which relevant fields of the deal need to be changed so that it becomes WON, LOST, DELETED?
For LOST, I tried to set the status of LOST and active=false, but for some reason the deal moved to DELETED.
Please help me. Thank you in advance.

Hey @okrupnik13
Are you using the update deal endpoint? Also, Is there a specific reason why you are passing active=false along with the status field?

Hi, @Hem, yes I am using the update deal endpoint. active=false because it requires business managers and a “pipeLine” configured accordingly.