Appearance
Create Product
Create a new product.
POST /v1/productsRequest Body
json
{
"name": "My Plugin",
"productType": "plugin",
"isPremium": true,
"requiresLicense": true,
"managesReleases": true,
"licensePrefix": "MYPLUGIN",
"description": "A WordPress plugin"
}| Field | Required | Type | Description |
|---|---|---|---|
name | Yes | string | Product display name |
productType | Yes | string | plugin or theme |
isPremium | No | boolean | Whether product is premium (default: false) |
requiresLicense | No | boolean | Require license for functionality (default: false) |
managesReleases | No | boolean | Enable release distribution (default: false) |
licensePrefix | No | string | Custom prefix for license keys |
description | No | string | Product description |
logoUrl | No | string | URL to product logo |
bannerUrl | No | string | URL to product banner |
Response
json
{
"data": {
"id": "prd_xxx",
"name": "My Plugin",
"slug": "my-plugin",
"productType": "plugin",
"status": "draft",
"publicKey": "pk_xxx",
"isPremium": true,
"requiresLicense": true,
"managesReleases": true,
"licensePrefix": "MYPLUGIN",
"createdAt": "2026-02-06T12:00:00.000Z"
}
}Example
bash
curl -X POST "https://api.packedge.dev/v1/products" \
-H "Authorization: Bearer pk_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"name": "My Plugin",
"productType": "plugin",
"isPremium": true,
"requiresLicense": true
}'