# API integration and custom emails

**URL:** <https://forum.mautic.org/t/api-integration-and-custom-emails/5374>\
**Category:** Product Support\
**Created:** [September 17, 2016, 7:20am UTC](https://forum.mautic.org/t/api-integration-and-custom-emails/5374 "2016-09-17T07:20:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gpstefanov](https://avatars.discourse-cdn.com/v4/letter/g/3e96dc/32.png) [@gpstefanov](https://forum.mautic.org/u/gpstefanov)\
**Post date:** [September 17, 2016, 7:20am UTC](https://forum.mautic.org/t/api-integration-and-custom-emails/5374/1 "2016-09-17T07:20:22Z")

</div>

Hello all,  
  
  
  
I am using Mautic fo a few weeks now. All is good so far, however I have a few questions regarding the API integration.  
  
  
  
I am running an ecommerce website and would like to change the score of a lead based on the amount the have spent with me. Is it possible to do it through the API. I also would like to add a tag when someone completes a purchase is there another way to do it other than visiting my Thank you page an have Mautic track the url?  
  
  
  
I have to say I am not a developer, but talking to the developers I am working with, I understand there is no way to send Mautic templates through the API. The idea is when I have an identified lead visiting one of my product pages and doesn’t complete a purchase to send them later this day an email reminding what they have seen, give a few more alternatives and generate a promo code to lure them to buy. As the product description, images and the promo code will be dynamic I am not sure if this could be done with the current Mautic functionality. Any input on this will be highly appreciated.

---

<div class="post-metadata">

**Author:** ![gpstefanov](https://avatars.discourse-cdn.com/v4/letter/g/3e96dc/32.png) [@gpstefanov](https://forum.mautic.org/u/gpstefanov)\
**Post date:** [September 17, 2016, 7:20am UTC](https://forum.mautic.org/t/api-integration-and-custom-emails/5374/2 "2016-09-17T07:20:22Z")

</div>

Hello all,

I am using Mautic fo a few weeks now. All is good so far, however I have a few questions regarding the API integration.

I am running an ecommerce website and would like to change the score of a lead based on the amount the have spent with me. Is it possible to do it through the API. I also would like to add a tag when someone completes a purchase is there another way to do it other than visiting my Thank you page an have Mautic track the url?

I have to say I am not a developer, but talking to the developers I am working with, I understand there is no way to send Mautic templates through the API. The idea is when I have an identified lead visiting one of my product pages and doesn’t complete a purchase to send them later this day an email reminding what they have seen, give a few more alternatives and generate a promo code to lure them to buy. As the product description, images and the promo code will be dynamic I am not sure if this could be done with the current Mautic functionality. Any input on this will be highly appreciated.
