change from names to ids

Signed-off-by: envoyr <hello@envoyr.com>
This commit is contained in:
2024-12-08 12:17:51 +01:00
parent 63d68d8921
commit d37c0ad55b
13 changed files with 68 additions and 65 deletions

View File

@@ -1,5 +1,8 @@
# PHP Froxlor API Client
> [!WARNING]
> We have changed the way we get the object. Now you have to use the `id` instead of the `name` to get, change or delete the object.
API Wrapper for Froxlor.
## Installation
@@ -43,8 +46,8 @@ $response = $froxlor
```php
$response = $froxlor
->customer('example')
->email('hello@example.com')
->customer(1)
->email(1)
->attributes;
```