v1

latestSwagger 2.0Agriya Infoway Licence2026-07-17164100176.6 KB
Coupon

Fetch coupon

Returns a coupon based on a single ID

get/coupons/{couponId}

Path parameters

couponIdinteger required

ID of coupon to fetch

Query parameters

filterstring string

Filter coupon

qstring string

Keywords to search

Response

Fetched coupon

idinteger
created_atstring
updated_atstring
user_idinteger
restaurant_idinteger
coupon_codestring
discountnumber float
is_flat_discount_in_amountinteger
no_of_quantity_allowedinteger
no_of_quantity_usedinteger
validity_start_datestring date
validity_end_datestring date
maximum_discount_amountnumber float
is_activeinteger