APIs & Integrations

Pabbly_Connect
Member

API Issue

SOLVE

This endpoint above retrieves both the custom properties as well as default properties of a deal but I need to retrieve only those properties which are custom added in "groupName": "deal information",

 

 

 

 

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

API Issue

SOLVE

@Pabbly_Connect , you can add a parameter to your api call to select properties you want to return. 

eg: &properties=i_like_cats

View solution in original post

0 Upvotes
3 Replies 3
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

API Issue

SOLVE

@Pabbly_Connect , you can add a parameter to your api call to select properties you want to return. 

eg: &properties=i_like_cats

0 Upvotes
Pabbly_Connect
Member

API Issue

SOLVE

Thank you for the Reply

https://stackoverflow.com/questions/56460557/how-to-include-meta-fields-in-wordpress-api-post 2021-06-11 (1).pnghubspot 1.pngThese endpoints retrieve all default properties in the deal as well as custom properties added by me later in a deal

1. I need to retrieve only those custom fields dynamically which were added by me later in a deal, I do not want to retrieve any default properties of the deal.

2. Solution given by you can add a parameter to your API call to select properties you want to return.  

eg: &properties=i_like_cats    

In this solution, I need to provide separately all the custom deal properties key names this is not what I want. I need to retrieve all the custom deal properties added by me at once via API is there any filter that can detect the custom fields which added manually in a deal.

0 Upvotes
dennisedson
HubSpot Product Team
HubSpot Product Team

API Issue

SOLVE

@Pabbly_Connect 

I do not believe there is a way to do this other than adding the properties to  the url manually. 

@MichaelC , do you know of another way?

0 Upvotes