NinjaOne icon

NinjaOne

Ninja One Public API documentation. <br><br>See also: <br> <a href="https://resources.ninjarmm.com/API/Ninja+RMM+Public+API+v2.0.5+Device+Filter+Syntax.pdf">Device Filter syntax</a><br><a href="https://app.ninjarmm.com/apidocs-beta/core-resources/articles/webhooks/overview">Webhooks</a>

Actions309

Billing → Activates a product

AI-generated

Summary

Activate a billing product by its product ID using the PATCH /v2/billing/products/{id}/activate endpoint.

Inputs

  • id (required) — The numeric ID of the billing product to activate.
  • options — Optional settings including Custom Body (JSON object merged and taking priority over standard fields), Custom Headers (additional HTTP headers), Query Filters (custom query parameters), Batching options (to group requests and avoid rate limits), Debug flag (to include detailed request info), Pagination settings (for managing paged API responses), and Timeout (maximum wait time for server response headers).

Output shape

A single JSON response object from the activated product endpoint, potentially including debug information if enabled.

The output includes the activated product's data as returned by NinjaOne API. If 'Debug' option is enabled, the output additionally contains the actual URL, query parameters, headers, and request body used for the API call under a debug entry. Pagination settings exist but typically apply to list operations and will have limited effect here. Custom Body JSON, if provided, overrides or extends standard request body properties.

Examples

Example 1: Activate a billing product with ID 12345

Set 'Id' to 12345, leave options empty or default, and execute the operation to send a PATCH request that activates the product with ID 12345.

Links

Discussion