Setting a deal number type property to "blank" from update api
SOLVE
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);
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.
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.
Setting a deal number type property to "blank" from update api
SOLVE
Hey, @gjm222 Thanks for the great question! 👋. Let's see if our community has any suggestions for us – @Gonzalo or @himanshurauthan do you have any insight for @gjm222?