Skip to content

Commit 2805943

Browse files
committed
Update readme to reflect 'custom_attributes' object for Company
1 parent 9ebffdf commit 2805943

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,16 @@ $client->companies->update([
180180
"name" => "foocorp", "id" => "3"
181181
]);
182182

183+
// Creating or Update a company with custom attributes.
184+
$client->companies->update([
185+
"name" => "foocorp",
186+
"id" => "3",
187+
"custom_attributes" => [
188+
"foo" => "bar",
189+
"baz" => "qux"
190+
]
191+
]);
192+
183193
// List Companies
184194
$client->companies->getCompanies([]);
185195
```

0 commit comments

Comments
 (0)