Check for Updates (POST /check_update)

Check for software updates.

Authentication: Valid license_key + domain must be registered

Parameters:

NameTypeRequiredDescription
license_keystringYesThe license key
domainstringYesThe requesting domain
versionstringNoCurrent installed version
environmentstringNolive or staging
bulk_checkboolNoSet to true for bulk update checks
usernamestringNoRequired 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.

Was this article helpful?