The Promotions
plugin includes a JavaScript module called promotions-services
that invokes REST services that apply a coupon to a shopper’s cart or remove a coupon from a shopper’s cart.The promotions-services
JavaScript module is found in CommerceAccelerator/Plugins/Promotions/src/main/web-app
.