nukosuke / go-zendesk

Zendesk API client library for Go
https://pkg.go.dev/github.com/nukosuke/go-zendesk/zendesk
MIT License
62 stars 81 forks source link

Fixing issue with SearchUserOptions. The field name must be "external… #279

Closed luiscastanedalopez closed 1 year ago

luiscastanedalopez commented 1 year ago

…_id" not "external_ids"

luiscastanedalopez commented 1 year ago

According https://developer.zendesk.com/api-reference/ticketing/users/users/#search-users. The param name must be external_id and right know the URL contains external_ids. For that reason when an external_id is passed, we get the whole list of zendesk user instead of the zendesk user that matches with the external_id.