Hi everyone,
I'm hoping someone can point out what I'm doing wrong here. I'm stuck trying to update a custom multi-select field via the Desk API and it's driving me a bit crazy.
I have a multi-select picklist called "Buy years" with options like 2023, 2024, 2025, etc.
Whenever I send the data through the API, instead of actually selecting the matching checkboxes in the Desk UI, it just forces the data in as one giant literal string.
Depending on how I format the payload, looking at the API response logs, Desk is saving it like this:
'Buy Years': '["2023","2024","2025","2026"]'
or in the cf block like this:
'cf_buy_years': '2023, 2024, 2025, 2026'
Because it's saving as a string with commas and spaces, the UI doesn't recognize it as individual selections. It just shows up in the UI as a single block of text.
I've tried sending it as a standard JSON array ["2023", "2024"] inside the cf object, but it still seems to flatten it.
What is the exact JSON format Zoho Desk expects to actually check multiple values in a multi-select field? Is there a specific trick to sending arrays to the fields so they don't convert to strings?
Thanks in advance for any help!