APIs & Integrations

aviso_pb
Member

Deals api returns deal_currency_code as null

I have my account onfigured to use USD as default currency and I am able to see deal amount in USD in HubSpot UI. But when I fetch the deals using the deals api(https://api.hubapi.com/crm/v3/objects/deals?&properties=deal_currency_code,amount_in_home_currency), I get deal_currency_code as null.

 

Please Help me understand how to get the currency code of a deal.

0 Upvotes
1 Reply 1
ChehakWadhdwa
Member | Diamond Partner
Member | Diamond Partner

Deals api returns deal_currency_code as null

hi @aviso_pb 

are you using this = https://api.hubapi.com/crm/v3/objects/deals?&properties=deal_currency_code,amount_in_home_currency

or this 

=https://api.hubapi.com/crm/v3/objects/deals?&properties=deal_currency_code

 

the second one is the correct i have tested it on my side and it is working perfectly, have you manually updated osme of the records ?

0 Upvotes