diff --git a/README.md b/README.md index 7df2a61..20dca75 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ To use the [Transactional API](https://customer.io/docs/journeys/transactional-a SendEmailRequest requires: * `transactional_message_id`: the ID of the transactional message you want to send, or the `body`, `_from`, and `subject` of a new message. * `to`: the email address of your recipients -* an `identifiers` object containing the `id` of your recipient. If the `id` does not exist, Customer.io will create it. +* an `identifiers` object containing the `email` and/or `id` of your recipient. If the person you reference by email or ID does not exist, Customer.io creates them. * a `message_data` object containing properties that you want reference in your message using Liquid. * You can also send attachments with your message. Use `attach` to encode attachments. @@ -218,7 +218,7 @@ request = SendEmailRequest( ] }, identifiers={ - "id": "2", + "email": "person@example.com", } )