How to update hs_is_closed using API

sumitkhunger
Member

How to update hs_is_closed using API?

I want to close a deal using API and I checked this is the property field which is marked try when a deal is closed.

I am getting the following error while updating it

{
    "validationResults": [
        {
            "isValid"false,
            "message""Property \"\" does not exist",
            "error""PROPERTY_DOESNT_EXIST",
            "name"""
        }
    ],
    "status""error",
    "message""Property values were not valid",
    "correlationId""7064f773-7749-4e0f-bc4b-e66cb98411ce"
}



Request:

{
    "properties": [
        {
            "hs_is_closed": {
                "value""true"
            }
        }
    ]
}



 
0 Upvotes
3 Replies 3
Jaycee_Lewis
Thought Leader

Hey, @sumitkhunger 👋 

I can confirm this isn't a feature. This property is one of a handful of internal calculated properties that cannot be addressed or edited in-app or via an endpoint. I do not have any additional resources or documentation. Based on my time in support here, one explanation is that this property is used in some capacity internally, which is why you surfaced it. This is also why we do not see it returned via the Properties API.

 

If you have a moment, adding your suggestion to the Ideas Community and getting some upvotes will be very helpful in getting your suggestion in front of the Product team. If you add a link back to your Idea post, I'll be sure to give it an upvote to help get the ball rolling.

 

Best,

Jaycee





loop


Loop Marketing is a new four-stage approach that combines AI efficiency and human authenticity to drive growth.

Learn More




0 Upvotes
sumitkhunger
Member

Hi @Jaycee_Lewis 

At UI in our admin account under the deals section, we can mark a specific deal as "closed deal" and when we fetch the same deal, we get "hs_is_closed" field as "closed"

Is it not possible to close the deal using APIs?








 

 

 

0 Upvotes
AGeorge59
Member

@sumitkhunger I was trying to figure out how we can set a deal as 'closed deal' so that the flag he_is_closed appears within the API. 
Which part of the UI did you access to mark the deal as a Closed deal? Can you share more information on this?

0 Upvotes