Creating a Product
Products represent WordPress plugins or themes that you distribute through PackEdge.
Create via Dashboard
- Go to Products in the sidebar
- Click New Product
- Fill in the details:
| Field | Required | Description |
|---|---|---|
| Name | Yes | Display name (e.g., "My Awesome Plugin") |
| Slug | Auto | URL-safe identifier, auto-generated from name |
| Type | Yes | plugin or theme |
| Description | No | Short description |
| License Prefix | No | Custom prefix for license keys (e.g., MYPLUGIN) |
| Requires License | No | Whether the product requires a license to function |
| Manages Releases | No | Enable release/update distribution |
Create via API
bash
curl -X POST https://api.packedge.dev/api/products \
-H "Content-Type: application/json" \
-H "Cookie: session=YOUR_SESSION" \
-d '{
"name": "My Awesome Plugin",
"productType": "plugin",
"isPremium": true,
"requiresLicense": true,
"managesReleases": true,
"licensePrefix": "MYPLUGIN"
}'Product Status
| Status | Description |
|---|---|
draft | Not visible, still being configured |
active | Live and accepting licenses |
archived | Soft-deleted, no longer active |
Product Meta
Each product can have optional metadata:
- Logo URL — displayed in the dashboard and WordPress update screen
- Banner URL — used in WordPress plugin details
- Icon — emoji or icon URL for quick identification
- Color — hex color for dashboard theming
- Readme URL — link to product documentation
