Skip to content

Commit

Permalink
Merge pull request #293 from CaterinaMag/add-ids-filter-to-custom-obj…
Browse files Browse the repository at this point in the history
…ects

feat: add the ids filter option for the list custom object records api
  • Loading branch information
nukosuke authored Oct 13, 2023
2 parents 762f6d1 + a2c5270 commit 10b7bdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion zendesk/custom_object.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ func (z *Client) CreateCustomObjectRecord(
// CustomObjectListOptions custom object list options
type CustomObjectListOptions struct {
PageOptions
ExternalIds []string `url:"external_ids"`
Ids string `url:"filter[ids],omitempty"`
ExternalIds string `url:"filter[external_ids],omitempty"`
}

// ListCustomObjectRecords list objects
Expand Down

0 comments on commit 10b7bdb

Please sign in to comment.