Check Update

Check Update

GET /wp-json/slswc/v1/check_update

Check if there is an update available for a software product.

ParameterDatatypeExampleDescription
ParameterDatatypeExampleDescription
license_keyString requiredSs23dhsjhdjshjhfddfrThe license key to be activated. This must be a valid.
slugString requiredtestpluginThe slug of the software. This must be a valid slug unique to each software product
domainString optionalexample.comThe domain the license is activated on.
environmentString optionalliveThe server environment the license is activated on. Expects live or staging, default live

All required fields must be provided and must be valid otherwise no update info will be received.

Example Response

{
    "status": "active",
    "slug": "test-plugin",
    "message": "License Valid",
    "software_details": {
        "name": "Test Plugin",
        "id": "12",
        "slug": "test-plugin",
        "plugin": "test-plugin",
        "version": "1.0.3",
        "last_updated": "2019-06-27 00:00:00",
        "homepage": "https://example.com/product/test-plugin/",
        "requires": "4.0",
        "tested": "5.2.2",
        "new_version": "1.0.3",
        "author": "Author Name",
        "sections": {
            "description": "Software Description.",
            "installation": "Installation instructions.",
            "changelog": "Changelog."
        },
        "banners": {
            "low": "",
            "high": ""
        },
        "rating": 0,
        "ratings": [],
        "num_ratings": 0,
        "active_installs": 1,
        "external": true,
        "package": "<valid_download_url_required_by_WordPress",
        "download_link": "<valid_download_url"
    }
}
Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact Support
Scroll to Top