picqer / moneybird-php-client

PHP Client for Moneybird V2
MIT License
82 stars 77 forks source link

Filter Contacts if they exist #98

Closed dna75 closed 6 years ago

dna75 commented 7 years ago

I'm trying to filter on company_names if they exist or not. I see it working with for example a sales invoice status (draft) but is it also possible to filter contacts? With code:

$contact = $moneybird->contact()->filter([ 'company_name' => 'Tester' ]); var_dump($contact);

Beee4life commented 6 years ago

I'm interested to know as well... Or any other way to check if a client exists already, preferably with email as unique identifier.

stephangroen commented 6 years ago

https://developer.moneybird.com/api/contacts/#get_contacts_example1