basecrm-php
basecrm-php copied to clipboard
Base CRM API client, PHP edition
Errors in response can be null. This is setting $this->errors to an empty array if that is the case.
BaseError fails to handle null response
There is no way to add/edit subscription for an organization
The $keysToPersist on the ContactsService class lacks billing_address and shipping_address
replace https://github.com/basecrm/basecrm-php/blob/master/lib/Errors/BaseError.php#L18 and do something like `return "resource=" . (isset($error['resource']) ? $error['resource'] : 'no_resource') . " field=" . (isset($error['field']) ? $error['field'] : 'no_field') . " code=" . $error['code'] . "...
There does not seem to be a method which allows you to call the upsert API call. > Create a new contact or update an existing, based on a value...
BaseError::__constructor expects its second argument `$response` to be an array with specific values. The $response argument will be `null` if the server produces a *HTTP 500 Internal Server Error*, and...