Skip to content

Commit 809f1f7

Browse files
author
Kevin Antoine
authored
Merge pull request #208 from kareypowell/master
Update readme to reflect 'custom_attributes' object for Company
2 parents 7de8751 + 2805943 commit 809f1f7

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
@@ -218,6 +218,16 @@ $client->companies->update([
218218
"name" => "foocorp", "id" => "3"
219219
]);
220220

221+
// Creating or Update a company with custom attributes.
222+
$client->companies->update([
223+
"name" => "foocorp",
224+
"id" => "3",
225+
"custom_attributes" => [
226+
"foo" => "bar",
227+
"baz" => "qux"
228+
]
229+
]);
230+
221231
// List Companies
222232
$client->companies->getCompanies([]);
223233
```

0 commit comments

Comments
 (0)