VillaCoupon3

Coupon Management System

Protected admin access only

Authenticating...

Coupons

Loading coupons...
No coupons found
Code Type Value Status Usage Expires Actions

Usage Statistics


                

API Testing Console

Generated JSON below updates automatically.

                        
For creating or editing coupons, please use the on the Coupons page. The form has full field support and validation.


                
Response

                    
Response Headers

                    

API Quick Reference

Public Endpoints

POST /validate - Validate coupons for an order

Admin Endpoints (Auth Required)

GET /admin/coupons - List all coupons

POST /admin/coupons - Create a coupon

GET /admin/coupons/{code} - Get coupon by code

PUT /admin/coupons/{code} - Update a coupon

DELETE /admin/coupons/{code} - Delete a coupon

Authentication

Admin endpoints require Authorization: Bearer {id_token} header