Check for software updates.
Authentication: Valid license_key + domain must be registered
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
license_key | string | Yes | The license key |
domain | string | Yes | The requesting domain |
version | string | No | Current installed version |
environment | string | No | live or staging |
bulk_check | bool | No | Set to true for bulk update checks |
username | string | No | Required for bulk check when no license_key |
Example Request:
curl -X POST https://your-site.com/wp-json/slswc/v1/check_update \
-d license_key=ABCD-1234-EFGH-5678 \
-d domain=https://customer-site.com \
-d version=1.0.0
Update Available Response (200):
{
"status": "active",
"product_name": "My Plugin",
"message": "License Valid",
"software_details": {
"new_version": "1.2.0",
"package": "https://your-site.com/download/...",
"slug": "my-plugin",
"homepage": "https://your-site.com/product/my-plugin",
"sections": {
"description": "...",
"changelog": "..."
},
"banners": {
"low": "...",
"high": "..."
}
}
}
Back to License Endpoints.