Updating Organization with client.set from ticket sidebar (ZAF)
Hi, is there a way to update the organization dropdown value from a ticket sidebar app?
In the documentation (https://developer.zendesk.com/api-reference/apps/apps-support-api/ticket_sidebar/#ticketorganization) I can see that there's no client.set for the organization field.
Thanks
-
Hi Tatsuya! While we don't have a specific client.set method available for it, you can just make an API request to the update the ticket with the new organization_id, using client.request. If you first need to know the available organizations for that user, you can access the ticket.requester object in the ticket sidebar location and return the user's orgs with this: `client.get('ticket.requester.organizations'`
Por favor, entrar para comentar.
1 Comentários