We're seeing an difference between the way deals are created via the API and the UI.
When creating a deal via the API, you can omit the amount field and 'null' gets stored in HubSpot.
When creating a deal via the UI, if you leave the amount field blank, an empty string (i.e. "") gets stored in HubSpot.
We are then trying to serialize the value back to a double/number and it fails if it hits the empty string.
It seems like there's an issue somewhere along the line. Please advise.