cancel
Showing results for 
Search instead for 
Did you mean: 

Sap emarsys custom api

former_member867524
Discoverer
0 Kudos
235

Hello Masters,

Is it possible to create a custom API with SAP Emarsys? Since all API endpoints in Emarsys are default and cannot be customized, such as creating or updating contacts. We need an API for POST customer data, GET customer details, and POSTing sales orders. However, it appears that there is no such Emarsys API available.

Thank you.

moshenaveh
Community Manager
Community Manager
0 Kudos

Welcome to the SAP Community. Thank you for visiting us to get answers to your questions.

Since you're asking a question here for the first time, I'd like to offer some friendly advice on how to get the most out of your community membership and experience.

First, please see https://community.sap.com/resources/questions-and-answers, as this resource page provides tips for preparing questions that draw responses from our members. Second, feel free to take our Q&A tutorial at https://developers.sap.com/tutorials/community-qa.html, as that will help you when submitting questions to the community.

I also recommend that you include a profile picture. By personalizing your profile, you encourage readers to respond: https://developers.sap.com/tutorials/community-profile.html.

Now for some specific suggestions on how you might improve your question:

* Outline what steps you took to find answers (and why they weren't helpful) -- so members don't make suggestions that you've already tried.

* Share screenshots of what you've seen/done (if possible), as images always helps our members better understand your problem.

* Make sure you've applied the appropriate tags -- because if you don't apply the correct tags, the right experts won't see your question to answer it.

Should you wish, you can revise your question by selecting Actions, then Edit.

The more details you provide (in questions tagged correctly), the more likely it is that members will be able to respond.

I hope you find this advice useful, and we're happy to have you as part of SAP Community!

0 Kudos

Hi Verlie,


Thank you for posting this question.

All Emarsys API endpoints can be found on this help article: https://help.emarsys.com/hc/en-us/articles/115005253125-List-of-all-public-API-endpoints

In order to POST customer data, e.g. to create a new contact record, you can use the following endpoint: https://api.emarsys.net/api/v2/contact

https://dev.emarsys.com/docs/emarsys-api/ca71341280fb1-create-contacts

To GET customer data, you can use the following endpoint:https://api.emarsys.net/api/v2/contact/getdata

https://dev.emarsys.com/docs/emarsys-api/1390c2e1ee412-get-contact-data

To POST Sales Data, we have a separate API. Full information about it can be found in the following help article: https://help.emarsys.com/hc/en-us/articles/213706429-Uploading-your-sales-data

The endpoint is as follows: POST https://admin.scarabresearch.com/hapi/merchant/<merchant-id>/sales-data/api

Here you would replace the merchant-id with your actual merchant-id, which can be found within the Predict Data Sources dashboard, on your Emarsys account.I hope this helps!Kind regards,Maarten Dreyer | Emarsys
former_member867524
Discoverer
0 Kudos

Hi Maarten Dreyer

you mean that i can you this api https://api.emarsys.net/api/v2/contact/getdata even if it is POST, because this api use POST not GET

thank you

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member867524
Discoverer
0 Kudos

Hi bansal.kunal

i know that we cannot customize api,

because we have a project they have an api - get customer, post sales order and (GET method)get customer details, and they want api from emarsys that is equivalent to their API'S but i think in emarsys we dont have that kind of API's? for get customer details, they need to run first in postman using email filter then get response of the fields associated with email

KunalBansal
Active Contributor
0 Kudos

Hi vporley,

Unfortunately, you cannot customize the Emarsys APIs.

Emarsys being a marketing system, I don't see a reason to post-sales order to Emarsys while you can integrate your eCommerce and replicate sales order amount to Emarsys via WebExtend.

I hope this information was helpful in closing this thread.

Thank you.

Best Regards,

Kunal Bansal, SAP CX Architect