calcinai / xero-php

A php library for the Xero API, with a cleaner OAuth interface and ORM-like abstraction.
MIT License
357 stars 256 forks source link

Add the summaryOnly #873

Open emp-sean opened 1 year ago

emp-sean commented 1 year ago

Can we have the option to use the summaryOnly option as outlined here as part of the loadbyGUIDs and loadbyGUID functions?

futurewebsites commented 1 year ago

Can we also have this for getContacts, our accountants in their wisdom decided to make all sales go under one generic websales contact now loading a contact to set on an invoice is taking 75677 ms and returning 130+ mb of data :(

calcinai commented 1 year ago

@ubox-sean If you've got an idea in mind feel free to submit a PR. I assume you're suggesting simply adding a third parameter to those methods, then adding it to the request?