Panelr

Create Activation

POST ?action=create_activation

Creates a new activation work order. Payment must be confirmed before calling — the work order is queued immediately and provisioned within 1 minute.

Request Parameters

FieldTypeRequiredDescription
product_idintegerRequiredPanelr product ID
customer_emailstringRequiredCustomer email address
payment_method_idintegerRequiredPanelr payment method ID
customer_namestringOptionalCustomer full name
customer_phonestringOptionalCustomer phone number
payment_transaction_idstringOptionalWooCommerce order/transaction ID
payment_amountfloatOptionalAmount paid
is_freebooleanOptionalSet true for free orders
bouquet_idsarrayOptionalExplicit bouquet IDs to assign. Must belong to the same service as the product — ids from another service mean nothing to that panel
categoriesarrayOptionalCategory names: live, vod, series. Expanded to bouquets belonging to the same service as the item being ordered — another service's categories are not included
notesstringOptionalInternal admin notes
pay_with_pointsbooleanOptionalPay for the line with the customer’s credits — no payment method needed and no money changes hands. Requires a credit-priced plan on a participating service and a covering balance
referral_codestringOptionalInvite code the customer arrived with. Stale codes are dropped silently
idempotency_keystringOptionalYour own reference for this request (defaults to wc_order_id, then payment_transaction_id). Send the same key again after a timeout or retry and you get the original order back with already: true instead of a second order
credits_spentintegerCredits debited when the line was paid for with credits (0 otherwise)

Response

{
  "success": true,
  "data": {
    "work_order_id": 42,
    "reference_code": "WO-2026-12345",
    "status": "queued"
  },
  "error": null
}

The order is provisioned asynchronously within ~1 minute. Store work_order_id for reference.