Deal Currency Options

Hello all,

When retrieving the deal_currency_code property in order to get an array of currency options, the options array is empty. I am using this endpoint which returns options as expected for other select fields: https://api.hubapi.com/crm/v3/properties/deals/deal_currency_code

Is there an issue here or is there something different I can do to access this data?

Hey @AliFawadHassan,
I believe deal_currency_code is a property that has the externalOptions field marked as true, which means its options aren’t accessible in the regular properties API.
For the currencies I believe you have to check out the settings API here.
Let me know if this helps!
Anze

Alright, i fetched the currencies from the setitngs API, now when i tried to update the currency of deal using API, I’m getting error below:
{

“status”: “error”,

“message”: “Property values were not valid: [{\“isValid\”:false,\“message\”:\”\\\“COU\\\” is not a part of the current effective currency codes for portal 5979530\“,\“error\”:\“INVALID_OPTION\”,\“name\”:\“deal_currency_code\”}]”,

“correlationId”: “ffef0f29-6b94-4239-aa28-29395a7de67d”,

“category”: “VALIDATION_ERROR”

}