Salesforce Marketing Cloud and Ordergroove ESP Integration

Note: This is a custom experience that must first be purchased through Ordergroove to be enabled.

Creating this experience will require work from both the client team as well as Ordergroove. If you're interested in this experience as well as any possible customizations to it please reach out to your Ordergroove representative to determine the overall scope, implementation fees, and timing for delivery.

Caution: Some aspects of this article may require technical expertise with coding languages.

If you do not currently have someone on staff or contract that can provide that level of technical assistance, Ordergroove suggests seeking out that level of support before attempting to add or alter any working code relating to your subscriptions or storefront.


This is an "as is" integration and requests to change how it works will be considered as out of scope.


Overview

Ordergroove is able to integrate with Salesforce Marketing Cloud utilizing the REST API functionality developed by Salesforce in mid-2019. This integration incorporates 14 transactional emails and requires merchants to have a resource with experience setting up AMPScript and Build Row Set From XML functionality.

With this implementation, Ordergroove will send an API request to Salesforce based on certain events taken by a customer, such as creating a new subscription, or for automated events like an order reminder 10 days prior to an order placing. The API request will include the relevant personalization fields for the customer’s subscription or order, but the remainder of the email content will be built and managed by the merchant using their existing Salesforce Marketing Cloud setup. 

What’s Included

Ordergroove-powered email types/triggers:

  1. Single Subscription Started or
  2. Bulk Subscription Started
  3. Item Out of Stock - Day 1
  4. Item Out of Stock - Day 15
  5. Item Out of Stock - Day 30
  6. Discontinued Product Swapped With Replacement - Subscription
  7. Discontinued Product Swapped With Replacement - One-Time item
  8. Order Reminder (includes One-Click Skip Order)
  9. Order Placed
  10. CC Expiration Warning
  11. Order Not Placed - CC Expired
  12. Order Not Placed - CC Issue
  13. Order Not Placed - Generic Issue
  14. Subscription Canceled By Customer
  15. Subscription Canceled - Item Discontinued
  16. Subscription Reactivated

For information about the specific fields included in each email, please review the SFMC Implementation Documentation.

Out of Scope

  • Requests to change how the integration works - It is an "as is" integration
  • Emails built and designed within Ordergroove
  • Ordergroove-built emails within SMFC
  • Ordergroove support for SFMC
  • Marketing-related emails (these can be powered separately by loading program data from Ordergroove)
  • Changes to the content or trigger logic of each transactional email
  • Emails sent from multiple platforms; all transactional emails must leverage SFMC

Resources Required

Client / Systems Integrator

  • Marketing resource to create and manage email copy as well as email styling
  • Resource with AMPScript and Row Set experience to build transactional email content

Ordergroove

  • Solutions Team member for API configuration

 


Who Is Salesforce Marketing Cloud (SFMC?)

Marketing Cloud is the platform for delivering relevant, personalized journeys across channels and devices — enabling marketers to deliver the right message at the right time throughout all phases of the relationship. Marketing Cloud includes integrated solutions for customer journey management, email, mobile, social, web personalization, advertising, content creation and management, and data analysis. Every imaginable customer interaction and engagement is covered, and guiding customers on their 1-to-1 journeys with your brand has never been easier or more effective.


Why Do Merchants Use SFMC?

Many of the world’s largest businesses use Marketing Cloud to nurture relationships with their customers to drive revenue and increase ROI. Marketing Cloud’s journeys allow for powerful, targeted marketing and segmentation to customers.

Marketing Cloud enables Ordergroove merchants to house all their emails under one roof by leveraging REST APIs to trigger appropriate transactional communication based on specific events in the customer’s subscription lifecycle.


Which Merchants Can Use SFMC?

There is no restriction on which merchants can use Salesforce Marketing Cloud. However, setting up and configuring this experience will require work from both the client team as well as Ordergroove. If you're interested in this experience as well as any possible customizations to it please reach out to your Ordergroove representative to determine the overall scope, implementation fees, and timing for delivery.


How Can Merchants Use SFMC?

  • Transactional Emails
    For transactional emails, merchants will build email templates in Salesforce Marketing Cloud. Ordergroove will trigger specific templates for each transactional email using a Server-to-Server REST API.

  • Marketing Emails
    Ordergroove provides automated SFTP exports that can be ingested into the Marketing Cloud for a variety of customer targeting and campaigns.


Technical Integration Details

Ordergroove will need the following credentials:

  • Client ID
  • Client Secret
  • Account ID (MID)
  • Tenant-specific subdomain - a 28-character string representing the customer's tenant 
  • Triggered Send IDs for each email


SFMC Testing and Sample Payloads

Once you’ve shared your Marketing Cloud credentials with Ordergroove and have received confirmation that they’ve been configured, you can use an application such as Postman to trigger test emails. This will make it easy to confirm Salesforce is queuing the messages correctly, the data is populating, and the end-user is receiving a well-formatted email with all the necessary information, without having to take specific actions on a test account each time you need to send a test.

Triggering Emails With Postman

Marketing Cloud requires applications to first generate an access token, which is available to authenticate against the APIs for a 20 minute period before expiring. 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 Message

Using the access token from the previous step in the header, make a POST for a triggered send. You’ll need the subdomain, 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 Address values with your email address to trigger the emails to yourself or other users within your organization. You can also update product information and URLs to render your own products; this is especially helpful with image URLs to confirm they re-size properly.

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 email trigger will trigger a separate email for each subscription created in the checkout. Ordergroove recommends using the ‘Bulk Subscription Started' email for a better customer experience. Please let Ordergroove know which email you plan to use. You should not use both emails.

{
    "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. Ordergroove commends using this email in lieu of the 'Subscription Started - Single Product' email. Please let Ordergroove know which email you plan to use. You should not use both emails.

{
  "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 will not work when testing. To test 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.

{
    "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"
    }
}