const request = require('request');
const options = {
method: 'GET',
url: 'https://api.betterez.com/inventory/bundle/:bundleId/product/:productId',
qs: {
providerIds: 'providerId-for-the-bundle',
channel: 'a-proper-channel',
enabled: 'true'
},
headers: {Accept: 'application/json', 'x-api-key': '{{x-api-key}}'}
};
request(options, function (error, response, body) {
if (error) throw new Error(error);
console.log(body);
});