APIs & Integrations

IvanSierra
Participante

add propeties to json

resolver

Good afternoon, I would like to know how I can add new properties to the json of those created internally by the company, for example, bring the nit in the json result?

0 Avaliação positiva
1 Solução aceita
dennisedson
Solução
Equipe de Produto da HubSpot
Equipe de Produto da HubSpot

add propeties to json

resolver

@IvanSierra 

You can specify properties to return in the url by adding a query parameter. 

Example, to get a property with an internal name of sport, I would add &properties=sport

https://api.hubapi.com/crm/v3/objects/companies?limit=10&properties=sport

You can test this out in the docs 

Exibir solução no post original

3 Respostas 3
webdew
Orientador(a) | Parceiro Diamante
Orientador(a) | Parceiro Diamante

add propeties to json

resolver

Hi @IvanSierra ,

You can use below url for fetching unique property in json result.
https://api.hubapi.com/crm/v3/objects/companies?properties=product



Hope this helps!

If we were able to answer your query, kindly help the community by marking it as a solution.

Thanks and Regards. 

dennisedson
Solução
Equipe de Produto da HubSpot
Equipe de Produto da HubSpot

add propeties to json

resolver

@IvanSierra 

You can specify properties to return in the url by adding a query parameter. 

Example, to get a property with an internal name of sport, I would add &properties=sport

https://api.hubapi.com/crm/v3/objects/companies?limit=10&properties=sport

You can test this out in the docs 

IvanSierra
Participante

add propeties to json

resolver

Thanks Dennised.