Skip to content

Commit eb52c17

Browse files
committed
Merge pull request #216 from intercom/RK/update_readme
Clarify docs for updating users in bulk
2 parents 4006314 + 6918d51 commit eb52c17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ intercom.users.all.each {|user| puts %Q(#{user.email} - #{user.custom_attributes
7979
intercom.users.all.map {|user| user.email }
8080

8181
#Bulk operations.
82-
# Submit bulk job, to create users
82+
# Submit bulk job, to create users, if any of the items in create_items match an existing user that user will be updated
8383
intercom.users.submit_bulk_job(create_items: [{user_id: 25, email: "[email protected]"}, {user_id: 25, email: "[email protected]"}])
8484
# Submit bulk job, to delete users
8585
intercom.users.submit_bulk_job(delete_items: [{user_id: 25, email: "[email protected]"}, {user_id: 25, email: "[email protected]"}])
@@ -328,7 +328,7 @@ The metadata key values in the example are treated as follows-
328328

329329
*NB:* This version of the gem reserves the field name `type` in Event data.
330330

331-
Bulk operations.
331+
Bulk operations.
332332
```ruby
333333
# Submit bulk job, to create events
334334
intercom.events.submit_bulk_job(create_items: [

0 commit comments

Comments
 (0)