Some of the list_xyz() endpoints may also allow optional body parameters to be passed as data, in addition to specifying the ID when calling the list_xyz()method. Make a list of these endpoints. Then, duplicate the _list_items() internal method and adjust the duplicate so it accepts data as a parameter (similarly to how the _update_items() internal method does.
Some of the
list_xyz()
endpoints may also allow optional body parameters to be passed asdata
, in addition to specifying the ID when calling thelist_xyz()
method. Make a list of these endpoints. Then, duplicate the_list_items()
internal method and adjust the duplicate so it acceptsdata
as a parameter (similarly to how the_update_items()
internal method does.