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.
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'`
댓글을 남기려면 로그인하세요.