Skip to content

Commit ab5b016

Browse files
Fixing issue with SearchUserOptions. The field name must be "external_id" not "external_ids"
1 parent b77fe2b commit ab5b016

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zendesk/user.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ type UserRelated struct {
107107
// ref: https://developer.zendesk.com/api-reference/ticketing/users/users/#search-users
108108
type SearchUsersOptions struct {
109109
PageOptions
110-
ExternalIDs string `json:"external_ids,omitempty" url:"external_ids,omitempty"`
110+
ExternalIDs string `json:"external_id,omitempty" url:"external_id,omitempty"`
111111
Query string `json:"query,omitempty" url:"query,omitempty"`
112112
}
113113

0 commit comments

Comments
 (0)