Panelr

Get Products

GET ?action=get_products

Returns all active, non-removed products with their associated bouquet IDs. Add &plugin_id= to ask for one service's catalog, or &category_id= for one category. Without either you get everything. Each product also carries referral_earn_points (what a referrer earns when it is bought) and referral_cost_points (its price in credits, or null when it cannot be paid for with credits), and is_trial — true for a service's free-trial plan, which is never for sale (trials go through create_trial).

Request Parameters

FieldTypeRequiredDescription
plugin_idintegerOptionalOnly this service's plans
category_idintegerOptionalOnly plans in this category

Response Fields

FieldTypeDescription
idintegerProduct ID
namestringProduct name
alternate_namestring|nullAlternate display name
descriptionstring|nullProduct description
panel_descriptionstring|nullDescription from panel
price_decimalfloatPrice
currencystringCurrency code e.g. USD
duration_monthsintegerSubscription duration in months
connectionsintegerNumber of simultaneous connections
features_modestringinherit, extend, or custom
features_liststring|nullCustom features list
sort_orderintegerDisplay sort order
panel_product_idstringThe id this product has on its own service's panel. Only unique within that service — two services may use the same one for different plans, so pair it with plugin_id.
plugin_idinteger|nullThe service this product belongs to — see get_plugins
referral_earn_pointsinteger|nullCredits the referrer earns when a customer they invited buys this plan (null = none)
referral_cost_pointsinteger|nullThis plan’s price in credits — null means it cannot be paid for with credits
plugin_namestring|nullWhat the store owner calls that service
category_idinteger|nullThe service's category
category_namestring|nulle.g. IPTV, VOD, VPN
bouquet_idsarrayAssociated bouquet IDs