Admin API Deleting Products from Incorrect Environment | Community
Skip to main content
Level 2
April 1, 2025
Question

Admin API Deleting Products from Incorrect Environment

  • April 1, 2025
  • 1 reply
  • 295 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

GigiCotruta
Level 4
April 3, 2025

Hi, @karishmachauhan,

 

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

 

 

Let me know if that worked for you.