From 80b693a7997da3ac9df38cf38e90e43e34bf103d Mon Sep 17 00:00:00 2001 From: Sasha Malcolmson <64798484+amalco2@users.noreply.github.com> Date: Wed, 16 Oct 2024 16:26:59 -0400 Subject: [PATCH] Update content/docs/faq/cc-bcc-with-rest-api.md Co-authored-by: Matt Gray <40871530+mtgray-sp@users.noreply.github.com> --- content/docs/faq/cc-bcc-with-rest-api.md | 44 +++++++++++++----------- 1 file changed, 23 insertions(+), 21 deletions(-) diff --git a/content/docs/faq/cc-bcc-with-rest-api.md b/content/docs/faq/cc-bcc-with-rest-api.md index 46761677..a1c00373 100644 --- a/content/docs/faq/cc-bcc-with-rest-api.md +++ b/content/docs/faq/cc-bcc-with-rest-api.md @@ -159,40 +159,42 @@ One method is to use substitution data for your templates that you want to have Then, for the transmission, set the substitution data for the CC: -``` +```json { - "options" : { - "open_tracking" : true, - "click_tracking" : true, - "conversion_tracking" : false, + "options": { + "open_tracking": true, + "click_tracking": true, "transactional": true }, - "campaign_id" : "mycampaign-msys", - "return_path" : "you@bounce.fromyou.com", - "header_from" : "Single Recipient", - "metadata" : { + "campaign_id": "mycampaign-msys", + "return_path": "you@bounce.fromyou.com", + "header_from": "Single Recipient", + "metadata": { "key": "value" }, - "recipients" : [ + "recipients": [ { - "address" : { + "address": { "email": "to@thisperson.com" }, - "tags" : [ - "greeting", "prehistoric", "fred", "flintstone" - ], - "header_to" : "Wilma Flintstone", - "metadata" : { - "place" : "Bedrock", - "host" : "google.com" + "tags": [ + "greeting", + "prehistoric", + "fred", + "flintstone" + ], + "header_to": "Wilma Flintstone", + "metadata": { + "place": "Bedrock", + "host": "google.com" } } ], "substitution_data": { - "cc_data": "cc@thatperson.com" + "cc_data": "cc@thatperson.com" }, - "content" : { - "template_id": "cc_template_3" + "content": { + "template_id": "cc_template_3" } } ```