Deal's status values

I am looking to update a deal via the API and change the status to “Won” when a customer completes a purchase.

I found the documentation to Update a Deal at Update a deal

It accepts a value called status that is an int32, but it does not list what values represent each status (Open, Won, Lost). There is a link to “See available values” that links to Update a deal but nothing happens… no new information is shown and you’re on the same page. Is there any further documentation for this?

1 Like

After my own trial and error, I have determined the following:

0 is Open
1 is Won
2 is Lost

Thank you for the update! We’ll update the documentation to make it easier for others.