Get a Product (GET /product)

Get details for a single product by slug.

Authentication: Public (no auth required)

Parameters:

NameTypeRequiredDescription
slugstringYesProduct slug

Example Request:

curl https://your-site.com/wp-json/slswc/v1/product?slug=my-plugin

Success Response (200):

{
    "status": "ok",
    "product": {
        "product_id": 123,
        "name": "My Plugin",
        "version": "1.2.0",
        "slug": "my-plugin",
        "homepage": "https://your-site.com/product/my-plugin",
        "description": "...",
        "changelog": "..."
    }
}

Back to License Endpoints.

Was this article helpful?