ej2 / python-quickbooks

A Python library for accessing the Quickbooks API.
MIT License
401 stars 193 forks source link

Query a vendor with email not supported #284

Closed lmuser1 closed 1 year ago

lmuser1 commented 1 year ago

This feature should be present, how can i query a vendor by any other field, because only email is unique property of a vendor right now that i have

ej2 commented 1 year ago

This should work: vendors = Vendorwhere("PrimaryEmailAddr = 'vendor@email.com'", qb=client)

Check the docs for more examples of how to query with ordering and/or paging.