Digital download email template
This template is sent after a customer completes an order containing a digital good.
The primary purpose of this email is to provide the customer with their download link.
Template data
{
"Order": {
"AccountId": 0,
"IpAddress": null,
"UserAgent": null,
"Lang": null,
"Email": "john.doe@example.com",
"Status": 2,
"ShipToBillingAddress": false,
"BillingAddress": {
"FullName": "John Doe",
"FirstName": null,
"Name": "John Doe",
"Company": "Snipcart",
"Address1": "226 rue St-Joseph Est",
"Address2": null,
"FullAddress": "226 rue St-Joseph Est",
"City": "Québec",
"Country": "CA",
"PostalCode": "G1K 3A9",
"Province": "QC",
"Phone": null,
"VatNumber": null
},
"RecoveryCampaignStatus": {
"ActionsNeeded": false,
"Unsubscribed": false,
"PreProcessed": false,
"CampaignId": null,
"FutureCampaignsSteps": [],
"StepsExecuted": []
},
"ShippingAddress": {
"FullName": "John Doe",
"FirstName": null,
"Name": "John Doe",
"Company": "Snipcart",
"Address1": "226 rue St-Joseph Est",
"Address2": null,
"FullAddress": "226 rue St-Joseph Est",
"City": "Québec",
"Country": "CA",
"PostalCode": "G1K 3A9",
"Province": "QC",
"Phone": null,
"VatNumber": null
},
"CompletionDate": 1592836439,
"InvoiceNumber": "SNIP-1001",
"ShippingInformation": {
"Fees": 20.0,
"Method": "Standard shipping",
"TrackingNumber": "TR4CK1NG",
"TrackingUrl": "https://snipcart.com"
},
"HasItemsShippable": true,
"PaymentMethod": 1,
"Card": {
"Last4Digits": "4242",
"OwnerName": null,
"Type": 1
},
"PaymentDetails": {
"IconUrl": null,
"Display": null,
"Instructions": null
},
"Summary": {
"Subtotal": 80.00,
"TaxableTotal": 130.0,
"Total": 100.00,
"PayableNow": 100.00,
"PaymentMethod": 1,
"Taxes": [],
"DiscountInducedTaxesVariation": 0.0,
"AdjustedTotal": 80.00,
"Shipping": null
},
"Metadata": {
"key": "value1",
"tree": {
"branch": "valu2",
"nest": {
"field": "value3"
}
}
},
"Plans": [],
"CustomFields": [
{
"Name": "Comment",
"DisplayValue": "This is a comment on this order",
"Operation": null,
"Type": null,
"Options": null,
"Required": false,
"Value": "This is a comment on this order",
"OptionsArray": null
},
{
"Name": "Accept terms",
"DisplayValue": "true",
"Operation": null,
"Type": "checkbox",
"Options": null,
"Required": false,
"Value": "true",
"OptionsArray": [
"true",
"false"
]
},
{
"Name": "Hidden custom field",
"DisplayValue": "hidden value",
"Operation": null,
"Type": "hidden",
"Options": null,
"Required": false,
"Value": "hidden value",
"OptionsArray": null
}
],
"Refunds": [
{
"Amount": 20.0,
"Comment": "Refunded after speaking with customer.",
"NotifyCustomer": false,
"RefundedByPaymentGateway": false,
"CreationDate": 1592922839
}
],
"Notifications": [],
"Taxes": [],
"DefaultTaxes": null,
"Currency": "usd",
"TotalWeight": 0.0,
"BaseTotal": 150.0,
"Total": 80.00,
"DiscountsTotal": 50.00,
"ItemsTotalWithoutTaxes": 80.00,
"TaxesTotal": 0.0,
"TaxProvider": 0,
"PaymentGatewayUsed": 0,
"User": {
"Id": "cbfe85e7-cf86-4b08-aa7a-9e0e362ec7e6",
"Email": "john.doe@example.com",
"Mode": 0,
"Statistics": {
"OrdersCount": 0,
"OrdersAmount": null,
"SubscriptionsCount": 0
},
"CreationDate": "2020-06-23T14:33:59.9250559Z",
"BillingAddressFirstName": null,
"BillingAddressName": null,
"BillingAddressCompanyName": null,
"BillingAddressAddress1": null,
"BillingAddressAddress2": null,
"BillingAddressCity": null,
"BillingAddressCountry": null,
"BillingAddressProvince": null,
"BillingAddressPostalCode": null,
"BillingAddressPhone": null,
"ShippingAddressFirstName": null,
"ShippingAddressName": null,
"ShippingAddressCompanyName": null,
"ShippingAddressAddress1": null,
"ShippingAddressAddress2": null,
"ShippingAddressCity": null,
"ShippingAddressCountry": null,
"ShippingAddressProvince": null,
"ShippingAddressPostalCode": null,
"ShippingAddressPhone": null,
"ShippingAddressSameAsBilling": false,
"Status": 1,
"SessionToken": null,
"GravatarUrl": "https://www.gravatar.com/avatar/b4d822719962698cc5af9c19cf9c90e2?s=70&d=https%3a%2f%2fcdn.snipcart.com%2fassets%2fimages%2favatar.jpg",
"BillingAddress": {
"FullName": null,
"FirstName": null,
"Name": null,
"Company": null,
"Address1": null,
"Address2": null,
"FullAddress": "",
"City": null,
"Country": null,
"PostalCode": null,
"Province": null,
"Phone": null,
"VatNumber": null
},
"ShippingAddress": {
"FullName": null,
"FirstName": null,
"Name": null,
"Company": null,
"Address1": null,
"Address2": null,
"FullAddress": "",
"City": null,
"Country": null,
"PostalCode": null,
"Province": null,
"Phone": null,
"VatNumber": null
}
},
"GatewayResponseData": null,
"PaymentGatewayTransactionId": null,
"IsRecurringInvoice": false,
"Guest": false,
"ShippingCharged": false,
"Mode": 1,
"Discounts": [
{
"Id": "e2cb5995-5329-4ea7-a300-06555c1061e9",
"DiscountId": "773000f3-7817-4f21-8739-73283c6772e9",
"AmountSaved": 50.00,
"Name": "50$ off",
"Value": -50.00,
"Type": 3,
"Trigger": 1,
"MaxAmountToReach": null,
"MaxDiscountsPerItem": null,
"Code": "50_OFF",
"AffectedItems": [],
"Amount": 50.0,
"Products": [],
"CategoryNames": [],
"AppliesOnAllRecurringOrders": false,
"IsForARecoveryCampaign": false,
"NormalizedRate": 0.0,
"OnlyOnSameProducts": false,
"NumberOfItemsRequired": null,
"NumberOfFreeItems": null,
"QuantityOfProducts": []
}
],
"Items": [
{
"UniqueId": "3b3aa116-eebc-4102-ae39-c06f400a6638",
"Token": "169ace5b-b010-44f7-b517-0d358df66a9c",
"PaymentSchedule": {
"Interval": 0,
"IntervalCount": 1,
"TrialPeriodInDays": null,
"StartsOn": "2020-06-23T00:00:00Z"
},
"PausingAction": 0,
"CancellationAction": 0,
"Id": "poster",
"Name": "Awesome poster",
"Price": 10.0,
"Description": null,
"HasTaxesIncluded": false,
"Categories": [],
"Url": "/",
"FileGuid": null,
"Image": "https://placeholdit.imgix.net/~text?txtsize=14&txt=150%C3%97150&w=150&h=150",
"Quantity": 3,
"QuantityStep": 1,
"MinQuantity": null,
"MaxQuantity": null,
"Stackable": false,
"Shippable": true,
"Taxable": true,
"Taxes": [],
"CustomFields": [],
"Duplicatable": false,
"DownloadLink": null,
"Metadata": null,
"AlternatePrices": {},
"Dimensions": {
"Width": null,
"Height": null,
"Length": null,
"Weight": null
},
"UnitPrice": 10.0,
"TotalPrice": 30.0,
"TotalPriceWithoutTaxes": 30.0,
"TotalPriceWithoutDiscountsAndTaxes": 18.46,
"TotalPriceWithoutDiscountsAndTaxesLegacy": 18.46,
"AddedOn": 1592832839,
"ModificationDate": 1592922839,
"IsRecurring": false
},
{
"UniqueId": "2472744b-c3b9-41e7-9028-d946af3879fc",
"Token": "169ace5b-b010-44f7-b517-0d358df66a9c",
"PaymentSchedule": {
"Interval": 0,
"IntervalCount": 1,
"TrialPeriodInDays": null,
"StartsOn": "2020-06-23T00:00:00Z"
},
"PausingAction": 0,
"CancellationAction": 0,
"Id": "tshirt",
"Name": "Geek T-Shirt",
"Price": 50.0,
"Description": null,
"HasTaxesIncluded": false,
"Categories": [
"Cat1",
"Cat2"
],
"Url": "/",
"FileGuid": null,
"Image": "https://placeholdit.imgix.net/~text?txtsize=14&txt=150%C3%97150&w=150&h=150",
"Quantity": 2,
"QuantityStep": 1,
"MinQuantity": null,
"MaxQuantity": null,
"Stackable": false,
"Shippable": true,
"Taxable": true,
"Taxes": [],
"CustomFields": [
{
"Name": "Size",
"DisplayValue": "Medium",
"Operation": null,
"Type": null,
"Options": null,
"Required": false,
"Value": "Medium",
"OptionsArray": null
},
{
"Name": "Color",
"DisplayValue": "Red",
"Operation": null,
"Type": "dropdown",
"Options": null,
"Required": false,
"Value": "Red",
"OptionsArray": []
},
{
"Name": "Gift",
"DisplayValue": "true",
"Operation": null,
"Type": "checkbox",
"Options": null,
"Required": false,
"Value": "true",
"OptionsArray": [
"true",
"false"
]
},
{
"Name": "Hidden custom field",
"DisplayValue": "Hidden value",
"Operation": null,
"Type": "hidden",
"Options": null,
"Required": false,
"Value": "Hidden value",
"OptionsArray": null
}
],
"Duplicatable": false,
"DownloadLink": null,
"Metadata": null,
"AlternatePrices": {},
"Dimensions": {
"Width": null,
"Height": null,
"Length": null,
"Weight": null
},
"UnitPrice": 50.0,
"TotalPrice": 100.0,
"TotalPriceWithoutTaxes": 100.0,
"TotalPriceWithoutDiscountsAndTaxes": 61.54,
"TotalPriceWithoutDiscountsAndTaxesLegacy": 61.54,
"AddedOn": 1592832839,
"ModificationDate": 1592922839,
"IsRecurring": false
}
],
"CompatibilitySwitches": {
"JsonString": null
},
"ItemsTotal": 130.0,
"TotalPriceWithoutDiscountsAndTaxes": 80.00,
"Token": "169ace5b-b010-44f7-b517-0d358df66a9c",
"Version": null,
"Exported": false,
"id": "169ace5b-b010-44f7-b517-0d358df66a9c",
"PartitionKey": "000",
"ModificationDate": 1592922839,
"CreationDate": 1592922839,
"_etag": null
},
"Digitalgoods": [
{
"Token": "169ace5b-b010-44f7-b517-0d358df66a9c",
"Name": "An awesome ebook",
"FileGuid": "59daa38c-dda6-4690-9329-1222346aa6cc",
"DownloadedNbrTime": 0,
"Url": "https://snipcart.com/digital/b60f3bfd-5867-4d04-8b71-50a0735c22f2",
"Id": "b60f3bfd-5867-4d04-8b71-50a0735c22f2",
"CreationDate": "2020-06-23T14:33:59.9599632Z",
"ModificationDate": "2020-06-23T14:33:59.9599632Z"
},
{
"Token": "169ace5b-b010-44f7-b517-0d358df66a9c",
"Name": "My new mixtape",
"FileGuid": "5f98e2dd-154f-414c-96e1-e652116269f9",
"DownloadedNbrTime": 0,
"Url": "https://snipcart.com/digital/4c4742a0-59fb-4535-b2bb-da508a0564b2",
"Id": "4c4742a0-59fb-4535-b2bb-da508a0564b2",
"CreationDate": "2020-06-23T14:33:59.9599632Z",
"ModificationDate": "2020-06-23T14:33:59.9599632Z"
}
],
"Settings": {
"Signature": "<p>SNIPCART <br /><br />\nsnipcart.com <br /><br />\n<br /><br />\nBureau de Québec (administration) <br /><br />\n4885 1ere Avenue <br /><br />\nQuébec (Québec) G1H 2T5 <br /><br />\ngeeks@snipcart.com <br /><br />\n1 418 800 8440 <br /><br />\n<br /><br />\nTPS #XXXXXXXXXX <br /><br />\nTVQ #XXXXXXXXXX <br /></p>\n",
"LogoUrl": "",
"includeProductImagesInInvoice": false,
"BusinessAddress": {
"FullName": null,
"FirstName": null,
"Name": null,
"Company": "Snipcart",
"Address1": "226 rue St-Joseph Est",
"Address2": "",
"FullAddress": "226 rue St-Joseph Est",
"City": "Québec",
"Country": "CA",
"PostalCode": "G1K3A9",
"Province": "QC",
"Phone": null,
"VatNumber": ""
}
}
}