From c86a18f24db9ab51841cead2aec0428da1a387b8 Mon Sep 17 00:00:00 2001 From: Chad Glosier Date: Wed, 21 Jun 2023 10:38:32 -0700 Subject: [PATCH] update transactional example --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b438fda..1c78be2 100644 --- a/README.md +++ b/README.md @@ -225,7 +225,7 @@ Create a new `SendEmailRequest` object containing: * `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 creates 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. @@ -249,7 +249,7 @@ request = Customerio::SendEmailRequest.new( products: [], }, identifiers: { - id: "2", + example: "person@example.com", }, )