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?