I am using Xero as a trial version. I have 100+ contacts, Now I want to add pagination through NodeJS API. Read the documentation of it (https://developer.xero.com/documentation/api/contacts) it specify but doesn't work.
My code like this:-
let paging = await xeroClient.core.contacts.getContacts({page: 1})
I have call the function where passing page is a optional parameter but it display all the contacts for me.
Is there my mistake for passing parameter??
I have not used node.js with XeroApi but from the documentation you can try the following:
Check the part with the pager.