Skip to main content
The /products resource represents the software titles, plugins, and services you sell and manage through Avalex. Each product record defines how licensing works — whether a license is required, whether billing recurs on a schedule, the default number of IP addresses and hardware IDs (HWIDs) permitted per license, and optional marketplace resource IDs (such as BuiltByBit). When a license is issued for a product, it inherits these defaults unless overridden at the license level.

Required Permissions


List All Products

string
required
Bearer <token> or Basic credentials.
Returns an array of all product records in your catalog.
Response — 200 OK

Create a Product

string
required
Bearer <token> or Basic credentials.
string
required
Display name of the product.
string
required
Category of the product, such as software, addon, or service.
string
Optional BuiltByBit Resource ID (e.g. 12345). Used by the automated BuiltByBit license placeholder webhook to match downloads to this product.
string
Human-readable description of the product.
number
required
Price in your account’s base currency.
boolean
required
Whether customers must have a valid license to use this product.
boolean
required
Whether this product is billed on a recurring schedule (Payment Mode).
integer
Number of days between billing cycles. Only relevant when isSubscription is true.
integer | null
Default maximum number of IP addresses a license for this product may be bound to. Set to null for unlimited.
integer | null
Default maximum number of hardware IDs a license for this product may be bound to. Set to null for unlimited.
Creates a new product and returns the created record.
Response — 201 Created

Get a Product by ID

string
required
The unique product ID (e.g. prod_123).
Returns a single product record. Responds with 404 Not Found if no product with that ID exists.
Response — 200 OK

Update a Product

string
required
The unique product ID.
Performs a full replacement of the product record. You must include all fields you want to retain — omitted fields will be cleared. Returns 404 Not Found if the product does not exist.
Changing maxIps, maxHwids, or builtByBitResourceId on a product does not retroactively alter existing licenses. Only new licenses inherit updated defaults.
Response — 200 OK

Delete a Product

string
required
The unique product ID.
Permanently removes the product record. Returns 204 No Content on success and 404 Not Found if the ID does not exist.
Response — 204 No Content

Product Schema

Full Schema Example