Setting a deal number type property to "blank" from update api

Hello,

How can I set a number type property to a blank or null state from the basicapi.update api? It can be set this way using UI but I can’t seem to find a way to do it from the api. A string value can be blanked by sending and empty string but I don’t know how to ‘blank’ number. Sending null does not work.

//This does not work..leaves the value
let properties = {"jobnumber" : null}; 

let SimplePublicObjectInput = { properties }; 

//Call hubspot deal propetry update api for job number 
let apiResponseU = 
 await hubspotClient.crm.deals.basicApi.update(dealId, 
 SimplePublicObjectInput);

Hey, @gjm222 Thanks for the great question! :waving_hand:. Let’s see if our community has any suggestions for us – @Gonzalo or @himanshurauthan do you have any insight for @gjm222?

Thank you! – Jaycee

Hello, @Jaycee_Lewis and @gjm222,

So @gjm222 you can send a blank string( ’ ’ like this) in the number property’s value which will update the property with a blank value. I have done the same thing earlier and it worked perfectly for me.

Hope this will help you out!