Create Activation
POST ?action=create_activation
Creates a new activation work order. Only call this after payment has been confirmed on your end — the order is queued immediately and the line is provisioned within approximately 1 minute.
Call get_products and get_payment_methods first to get valid values for product_id and payment_method_id.
Request Parameters
product_id — integer — Required. Panelr product ID.
customer_email — string — Required. Customer email address.
payment_method_id — integer — Required. Panelr payment method ID.
customer_name — string — Optional. Customer full name.
customer_phone — string — Optional. Customer phone number.
payment_transaction_id — string — Optional. Your order or transaction ID (e.g. WooCommerce order ID).
payment_amount — float — Optional. Amount paid.
is_free — boolean — Optional. Set true for free orders.
bouquet_ids — array — Optional. Explicit bouquet IDs to assign.
categories — array — Optional. Category filter: live, vod, series.
notes — string — Optional. Internal admin notes.
Response
{
"success": true,
"data": {
"work_order_id": 42,
"reference_code": "WO-2026-12345",
"status": "queued"
},
"error": null
}Example
curl -X POST "https://YOUR_DOMAIN/api/api.php?action=create_activation" \
-H "X-Panelr-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"product_id": 1,
"customer_email": "[email protected]",
"customer_name": "John Doe",
"payment_method_id": 1,
"payment_transaction_id": "wc_order_abc123",
"payment_amount": 9.99
}'