REST API Reference
REST API Reference
REST API Overview
Last Updated: March 31, 2026What This Extension Adds Core DDLS has no public REST API. DMSI Advanced API exposes all DDLS data — customers, products, licenses, activations, subscriptions, versions, and downloads — via a comprehensive REST API secured by the extension’s authentication system. All DMSI Advanced API endpoints are accessible under a single base URL and follow a consistent...
Resource Endpoints Overview
Last Updated: March 31, 2026DMSI Advanced API exposes the following resource endpoints. All paths are relative to https://yoursite.com/wp-json/dmsi-api/v1/. Customers Method Endpoint Description GET /customers List all customers POST /customers Create a customer GET /customers/{id} Get a customer PUT /customers/{id} Update a customer DELETE /customers/{id} Delete a customer Products Method Endpoint Description GET /products List all products POST /products Create...
Request Parameters and Filtering
Last Updated: March 31, 2026All list endpoints support a consistent set of query parameters for pagination, filtering, and sorting. Pagination Parameter Default Maximum Description page 1 — Page number per_page 20 100 Number of results per page Example: GET /wp-json/dmsi-api/v1/licenses?page=2&per_page=50 Filtering Use bracket notation to filter by field value: GET /wp-json/dmsi-api/v1/licenses?filter[status]=active GET /wp-json/dmsi-api/v1/licenses?filter[product_id]=42&filter[status]=active Sorting Sort results by one or...
Common Response Formats
Last Updated: March 31, 2026Single Resource Response { "data": { "id": 1, "status": "active" }, "meta": { "request_id": "req_abc123", "version": "1.0.1", "environment": "production", "timestamp": "2026-03-31T00:00:00Z" } } List Resource Response { "data": [ { "id": 1, "status": "active" }, { "id": 2, "status": "inactive" } ], "meta": { "request_id": "req_abc123", "version": "1.0.1", "environment": "production", "timestamp": "2026-03-31T00:00:00Z" }, "pagination": {...
Batch Operations
Last Updated: March 31, 2026Batch endpoints allow you to perform bulk create, update, and delete operations in a single API call, avoiding the overhead of many individual requests. Available Batch Endpoints Endpoint Description POST /wp-json/dmsi-api/v1/batch/customers Bulk create, update, or delete customers POST /wp-json/dmsi-api/v1/batch/licenses Bulk license operations POST /wp-json/dmsi-api/v1/batch/activations Bulk activation operations POST /wp-json/dmsi-api/v1/batch/subscriptions Bulk subscription operations GET /wp-json/dmsi-api/v1/batch/jobs/{job_id} Poll...
