Documentation Index
Fetch the complete documentation index at: https://docs-restapi.wplimit.com/llms.txt
Use this file to discover all available pages before exploring further.
Query Parameters
Page number for pagination
Number of coupons per page (max 100)
Filter coupons by status. Available values: active, inactive
Search coupons by code or name
Example Request
GET /wp-json/latepoint-api/v1/coupons?status=active&per_page=10
Authorization: Bearer YOUR_API_KEY
Response
{
"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",
"usage_count": 0,
"total_discount": 0,
"last_usage_date": "n/a",
"created_at": "2025-08-18 07:59:36",
"updated_at": "2025-08-18 07:59:36"
}
],
"pagination": {
"page": 1,
"per_page": 10,
"total": 4,
"total_pages": 1,
"has_next_page": false,
"has_previous_page": false
}
}