Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards

Admin API Deleting Products from Incorrect Environment

Avatar

Level 2

Hi,
I am using the Recommendation API to delete multiple products from the catalogue as they are discarded from the website.

We have different environments, and I am using the product ID and environment ID to fetch product details from the corresponding environment.

Below is the API I am using to get the details of a product:
GET: https://mc.adobe.io/test/target/recs/entities/ns77111pp04?environments=3384However, this API is returning the product from a different environment. I have attached a screenshot for reference.

Below API I am using to delete a product:
DELETE: https://mc.adobe.io/test/target/recs/entities?ids=77146sm02?environments=3384

 

I am not sure what I am doing wrong or what the issue is. Can anyone guide me?

1 Reply

Avatar

Level 5

Hi, @KarishmaCh1,

 

I am using this endpint: https://mc.adobe.io/{{TENANT_ID}}/target/recs/entities?ids={{PRODUCT_ID}}&environment={{ENVIRONMENT_ID}}

 

GigiCotruta_0-1743675736330.png

 

Let me know if that worked for you.