Hey. I have an issue with API custom field options in deals. I try to add ENUM custom fields to deals. And can’t add correct options to fields. The system doesn’t parse my options JSON string and add it as one option. What I mean, is see the screenshots:
And What I have:
Could you, please, help me? Where is the mistake? Thank you!
Welcome to the community
Thanks for sharing the code snippet. You seem to pass the
options property as a string. Any reason why it’s done that way? Ideally, this should be an array of objects (without the stringification)
Thank you for your reply. That way - because I wrong understand API docs.
No worries. We will add more examples in the future. Hope you were able to get it working
I changed the string to an array - but it is not working.
But it works if I send only labels without JSON.
It is strange because we have: