Testing Salesforce Marketing Cloud

After you receive confirmation that your Salesforce Marketing Cloud (SFMC) integration is ready, you can test the service by sending out a test email. Sending out test messages confirms that Salesforce is queuing the messages correctly, the data fields are populating, and the email formatting is correct.
 
We recommend that you use Saleforce's API and an application such as Postman to trigger the test emails. Using the API is the easiest way to take specific, targeted test actions.

 


Access Token Request

Salesforce Marketing Cloud requires applications to generate an access token, which will automatically expire after a 20-minute period. You’ll need your subdomain, client ID, client secret, and account ID in order to make the request.

Method: POST

https://<your-subdomain>.auth.marketingcloudapis.com/v2/token

Header:

Content-Type:application/json

Body:

{
  "grant_type":"client_credentials",
  "client_id":"<client_id>",
  "client_secret":"<client_secret>",
  "scope":"email_read email_write email_send",
  "account_id":"<account_id>"
}

Response:

{
"access_token": "<access-token>",
"token_type": "Bearer",
"expires_in": 1079,
"scope": "email_read email_write email_send",
"soap_instance_url": "https://<your-subdomain>.soap.marketingcloudapis.com/",
"rest_instance_url": "https://<your-subdomain>.rest.marketingcloudapis.com/"
}

Trigger Test Message

Use you access token and make a POST request for a triggered send to send out a test email. You’ll need the subdomain, the external key of the email you’re triggering, and the corresponding payload with the relevant information.

You can find examples of each available payload below. Update the SubscriberKey and replace the Address value with the email address you want to send the email to. You can also update product information and URLs to render your own products. This is especially helpful with image URLs to confirm their size is correct.

Method: POST

https://<your-subdomain>.rest.marketingcloudapis.com/messaging/v1/messageDefinitionSends/key:external_key/send

Header

Content-Type:application/json
Authorization:Bearer <access-token>

Sample Email Payloads

Subscription Started - Single Product

NOTE: This will trigger a separate email for each subscription created in the checkout. Customers with multiple subscriptions will receive several emails. We recommend using the Bulk Subscription Started email for a better customer experience. You should not activate both emails at the same time. Please let us know which email you plan to use.

{
    "To": {
        "SubscriberKey": "johndoe@ordergroove.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "FIRST_NAME": "John",
                "LAST_NAME": "Doe",
                "SUBSCRIPTION_PRODUCT_NAME": "Sample Product 1",
                "LOCALE": "en-us",
                "SUBSCRIPTION_FREQUENCY": "3 Months",
                "SUBSCRIPTION_PRODUCT_SKU": "84259",
                "SUBSCRIPTION_PRODUCT_IMG_URL": "https://<yourwebsite>.com/product1.jpg",
                "CARD_TYPE": "American Express",
                "SUBSCRIPTION_PRICE": 32.00,
                "SUBSCRIPTION_QTY": 1,
                "SUBSCRIPTION_PRODUCT_URL": "https://<yourwebsite>.com/product1.html",
                "CARD_EXPIRE": "02/2023",
                "NEXT_ORDER_DATE": "2021-06-22"
            }
        },
        "Address": "johndoe@ordergroove.com"
    }
}

 

Bulk Subscription Started

NOTE: This email trigger will include all subscriptions created in the checkout per customer. Ordergroove recommends using this email instead of the Subscription Started - Single Product email. You should not activate both emails at the same time. Please let us know which email you plan to use.

{
  "To":{
    "SubscriberKey":"johndoe@prdergroove.com",
    "ContactAttributes":{
        "SubscriberAttributes":{
          "XML":"<root><SUBSCRIPTION><SUBSCRIPTION_PRODUCT_NAME>Sample Product X</SUBSCRIPTION_PRODUCT_NAME><SUBSCRIPTION_PRODUCT_SKU>NSD-BF02</SUBSCRIPTION_PRODUCT_SKU><SUBSCRIPTION_PRODUCT_URL>https://<yourwebsite>.com/productA.html</SUBSCRIPTION_PRODUCT_URL><SUBSCRIPTION_IMG_URL>https://<yourwebsite>.com/productA.jpg</SUBSCRIPTION_IMG_URL><SUBSCRIPTION_QTY>5</SUBSCRIPTION_QTY><SUBSCRIPTION_PRICE>14.40</SUBSCRIPTION_PRICE><SUBSCRIPTION_FREQUENCY>2 Weeks</SUBSCRIPTION_FREQUENCY><NEXT_ORDER_DATE>16 April, 2021</NEXT_ORDER_DATE></SUBSCRIPTION><SUBSCRIPTION><SUBSCRIPTION_PRODUCT_NAME>Sample Product A</SUBSCRIPTION_PRODUCT_NAME><SUBSCRIPTION_PRODUCT_SKU>NSD-CH02</SUBSCRIPTION_PRODUCT_SKU><SUBSCRIPTION_PRODUCT_URL>https://<yourwebsite>.com/product1.html</SUBSCRIPTION_PRODUCT_URL><SUBSCRIPTION_IMG_URL>https://<yourwebsite>.com/product1.jpg</SUBSCRIPTION_IMG_URL><SUBSCRIPTION_QTY>4</SUBSCRIPTION_QTY><SUBSCRIPTION_PRICE>11.94</SUBSCRIPTION_PRICE><SUBSCRIPTION_FREQUENCY>2 Weeks</SUBSCRIPTION_FREQUENCY><NEXT_ORDER_DATE>16 April, 2021</NEXT_ORDER_DATE></SUBSCRIPTION><SUBSCRIPTION><SUBSCRIPTION_PRODUCT_NAME>Sample Product B</SUBSCRIPTION_PRODUCT_NAME><SUBSCRIPTION_PRODUCT_SKU>NSD-TK02</SUBSCRIPTION_PRODUCT_SKU><SUBSCRIPTION_PRODUCT_URL>https://<yourwebsite>.com/product2.html</SUBSCRIPTION_PRODUCT_URL><SUBSCRIPTION_IMG_URLhttps://<yourwebsite>.com/product2.jpg</SUBSCRIPTION_IMG_URL><SUBSCRIPTION_QTY>4</SUBSCRIPTION_QTY><SUBSCRIPTION_PRICE>13.18</SUBSCRIPTION_PRICE><SUBSCRIPTION_FREQUENCY>4 Weeks</SUBSCRIPTION_FREQUENCY><NEXT_ORDER_DATE>30 April, 2021</NEXT_ORDER_DATE></SUBSCRIPTION></root>",
          "FIRST_NAME":"John",
          "LAST_NAME":"Doe"
        }
    },
    "Address":"johndoe@ordergroove.com"
  }
}

 

Out of Stock - Day 1

{
    "To": {
        "SubscriberKey": "johndoe@ordergroove.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "SHIPPING_LNAME": "Doe",
                "FIRST_NAME": "John",
                "LAST_NAME": "Doe",
                "SUBSCRIPTION_PRODUCT_NAME": "Sample Product 1",
                "SHIPPING_ADDRESS_STATE": "NY",
                "LOCALE": "en-us",
                "SHIPPING_ADDRESS_ZIP": "10004",
                "SUBSCRIPTION_PRODUCT_SKU": "84259",
                "CARD_EXPIRE": "02/2023",
                "CARD_TYPE": "American Express",
                "SUBSCRIPTION_QTY": 1,
                "SHIPPING_FNAME": "John",
                "SHIPPING_ADDRESS_TOWN": "new york",
                "SUBSCRIPTION_PRODUCT_URL": "https://<yourwebsite>.com/product1.html",
                "SUBSCRIPTION_PRODUCT_IMG_URL": "https://<yourwebsite>.com/product1.jpg",
                "SHIPPING_ADDRESS_1": "75 broad st",
                "SHIPPING_ADDRESS_2": "fl 23"
            }
        },
        "Address": "johndoe@ordergroove.com"
    }
}

 

Out of Stock - Day 15

{
    "To": {
        "SubscriberKey": "johndoe@ordergroove.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "SHIPPING_LNAME": "Doe",
                "FIRST_NAME": "John",
                "LAST_NAME": "Doe",
                "SUBSCRIPTION_PRODUCT_NAME": "Sample Product 1",
                "SHIPPING_ADDRESS_STATE": "NY",
                "LOCALE": "en-us",
                "SHIPPING_ADDRESS_ZIP": "10004",
                "SUBSCRIPTION_PRODUCT_SKU": "84259",
                "CARD_EXPIRE": "02/2023",
                "CARD_TYPE": "American Express",
                "SUBSCRIPTION_QTY": 1,
                "SHIPPING_FNAME": "John",
                "SHIPPING_ADDRESS_TOWN": "new york",
                "SUBSCRIPTION_PRODUCT_URL": "https://<yourwebsite>.com/product1.html",
                "SUBSCRIPTION_PRODUCT_IMG_URL": "https://<yourwebsite>.com/product1.jpg",
                "SHIPPING_ADDRESS_1": "75 broad st",
                "SHIPPING_ADDRESS_2": "fl 23"
            }
        },
        "Address": "johndoe@ordergroove.com"
    }
}

 

Out of Stock - Day 30

{
    "To": {
        "SubscriberKey": "johndoe@ordergroove.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "SHIPPING_LNAME": "Doe",
                "FIRST_NAME": "John",
                "LAST_NAME": "Doe",
                "SUBSCRIPTION_PRODUCT_NAME": "Sample Product 1",
                "SHIPPING_ADDRESS_STATE": "NY",
                "LOCALE": "en-us",
                "SHIPPING_ADDRESS_ZIP": "10004",
                "SUBSCRIPTION_PRODUCT_SKU": "84259",
                "CARD_EXPIRE": "02/2023",
                "CARD_TYPE": "American Express",
                "SHIPPING_ADDRESS_TOWN": "new york",
                "NEXT_ORDER_DATE": "06/22/2021",
                "SHIPPING_FNAME": "John",
                "SUBSCRIPTION_QTY": 1,
                "SUBSCRIPTION_PRODUCT_URL": "https://<yourwebsite>.com/product1.html",
                "SUBSCRIPTION_PRODUCT_IMG_URL": "https://<yourwebsite>.com/product1.jpg",
                "SHIPPING_ADDRESS_1": "75 broad st",
                "SHIPPING_ADDRESS_2": "fl 23"
            }
        },
        "Address": "johndoe@ordergroove.com"
    }
}

 

Discontinued Product - Swap With Replacement (Subscription)

{
  "To":{
      "SubscriberKey":"johndoe@ordergroove.com",
      "ContactAttributes":{
        "SubscriberAttributes":{
            "FIRST_NAME":"Atul",
            "LAST_NAME":"Kumar",
            "LOCALE":"en-us",
            "SUBSCRIPTION_FREQUENCY":"1 Month",
            "SUBSCRIPTION_QTY":2,
            "SUBSCRIPTION_PRODUCT_NAME":"Sample Product A",
            "SUBSCRIPTION_PRODUCT_SKU":"204611",
            "SUBSCRIPTION_PRODUCT_URL":"https://<yourwebsite>.com/productB",
            "SUBSCRIPTION_PRODUCT_IMG_URL":"https://<yourwebsite>.com/product.jpg",
            "SUBSCRIPTION_PRODUCT_PRICE":79.99,
            "SUBSCRIPTION_PRICE":71.99,
            "SUBSCRIPTION_PRODUCT_REPLACEMENT_NAME":"Product 1",
            "SUBSCRIPTION_PRODUCT_REPLACEMENT_SKU":"123403",
            "SUBSCRIPTION_PRODUCT_REPLACEMENT_URL":"https://<yourwebsite>.com/productA",
            "SUBSCRIPTION_PRODUCT_REPLACEMENT_IMG_URL":"https://<yourwebsite>.com/productx.jpg",
            "SUBSCRIPTION_PRODUCT_REPLACEMENT_PRICE":32.99,
            "NEXT_ORDER_DATE":"03/24/2021"
        }
      },
      "Address":"johndoe@ordergroove.com"
  }
}

 

Discontinued Item - Swap With Replacement (One-Time Item)

{
  "To":{
    "SubscriberKey":"johndoe@ordergroove.com",
    "ContactAttributes":{
        "SubscriberAttributes":{
          "FIRST_NAME":"John",
          "LAST_NAME":"Doe",
          "LOCALE":"en-us",
          "SHIPPING_ADDRESS_ZIP":"10004",
          "CARD_EXPIRE":"12/2022",
          "CARD_TYPE":"Visa",
          "SHIPPING_ADDRESS_TOWN":"New  York",
          "SHIPPING_ADDRESS_1":"75 Broad St",
          "SUBSCRIPTION_QTY":1,
          "SHIPPING_ADDRESS_STATE":"",
          "SUBSCRIPTION_PRODUCT_NAME":"Sample Product A",
          "SUBSCRIPTION_PRODUCT_SKU":"204611",
          "SUBSCRIPTION_PRODUCT_URL":"https://<yourwebsite>.com/productB",
          "SUBSCRIPTION_PRODUCT_IMG_URL":"https://<yourwebsite>.com/product.jpg",
          "SUBSCRIPTION_PRODUCT_PRICE":79.99,
          "SUBSCRIPTION_PRODUCT_REPLACEMENT_NAME":"Product 1",
          "SUBSCRIPTION_PRODUCT_REPLACEMENT_SKU":"123403",
          "SUBSCRIPTION_PRODUCT_REPLACEMENT_URL":"https://<yourwebsite>.com/productA",
          "SUBSCRIPTION_PRODUCT_REPLACEMENT_IMG_URL":"https://<yourwebsite>.com/productx.jpg",
          "SUBSCRIPTION_PRODUCT_REPLACEMENT_PRICE":32.99,
          "CARD_LAST4":1111,
          "SHIPPING_LNAME":"Doe",
          "SHIPPING_ADDRESS_2":"23rd Floor",
          "SHIPPING_FNAME":"John",
          "CARD_HOLDER":"John Doe"
        }
    },
    "Address":"johndoe@ordergroove.com"
  }
}

 

Order Reminder

{
    "To": {
        "SubscriberKey": "johndoe@ordergroove.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "XML": "<root><ITEM><ITEM_PRODUCT_NAME>Sample Product 2</ITEM_PRODUCT_NAME><ITEM_PRODUCT_SKU>74340</ITEM_PRODUCT_SKU><ITEM_PRODUCT_URL>https://<yourwebsite>.com/product2.jpg</ITEM_PRODUCT_IMG_URL><ITEM_QTY>1</ITEM_QTY><ITEM_SUBSCRIPTION_PRICE>17.00</ITEM_SUBSCRIPTION_PRICE><ITEM_TOTAL>17.00</ITEM_TOTAL><subscription_frequency>3 months</subscription_frequency></ITEM><ITEM><ITEM_PRODUCT_NAME>Sample Product 1</ITEM_PRODUCT_NAME><ITEM_PRODUCT_SKU>84259</ITEM_PRODUCT_SKU><ITEM_PRODUCT_URL>https://<yourwebsite>.com/product1.html</ITEM_PRODUCT_URL><ITEM_PRODUCT_IMG_URLhttps://<yourwebsite>.com/productB.jpg</ITEM_PRODUCT_IMG_URL><ITEM_QTY>1</ITEM_QTY><ITEM_SUBSCRIPTION_PRICE>27.20</ITEM_SUBSCRIPTION_PRICE><ITEM_TOTAL>27.20</ITEM_TOTAL><subscription_frequency>3 months</subscription_frequency></ITEM></root>",
                "SHIPPING_LNAME": "Doe",
                "FIRST_NAME": "John",
                "LAST_NAME": "Doe",
                "ORDER_TOTAL": 44.20,
                "SHIPPING_ADDRESS_STATE": "NY",
                "LOCALE": "en-us",
                "SHIPPING_ADDRESS_ZIP": "10004-2487",
                "ORDER_SHIPPING": 0.00,
                "CARD_TYPE": "Mastercard",
                "ORDER_SUBTOTAL": 44.20,
                "ORDER_PLACE_DATE_SHORT": "05/20/2021",
                "SHIPPING_FNAME": "John",
                "SHIPPING_ADDRESS_TOWN": "New York",
                "ORDER_TOTAL_SAVINGS": 7.80,
                "CARD_EXPIRE": "03/2021",
                "SHIPPING_ADDRESS_1": "75 Broad St Fl 23",
                "SHIPPING_ADDRESS_2": "",
                "ORDER_PLACE_DATE_LONG": "Thu 20 May 2021"
            }
        },
        "Address": "johndoe@ordergroove.com"
    }
}

 

Order Reminder With Skip Order Enabled

NOTE: The SKIP_ORDER URL does not work when testing. To enable this functionality, Ordergroove must trigger this email from our backend in order to generate a unique token value for the customer and order.

This is a custom experience that must be purchased through Ordergroove. For more information take a look at Marketing One Click Action In Emails.

{
    "To": {
        "SubscriberKey": "johndoe@ordergroove.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "XML": "<root><ITEM><ITEM_PRODUCT_NAME>Shark Cartilage</ITEM_PRODUCT_NAME><ITEM_PRODUCT_SKU>000211</ITEM_PRODUCT_SKU><ITEM_PRODUCT_URL>https://<yourwebsite>.com/product.html</ITEM_PRODUCT_URL><ITEM_PRODUCT_IMG_URL>https://<yourwebsite>.com/product.jpg</ITEM_PRODUCT_IMG_URL><ITEM_QTY>2</ITEM_QTY><ITEM_SUBSCRIPTION_PRICE>12.95</ITEM_SUBSCRIPTION_PRICE><ITEM_TOTAL>25.90</ITEM_TOTAL></ITEM><ITEM><ITEM_PRODUCT_NAME>GNC MEGA MEN&amp;reg SPORT</ITEM_PRODUCT_NAME><ITEM_PRODUCT_SKU>7829926</ITEM_PRODUCT_SKU><ITEM_PRODUCT_URL>https://<yourwebsite>.com/product2.html</ITEM_PRODUCT_URL><ITEM_PRODUCT_IMG_URL>https://<yourwebsite>.com/product7.jpg</ITEM_PRODUCT_IMG_URL><ITEM_QTY>2</ITEM_QTY><ITEM_SUBSCRIPTION_PRICE>47.49</ITEM_SUBSCRIPTION_PRICE><ITEM_TOTAL>94.98</ITEM_TOTAL></ITEM></root>",
                "SHIPPING_LNAME": "Doe",
                "FIRST_NAME": "John",
                "LAST_NAME": "Doe",
                "ORDER_TOTAL": 120.88,
                "SHIPPING_ADDRESS_STATE": "NY",
                "LOCALE": "en-us",
                "SHIPPING_ADDRESS_ZIP": "10004",
                "ORDER_SHIPPING": 0.00,
                "CARD_TYPE": "Mastercard",
                "ORDER_SUBTOTAL": 120.88,
                "ORDER_PLACE_DATE_SHORT": "05/26/2021",
                "SHIPPING_FNAME": "John",
                "SHIPPING_ADDRESS_TOWN": "New York",
                "ORDER_TOTAL_SAVINGS": 7.88,
                "SKIP_ORDER": "https://<yourwebsite>.com?token=fdgerhujntwklsdvf9ujpiewfsdcdsfQ2In0%3D",
                "CARD_EXPIRE": "09/2021",
                "SHIPPING_ADDRESS_1": "75 Broad St",
                "SHIPPING_ADDRESS_2": "Floor 23",
                "ORDER_PLACE_DATE_LONG": "Wed 26 May 2021"
            }
        },
        "Address": "johndoe@ordergroove.com"
    }
}

 

CC Expiration Warning

{
    "To": {
        "SubscriberKey": "johndoe@ordergroove.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "XML": "<root><ITEM><ITEM_PRODUCT_NAME>Sample Product 2</ITEM_PRODUCT_NAME><ITEM_PRODUCT_SKU>74340</ITEM_PRODUCT_SKU><ITEM_PRODUCT_URL>https://<yourwebsite>.com/product2.jpg</ITEM_PRODUCT_IMG_URL><ITEM_QTY>1</ITEM_QTY><ITEM_SUBSCRIPTION_PRICE>17.00</ITEM_SUBSCRIPTION_PRICE><ITEM_TOTAL>17.00</ITEM_TOTAL></ITEM><ITEM><ITEM_PRODUCT_NAME>Sample Product 1</ITEM_PRODUCT_NAME><ITEM_PRODUCT_SKU>84259</ITEM_PRODUCT_SKU><ITEM_PRODUCT_URL>https://<yourwebsite>.com/product1.html</ITEM_PRODUCT_URL><ITEM_PRODUCT_IMG_URLhttps://<yourwebsite>.com/productB.jpg</ITEM_PRODUCT_IMG_URL><ITEM_QTY>1</ITEM_QTY><ITEM_SUBSCRIPTION_PRICE>27.20</ITEM_SUBSCRIPTION_PRICE><ITEM_TOTAL>27.20</ITEM_TOTAL></ITEM></root>",
                "SHIPPING_LNAME": "Doe",
                "FIRST_NAME": "John",
                "LAST_NAME": "Doe",
                "ORDER_TOTAL": 44.20,
                "SHIPPING_ADDRESS_STATE": "NY",
                "LOCALE": "en-us",
                "SHIPPING_ADDRESS_ZIP": "10004-2487",
                "ORDER_SHIPPING": 0.00,
                "CARD_TYPE": "Mastercard",
                "ORDER_SUBTOTAL": 44.20,
                "ORDER_PLACE_DATE_SHORT": "05/20/2021",
                "SHIPPING_FNAME": "John",
                "SHIPPING_ADDRESS_TOWN": "New York",
                "ORDER_TOTAL_SAVINGS": 7.80,
                "CARD_EXPIRE": "03/2021",
                "SHIPPING_ADDRESS_1": "75 Broad St Fl 23",
                "SHIPPING_ADDRESS_2": "",
                "ORDER_PLACE_DATE_LONG": "Thu 20 May 2021"
            }
        },
        "Address": "johndoe@ordergroove.com"
    }
}

 

Order Not Placed - CC Expired

{
    "To": {
        "SubscriberKey": "johndoe@ordergroove.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "XML": "<root><ITEM><ITEM_PRODUCT_NAME>Sample Product 2</ITEM_PRODUCT_NAME><ITEM_PRODUCT_SKU>74340</ITEM_PRODUCT_SKU><ITEM_PRODUCT_URL>https://<yourwebsite>.com/product2.jpg</ITEM_PRODUCT_IMG_URL><ITEM_QTY>1</ITEM_QTY><ITEM_SUBSCRIPTION_PRICE>17.00</ITEM_SUBSCRIPTION_PRICE><ITEM_TOTAL>17.00</ITEM_TOTAL></ITEM><ITEM><ITEM_PRODUCT_NAME>Sample Product 1</ITEM_PRODUCT_NAME><ITEM_PRODUCT_SKU>84259</ITEM_PRODUCT_SKU><ITEM_PRODUCT_URL>https://<yourwebsite>.com/product1.html</ITEM_PRODUCT_URL><ITEM_PRODUCT_IMG_URLhttps://<yourwebsite>.com/productB.jpg</ITEM_PRODUCT_IMG_URL><ITEM_QTY>1</ITEM_QTY><ITEM_SUBSCRIPTION_PRICE>27.20</ITEM_SUBSCRIPTION_PRICE><ITEM_TOTAL>27.20</ITEM_TOTAL></ITEM></root>",
                "SHIPPING_LNAME": "Doe",
                "FIRST_NAME": "John",
                "LAST_NAME": "Doe",
                "ORDER_TOTAL": 44.20,
                "SHIPPING_ADDRESS_STATE": "NY",
                "LOCALE": "en-us",
                "SHIPPING_ADDRESS_ZIP": "10004-2487",
                "ORDER_SHIPPING": 0.00,
                "CARD_TYPE": "Mastercard",
                "ORDER_SUBTOTAL": 44.20,
                "ORDER_PLACE_DATE_SHORT": "05/20/2021",
                "SHIPPING_FNAME": "John",
                "SHIPPING_ADDRESS_TOWN": "New York",
                "ORDER_TOTAL_SAVINGS": 7.80,
                "CARD_EXPIRE": "03/2021",
                "SHIPPING_ADDRESS_1": "75 Broad St Fl 23",
                "SHIPPING_ADDRESS_2": "",
                "ORDER_PLACE_DATE_LONG": "Thu 20 May 2021"
            }
        },
        "Address": "johndoe@ordergroove.com"
    }
}

 

Order Not Placed - CC Issue

{
    "To": {
        "SubscriberKey": "johndoe@ordergroove.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "XML": "<root><ITEM><ITEM_PRODUCT_NAME>Sample Product 2</ITEM_PRODUCT_NAME><ITEM_PRODUCT_SKU>74340</ITEM_PRODUCT_SKU><ITEM_PRODUCT_URL>https://<yourwebsite>.com/product2.jpg</ITEM_PRODUCT_IMG_URL><ITEM_QTY>1</ITEM_QTY><ITEM_SUBSCRIPTION_PRICE>17.00</ITEM_SUBSCRIPTION_PRICE><ITEM_TOTAL>17.00</ITEM_TOTAL></ITEM><ITEM><ITEM_PRODUCT_NAME>Sample Product 1</ITEM_PRODUCT_NAME><ITEM_PRODUCT_SKU>84259</ITEM_PRODUCT_SKU><ITEM_PRODUCT_URL>https://<yourwebsite>.com/product1.html</ITEM_PRODUCT_URL><ITEM_PRODUCT_IMG_URLhttps://<yourwebsite>.com/productB.jpg</ITEM_PRODUCT_IMG_URL><ITEM_QTY>1</ITEM_QTY><ITEM_SUBSCRIPTION_PRICE>27.20</ITEM_SUBSCRIPTION_PRICE><ITEM_TOTAL>27.20</ITEM_TOTAL></ITEM></root>",
                "SHIPPING_LNAME": "Doe",
                "FIRST_NAME": "John",
                "LAST_NAME": "Doe",
                "ORDER_TOTAL": 44.20,
                "SHIPPING_ADDRESS_STATE": "NY",
                "LOCALE": "en-us",
                "SHIPPING_ADDRESS_ZIP": "10004-2487",
                "ORDER_SHIPPING": 0.00,
                "CARD_TYPE": "Mastercard",
                "ORDER_SUBTOTAL": 44.20,
                "ORDER_PLACE_DATE_SHORT": "05/20/2021",
                "SHIPPING_FNAME": "John",
                "SHIPPING_ADDRESS_TOWN": "New York",
                "ORDER_TOTAL_SAVINGS": 7.80,
                "CARD_EXPIRE": "03/2021",
                "SHIPPING_ADDRESS_1": "75 Broad St Fl 23",
                "SHIPPING_ADDRESS_2": "",
                "ORDER_PLACE_DATE_LONG": "Thu 20 May 2021"
            }
        },
        "Address": "johndoe@ordergroove.com"
    }
}

 

Order Not Placed - Generic Issue

{
    "To": {
        "SubscriberKey": "johndoe@ordergroove.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "XML": "<root><ITEM><ITEM_PRODUCT_NAME>Sample Product 2</ITEM_PRODUCT_NAME><ITEM_PRODUCT_SKU>74340</ITEM_PRODUCT_SKU><ITEM_PRODUCT_URL>https://<yourwebsite>.com/product2.jpg</ITEM_PRODUCT_IMG_URL><ITEM_QTY>1</ITEM_QTY><ITEM_SUBSCRIPTION_PRICE>17.00</ITEM_SUBSCRIPTION_PRICE><ITEM_TOTAL>17.00</ITEM_TOTAL></ITEM><ITEM><ITEM_PRODUCT_NAME>Sample Product 1</ITEM_PRODUCT_NAME><ITEM_PRODUCT_SKU>84259</ITEM_PRODUCT_SKU><ITEM_PRODUCT_URL>https://<yourwebsite>.com/product1.html</ITEM_PRODUCT_URL><ITEM_PRODUCT_IMG_URLhttps://<yourwebsite>.com/productB.jpg</ITEM_PRODUCT_IMG_URL><ITEM_QTY>1</ITEM_QTY><ITEM_SUBSCRIPTION_PRICE>27.20</ITEM_SUBSCRIPTION_PRICE><ITEM_TOTAL>27.20</ITEM_TOTAL></ITEM></root>",
                "SHIPPING_LNAME": "Doe",
                "FIRST_NAME": "John",
                "LAST_NAME": "Doe",
                "ORDER_TOTAL": 44.20,
                "SHIPPING_ADDRESS_STATE": "NY",
                "LOCALE": "en-us",
                "SHIPPING_ADDRESS_ZIP": "10004-2487",
                "ORDER_SHIPPING": 0.00,
                "CARD_TYPE": "Mastercard",
                "ORDER_SUBTOTAL": 44.20,
                "ORDER_PLACE_DATE_SHORT": "05/20/2021",
                "SHIPPING_FNAME": "John",
                "SHIPPING_ADDRESS_TOWN": "New York",
                "ORDER_TOTAL_SAVINGS": 7.80,
                "CARD_EXPIRE": "03/2021",
                "SHIPPING_ADDRESS_1": "75 Broad St Fl 23",
                "SHIPPING_ADDRESS_2": "",
                "ORDER_PLACE_DATE_LONG": "Thu 20 May 2021"
            }
        },
        "Address": "johndoe@ordergroove.com"
    }
}

 

Subscription Cancelled By Customer

{
    "To": {
        "SubscriberKey": "johndoe@ordergroove.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "FIRST_NAME": "John",
                "LAST_NAME": "Doe",
                "LOCALE": "en-us",
                "SUBSCRIPTION_FREQUENCY": "3 Months",
                "SUBSCRIPTION_PRODUCT_NAME": "Sample Product 1",
                "SUBSCRIPTION_PRODUCT_SKU": "84259",
                "SUBSCRIPTION_QTY": 1,
                "SUBSCRIPTION_PRODUCT_URL": "https://<yourwebsite>.com/product1.html",
                "SUBSCRIPTION_PRODUCT_IMG_URL": "https://<yourwebsite>.com/product1.jpg"
            }
        },
        "Address": "johndoe@ordergroove.com"
    }
}

 

Subscription Cancelled - Item Discontinued

{
    "To": {
        "SubscriberKey": "nicholas.bundy+mastercard@ordergroove.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "FIRST_NAME": "Nicholas",
                "LAST_NAME": "Bundy",
                "LOCALE": "en-us",
                "SUBSCRIPTION_FREQUENCY": "6 Months",
                "SUBSCRIPTION_PRODUCT_NAME": "GNC MEGA MEN&reg SPORT",
                "SUBSCRIPTION_PRODUCT_SKU": "7829926",
                "SUBSCRIPTION_QTY": 2,
                "SUBSCRIPTION_PRODUCT_URL": "http://www.gnc.com/product/index.jsp?productId=4193179",
                "SUBSCRIPTION_PRODUCT_IMG_URL": "https://www.gnc.com/graphics/product_images/pGNC1-7829926nm.jpg"
            }
        },
        "Address": "nicholas.bundy+mastercard@ordergroove.com"
    }
}

 

Subscription Reactivated

{
    "To": {
        "SubscriberKey": "johndoe@ordergroove.com",
        "ContactAttributes": {
            "SubscriberAttributes": {
                "FIRST_NAME": "John",
                "LAST_NAME": "Doe",
                "SUBSCRIPTION_PRODUCT_NAME": "Sample Product 1",
                "LOCALE": "en-us",
                "SUBSCRIPTION_FREQUENCY": "3 Months",
                "SUBSCRIPTION_PRODUCT_SKU": "84259",
                "SUBSCRIPTION_PRODUCT_IMG_URL": "https://<yourwebsite>.com/product1.jpg",
                "CARD_TYPE": "American Express",
                "SUBSCRIPTION_PRICE": 32.00,
                "SUBSCRIPTION_QTY": 1,
                "SUBSCRIPTION_PRODUCT_URL": "https://<yourwebsite>.com/product1.html",
                "CARD_EXPIRE": "02/2023",
                "NEXT_ORDER_DATE": "2021-06-22"
            }
        },
        "Address": "johndoe@ordergroove.com"
    }
}