Skip to content

Commit

Permalink
clarify transactional example (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
glosier authored Jun 22, 2023
1 parent a2e9682 commit 2a316b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,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 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.

Expand All @@ -326,7 +326,7 @@ const request = new SendEmailRequest({
products: [],
},
identifiers: {
id: "2",
email: "person@example.com",
},
});

Expand Down

0 comments on commit 2a316b1

Please sign in to comment.