cURL
curl --request GET \ --url https://api.example.com/wp-json/latepoint-api/v1/coupons/{code}
Retrieve a specific coupon by code.
Documentation IndexFetch the complete documentation index at: https://docs-restapi.wplimit.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs-restapi.wplimit.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /wp-json/latepoint-api/v1/coupons/DESCUENTO25 Authorization: Bearer YOUR_API_KEY
{ "success": true, "data": { "id": "6", "code": "DESCUENTO25", "name": "Descuento 25%", "description": "Descuento del 25% en todos los servicios", "discount_type": "percent", "discount_value": 25, "readable_discount": "25%", "status": "active", "active_from": "0000-00-00", "active_to": "0000-00-00", "rules": null, "usage_count": 0, "total_discount": 0, "last_usage_date": "n/a", "recent_orders": [], "created_at": "2025-08-18 07:59:36", "updated_at": "2025-08-18 07:59:36" } }