const request = require('request');

const options = {
  method: 'POST',
  url: 'https://api.betterez.com/sales/cart/:cartId/promos',
  qs: {promoCode: 'a-valid-promo-code', channel: 'a-valid-channel'},
  headers: {
    'content-type': 'application/json',
    'x-api-key': '{{x-api-key}}',
    authorization: 'Bearer {{jwt-short-token}}'
  }
};

request(options, function (error, response, body) {
	if (error) throw new Error(error);

	console.log(body);
});