APIs & Integrations

Nimrod_Fr
Member

Custom property GET via API for a specific deal ID

Hi,

Trying to GET a property I created for a specific deal ID (for example - expected rev = 3000) but couldn't find an option to get this property when using get a deal "https://developers.hubspot.com/docs/methods/deals/get_deal".

Is there a way to get also custom properties values?

In addition, I'd like to be able to update such field, what's the correct way to do so?

0 Upvotes
1 Reply 1
Derek_Gervais
HubSpot Alumni
HubSpot Alumni

Custom property GET via API for a specific deal ID

Hi @Nimrod_Fr,

The "Get a deal" endpoint will return all properties for which the object in question has a value. If you're not seeing the custom property in the response, it means that the particular deal you're querying doesn't have a value for that property. If you're looking to update the property/properties of a particular deal record, you'll want to check out the "Update a deal" endpoint:

0 Upvotes