Get a list of products.
Authentication: Public (no auth required); authenticated users see purchased products
Parameters:
| Name | Type | Required | Description |
|---|---|---|---|
type | string | No | Filter by type: plugins, themes |
query_args | array | No | WP_Query arguments |
licensed_products | array | No | Array of {product_id: {license_key, license_status}} |
api_keys | array | No | {username, consumer_key, consumer_secret} for authenticated listing |
Example Request:
curl https://your-site.com/wp-json/slswc/v1/products?type=plugins
Success Response (200):
{
"products": {
"123": {
"product_id": 123,
"name": "My Plugin",
"version": "1.2.0",
"slug": "my-plugin"
}
},
"status": "ok"
}
Back to License Endpoints.