cancel
Showing results for 
Search instead for 
Did you mean: 

sapimpeximportadapter in SAP Commerce Cloud v2

0 Kudos
299

Hi everyone,

I am trying to implement the sapimpeximportadapter extension in a CCv2 environment. Locally I added the extension to my localextensions.xml, and it opened the following endpoint:

https://localhost:9002/sapimpeximportadapter/import

I then added the extension in the d1 tennant of our CCv2 environment, but after I obtain an oAuth token, and try to send an ImpEx payload to the same endpoint (https://api.<d1_host>/sapimpeximportadapter/import) I get a 403 forbidden response.

Does anyone know if there is additional setup needed? Do I need to change some properties in order to open up this endpoint? In the help pages, it says that the extension opens up this endpoint without any additional configuration, and since it worked fine locally, I am just wondering if there is anything extra needed to be done on the CCv2 side.

Appreciate any help,

Nikola

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

Solved using this tutorial as a basis: https://help.sap.com/viewer/1be46286b36a4aa48205be5a96240672/SHIP/en-US/7d3f83250d9846518f4154cfb18a...

Needed to add an API aspect in the manifest.json and the following property in the webapps section:

{
"name": "sapimpeximportadapter","contextPath": "/sapimpeximportadapter"
}

Answers (0)