v1.2.0
What's changed
This release adds full CRUD support for accounts and contacts.
New services
AccountService($client->accounts) — list, create, retrieve, update, delete, unarchive, upload/delete logoContactService($client->contacts) — list, create, retrieve, update, delete
Also included
- New examples:
accounts_edocsync.php,accounts_edocexchange.php,contacts.php docs/VERSIONING.md— SDK versioning policy documentation
Quick start
// List accounts
$accounts = $client->accounts->all(['limit' => 10]);
// Create a contact
$contact = $client->contacts->create($accountId, [
'contact' => [
'name' => 'Customer Company',
'email' => 'billing@customer.com',
'tin_value' => 'ESB87654321',
'country' => 'ES',
]
]);
Full Changelog: https://github.com/B2Brouter/b2brouter-php/compare/v1.1.0...v1.2.0