From a2c5270c70ce31bcdf241164085eef0c01539e58 Mon Sep 17 00:00:00 2001 From: Caterina Magini Date: Mon, 9 Oct 2023 11:52:42 +0200 Subject: [PATCH] feat: add the ids filter option for the list custom object records api Signed-off-by: Caterina Magini --- zendesk/custom_object.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zendesk/custom_object.go b/zendesk/custom_object.go index c4f7f70..6386c5f 100644 --- a/zendesk/custom_object.go +++ b/zendesk/custom_object.go @@ -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