View Product Slot Data in the API Response

Discovery Search and Category API allows you to fetch the merchandising product grid details directly through the API. The feature exposes Product Slot data in the response. To view the slot information, pass the following URL debug parameter in the Search and Category API request:

merchandising_rules.debug=product_slot

Here is a sample response for slot information returned in the “merchandising_debug” component:

{
   "merchandising_debug":{
      "ranking":{
         "product_slots":[
            {
               "slot":1"ID":"1106359"
            },
            {
               "slot":2"ID":"2095135"
            }
         ]
      }
   }
}