Lab Materials
11 min
Audience Enrichment
Content Fragments
Color Hex Codes
Color | Hex Code |
|---|---|
Yellow | FFEE00 |
Black | 000000 |
White | FFFFFF |
Footer Text
© 2024 Dollar General, LLC. All right reserved.
100 Mission Ridge, Goodlettsville, TN 37072
Local prices may vary from those displayed. All offers may not be available in all areas.
Click here to unsubscribe from future marketing emails.Footer HTML
<div class="acr-container readonly">
<!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="padding: 0px;" >
<![endif]-->
<div class="acr-structure" data-structure-id="2-2-column" data-structure-name="richtext.structure_2_2_column" style="background-color:rgb(0, 0, 0);max-width:700px;margin:0px auto;padding:10px 0px 0px;" id="acr-79026446">
<!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="background-color: rgb(0, 0, 0); background-image: none; padding: 10px 0px 0px;" >
<![endif]-->
<table class="structure__table" align="center" cellpadding="0" cellspacing="0" border="0" width="700">
<tbody>
<tr>
<th class="colspan2">
<div class="acr-fragment acr-component image-container" data-component-id="image" style="width:100%;text-align:right;padding:0px 10px 0px 0px;" contenteditable="false">
<!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="text-align: right; padding: 0px 10px 0px 0px;" >
<![endif]--><img src="https://adbecdn.blob.core.windows.net/stor/msimpson/dollar-general/images/email-template/social-media-icons/facebook.png" style="height:auto;width:35px;max-width:35px;" width="35" height="35"><!--[if mso]>
</td>
</tr>
</table>
<![endif]-->
</div>
</th>
<th class="colspan2" style="background-color:rgb(0, 0, 0);">
<div class="acr-fragment acr-component image-container" data-component-id="image" style="width:100%;text-align:left;padding:0px 0px 0px 10px;" contenteditable="false">
<!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="text-align: left; padding: 0px 0px 0px 10px;" >
<![endif]--><img src="https://adbecdn.blob.core.windows.net/stor/msimpson/dollar-general/images/email-template/social-media-icons/twitter.png" style="height:auto;width:35px;max-width:35px;" width="35" height="35"><!--[if mso]>
</td>
</tr>
</table>
<![endif]-->
</div>
</th>
</tr>
</tbody>
</table>
<!--[if mso]>
</td>
</tr>
</table>
<![endif]-->
</div>
<!--[if mso]>
</td>
</tr>
</table>
<![endif]--> <!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="padding: 0px;" >
<![endif]-->
<div class="acr-structure" data-structure-id="3-3-column" data-structure-name="richtext.structure_3_3_column" style="max-width:700px;margin:0px auto;background-color:rgb(0, 0, 0);padding:10px 0px 0px;" id="acr-83494667">
<!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="background-color: rgb(0, 0, 0); padding: 10px 0px 0px;" >
<![endif]-->
<table class="structure__table" align="center" cellpadding="0" cellspacing="0" border="0" width="700">
<tbody>
<tr>
<th class="colspan33">
<div class="acr-fragment acr-component" data-component-id="text" style="font-size:16px;font-family:sans-serif;color:rgb(255, 238, 0);text-align:left;font-weight:normal;font-style:normal;" contenteditable="false">
<!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="font-size: 16px; font-family: sans-serif; color: rgb(255, 238, 0); text-align: left;" >
<![endif]-->
<div class="text-container" contenteditable="true">
<p style="text-align:right;"><a class="arc-link" data-nl-type="externalLink" href="https://www.dollargeneral.com/privacy-policy" id="acr-link-55537793" style="text-decoration:none;color:rgb(255, 238, 0);">Privacy & Security</a></p>
</div>
<!--[if mso]>
</td>
</tr>
</table>
<![endif]-->
</div>
</th>
<th class="colspan33">
<div class="acr-fragment acr-component" data-component-id="text" style="font-size:16px;font-family:sans-serif;color:rgb(255, 238, 0);text-align:left;font-weight:normal;font-style:normal;" contenteditable="false">
<!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="font-size: 16px; font-family: sans-serif; color: rgb(255, 238, 0); text-align: left;" >
<![endif]-->
<div class="text-container" contenteditable="true">
<p style="text-align:center;"><a class="arc-link" data-nl-type="externalLink" href="https://www.dollargeneral.com/customer-support/online-shopping-support/returns.html!.html" id="acr-link-35200705" style="text-decoration:none;color:rgb(255, 238, 0);">Return Policy</a></p>
</div>
<!--[if mso]>
</td>
</tr>
</table>
<![endif]-->
</div>
</th>
<th class="colspan33">
<div class="acr-fragment acr-component" data-component-id="text" style="font-size:16px;font-family:sans-serif;color:rgb(255, 238, 0);text-align:left;font-weight:normal;font-style:normal;" contenteditable="false">
<!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="font-size: 16px; font-family: sans-serif; color: rgb(255, 238, 0); text-align: left;" >
<![endif]-->
<div class="text-container" contenteditable="true">
<p><a class="arc-link" data-nl-type="externalLink" href="https://www.dollargeneral.com/customer-support/store-support/contact-us.htmlinstead#:~:text=Thank%20you%20for%20contacting%20us,call%20877%2D463%2D1553." id="acr-link-41342598" style="text-decoration:none;color:rgb(255, 238, 0);">Customer Service</a></p>
</div>
<!--[if mso]>
</td>
</tr>
</table>
<![endif]-->
</div>
</th>
</tr>
</tbody>
</table>
<!--[if mso]>
</td>
</tr>
</table>
<![endif]-->
</div>
<!--[if mso]>
</td>
</tr>
</table>
<![endif]--><!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="padding: 0px;" >
<![endif]-->
<div class="acr-structure" data-structure-id="1-1-column" data-structure-name="richtext.structure_1_1_column" style="max-width:700px;margin:0px auto;background-color:rgb(0, 0, 0);padding:10px 0px;">
<!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="background-color: rgb(0, 0, 0); padding: 10px 0px;" >
<![endif]-->
<table class="structure__table" align="center" cellpadding="0" cellspacing="0" border="0" width="700">
<tbody>
<tr>
<th class="colspan1">
<div class="acr-fragment acr-component" data-component-id="text" contenteditable="false">
<!--[if mso]>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td style="color: rgb(255, 255, 255);" >
<![endif]-->
<div class="text-container" contenteditable="true">
<p style="text-align:center;"><span style="color:rgb(255, 255, 255);font-size:10px;">© 2024 Dollar General, LLC. All right reserved.</span></p>
<p style="text-align:center;"><span style="color:rgb(255, 255, 255);font-size:10px;">100 Mission Ridge, Goodlettsville, TN 37072</span></p>
<p style="text-align:center;"><span style="color:rgb(255, 255, 255);font-size:10px;">Local prices may vary from those displayed. All offers may not be available in all areas.</span></p>
<p style="text-align:center;"><span style="color:rgb(255, 255, 255);font-size:10px;">Click <a class="arc-link" data-nl-type="externalLink" href="https://investor.dollargeneral.com/websites/dollargeneral/English/6140/unsubscribe.html" id="acr-link-68740809" style="text-decoration:underline;color:rgb(255, 255, 255);">here</a> to unsubscribe from future marketing emails.</span></p>
</div>
<!--[if mso]>
</td>
</tr>
</table>
<![endif]-->
</div>
</th>
</tr>
</tbody>
</table>
<!--[if mso]>
</td>
</tr>
</table>
<![endif]-->
</div>
<!--[if mso]>
</td>
</tr>
</table>
<![endif]-->
</div>API Requests
Rewards Purchase Request
curl --location 'https://dcs.adobedc.net/collection/af2b334203a9eb6e670bffdbd17d40a3c32f3cad5e7a14ff3984bcd24d0c0c94?syncValidation=false' \
--header 'Content-Type: application/json' \
--header 'sandbox-name: hol12-0724' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsIng1dSI6Imltc19uYTEta2V5LWF0LTEuY2VyIiwia2lkIjoiaW1zX25hMS1rZXktYXQtMSIsIml0dCI6ImF0In0.eyJpZCI6IjE3MjA1NTA2OTQzMTBfZjllODhhMDctNDljMy00M2ExLTkwNTItMTQ4YmFjMDlkNjYxX3VlMSIsInR5cGUiOiJhY2Nlc3NfdG9rZW4iLCJjbGllbnRfaWQiOiJleGNfYXBwIiwidXNlcl9pZCI6IkMwQTM2REI5NjJERDY2RjkwQTQ5NUNENUBhZmRjMDg2ODYyZGNjYTY5NDk1ZjkyLmUiLCJzdGF0ZSI6IntcInNlc3Npb25cIjpcImh0dHBzOi8vaW1zLW5hMS5hZG9iZWxvZ2luLmNvbS9pbXMvc2Vzc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nGNHdeBCuiT_5dgLCYi8NtPS0OR5u4tCz_QX3H_SX40q0JR98F6_DYi4ow7eXNvzWIzMmJTriGmMuzoILIyX3EJy2poy9Z6A7n6bG3G5RJ71TJ-KV4fmEh2ZUFW-Sml8Itt8eq6DiUtvucsRNwGSkCvlXJJ130bQDBtyhhJyQCGFJWsoCwiTaZAuCg4LZ1rflqMuieGXH5yg' \
--header 'x-adobe-flow-id: e2085962-abe5-4ecf-b4c3-82f6464e7d4d' \
--data-raw '{
"header": {
"schemaRef": {
"id": "https://ns.adobe.com/adobedemoamericas275/schemas/a32504caeefcbf76c91c41b81701183a0baf15b3f8983f70",
"contentType": "application/vnd.adobe.xed-full+json;version=1.0"
},
"imsOrgId": "59C7440F5DE147EA0A495EB3@AdobeOrg",
"datasetId": "668d8da7cacfcd2aefaafc10",
"source": {
"name": "Purchase Events v1 Dataflow"
}
},
"body": {
"xdmMeta": {
"schemaRef": {
"id": "https://ns.adobe.com/adobedemoamericas275/schemas/a32504caeefcbf76c91c41b81701183a0baf15b3f8983f70",
"contentType": "application/vnd.adobe.xed-full+json;version=1.0"
}
},
"xdmEntity": {
"_adobedemoamericas275": {
"identification": {
"core": {
"crmid": "[email protected]",
"email": "[email protected]"
}
},
"interactionDetails": {
"core": {
"channel": "inStore"
}
},
"rewards": [
{
"productSku": "408233",
"quantity": 3
}
]
},
"_id": "{{$randomUUID}}",
"commerce":
{
"promotionID": "dgcash"
},
"eventType": "commerce.purchases",
"timestamp": "{{$isoTimestamp}}"
}
}
}'New Customer Profile
curl --location 'https://dcs.adobedc.net/collection/af2b334203a9eb6e670bffdbd17d40a3c32f3cad5e7a14ff3984bcd24d0c0c94?syncValidation=true' \
--header 'Content-Type: application/json' \
--header 'sandbox-name: hol12-0724' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsIng1dSI6Imltc19uYTEta2V5LWF0LTEuY2VyIiwia2lkIjoiaW1zX25hMS1rZXktYXQtMSIsIml0dCI6ImF0In0.eyJpZCI6I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Y2VtYW5hZ2VyX2FwaSxjcmVhdGl2ZV9jbG91ZCxtcHMsb3BlbmlkLG9yZy5yZWFkLHBwcy5yZWFkLHJlYWRfb3JnYW5pemF0aW9ucyxyZWFkX3BjLHJlYWRfcGMuYWNwLHJlYWRfcGMuZG1hX3RhcnRhbixzZXNzaW9uIn0.KjXVa-i9ZBiQKZFILfdcJHHD4I1EYntqe12fB884S0JvtL3ZeDCpKacQE9EXTRG6rTf2iE-jgl_a3XjUcaRhBe7_KCRrt7BB7Yxkzr8AB0df_NJqGvi_gUfvdY3H5dBR7xUiqu_17vOT17_8VYVbJznCUK1fXgzCHEkxpn53ooYVvsqm2_inoTAeuMHqpq0w36v-M0Lslv-003KPKrsAsg82oFy4smOv8RTUzGkWLMaFq8v-azljIyHOuFDjUp2fsPQYBUpXisOj3F0Cvc2isNk2pOJ-4NzixY1dzPdISOtq3DhXkYQmlp7CEsCFpnJJcUa56e5orn8bBqcGuq1Avg' \
--header 'x-adobe-flow-id: d0cb12ba-cb44-45c7-8146-bc5843dbd1ea' \
--data-raw '{
"header": {
"schemaRef": {
"id": "https://ns.adobe.com/adobedemoamericas275/schemas/21539a1330d1c43bc67ac510e40f50358eb8d796815efa2c",
"contentType": "application/vnd.adobe.xed-full+json;version=1.0"
},
"imsOrgId": "59C7440F5DE147EA0A495EB3@AdobeOrg",
"datasetId": "668d9664915e922aeea3eb4b",
"source": {
"name": "CRM Profiles v1 Dataflow"
}
},
"body": {
"xdmMeta": {
"schemaRef": {
"id": "https://ns.adobe.com/adobedemoamericas275/schemas/21539a1330d1c43bc67ac510e40f50358eb8d796815efa2c",
"contentType": "application/vnd.adobe.xed-full+json;version=1.0"
}
},
"xdmEntity": {
"_adobedemoamericas275": {
"identification": {
"core": {
"crmid": "[email protected]",
"email": "[email protected]"
}
},
"scoring": {
"propensityScoreToBuy": 100,
"propensityScoreToChurn": 1
}
},
"consents": {
"marketing": {
"email": {
"val": "y"
},
"preferred": "email",
"push": {
"val": "y"
},
"sms": {
"val": "y"
}
}
},
"homeAddress": {
"city": "Chicago",
"postalCode": "60657",
"state": "IL",
"street1": "221 Surf St"
},
"loyalty": {
"points": 19,
"program": "DG Cash",
"status": "active"
},
"mobilePhone": {
"number": "14074352456"
},
"person": {
"birthDate": "08-14-1998",
"birthDayAndMonth": "08-14",
"birthYear": 1998,
"maritalStatus": "single",
"name": {
"firstName": "Sloane",
"lastName": "Simpson"
}
},
"personalEmail": {
"address": "[email protected]"
},
"testProfile": true
}
}
}'Test Records
Email/CRMID | Comms Preference |
|---|---|
SMS | |
Push |
Custom Action
Endpoint
https://440115-191salmonscallop.adobeioruntime.net/api/v1/web/default/dollarGeneralGeoPricing
Payload
{
"postalCode": {
"toBeMapped": true,
"dataType": "string",
"label": "Postal Code"
}
}Response
{
"price1": "decimal",
"price2": "decimal",
"price3": "decimal",
"sku1": "string",
"sku2": "string",
"sku3": "string"
}