- Get all active products with an image and description
- Get all active products with image and descriptions updated since yesterday
You will have to add a variable with the currentdate to be able to use this as a filter.
var moment = require('moment'); pm.environment.set('currentdate', moment().startOf('day').unix());
Below code will be used for logging the id's
var response = pm.response.json() data = response.results data.forEach(element => console.log(element.id))