Updated coupon api

Since mashape was not working properly , replaced the get code for retrieving the category