Skip to content

Commit 6e17041

Browse files
committed
Add pagination to user search endpoint
Supports offset pagination, per the docs: https://developer.zendesk.com/api-reference/ticketing/users/users/#search-users
1 parent c5a8eb7 commit 6e17041

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zendesk/user.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ type UserRelated struct {
106106
//
107107
// ref: https://developer.zendesk.com/api-reference/ticketing/users/users/#search-users
108108
type SearchUsersOptions struct {
109+
PageOptions
109110
ExternalIDs string `json:"external_ids,omitempty" url:"external_ids,omitempty"`
110111
Query string `json:"query,omitempty" url:"query,omitempty"`
111112
}

0 commit comments

Comments
 (0)