File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ $api->setCacheInterface($cacheInterface);
5252### 🔚 Contact Endpoint
5353
5454``` php
55-
5655// get a page
5756/** @var \exbil\LexOffice\LexOfficeClient $api */
5857$client = $api->contact();
@@ -62,14 +61,14 @@ $client->sortDirection = 'ASC';
6261$client->sortProperty = 'name';
6362
6463// get a page
65- $response = $client->getPage(0);
64+ $response = $client->contact()-> getPage(0);
6665
6766//get all
68- $response = $client->getAll();
67+ $response = $client->contact()-> getAll();
6968
7069// other methods
71- $response = $client->get($entityId);
72- $response = $client->create($data);
70+ $response = $client->contact()-> get($entityId);
71+ $response = $client->contact()-> create($data);
7372```
7473
7574### 🗺️ Country Endpoint
You can’t perform that action at this time.
0 commit comments