Skip to content
Snippets Groups Projects
Verified Commit 24c63162 authored by Zandor Smith's avatar Zandor Smith :computer:
Browse files

fix: Update usage in README.

parent 0bec8c96
No related branches found
No related tags found
No related merge requests found
Pipeline #322058 passed
......@@ -18,4 +18,19 @@ composer require zandor300/solvari-php-sdk
## Usage
TODO
```php
use Solvari\Solvari;
use Solvari\SolvariLeadStatus;
use Solvari\Exception\SolvariException;
$solvari = new Solvari("API_KEY_HERE");
$solvariLeadId = 12345678;
$targetSolvariStatus = SolvariLeadStatus::QUOTE_SEND;
try {
$solvari->setLeadStatus($solvariLeadId, $targetSolvariStatus);
} catch(SolvariException $e) {
echo $e->getMessage();
}
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment