Validate Apply Coupon (API Description)
API to get all the vehicles details according to the search criteria.
 
API Response
{"validateCoupon": [
    {
      "id": 1,
      "company_id": 1,
      "vendor_id": null,
      "name": "Local 100",
      "description": "

Get the discounted price by using the promotional code.

", "master_coupon_type_id": 2, "valid_from_date": "2018-09-01T03:43:12.000Z", "valid_to_date": "2019-10-30T09:00:30.000Z", "master_week_days_id": "1,2,3", "master_package_id": 1, "minimum_booking_amount": 544, "discount_type": "Rs", "discount_amount": 200, "image": "/images/promotion/1519719879images (6).jpg", "terms_condition": "" } ] }
API Resposne Description
Key Description
id 1
company_id 1
vendor_id
name Coupon code
description Coupon code description
master_coupon_type_id
valid_from_date Copun code valid start date
valid_to_date Coupon code valid end date
master_week_days_id Weekdays(1-sun,2-mon,3-Tue,4-Wed,5-Thru,6-Fri,7-sat)
master_package_id Package Id (1-Local,2-Point-to-point,3-Airport)
minimum_booking_amount Minimum Booking Amount
discount_type Discount amount Type (Rs-Fixed,%-Percentage)
discount_amount Discount Amount
image Coupon Images
terms_condition Coupon terms and condition