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 → Creates a product

AI-generated

Summary

Create a new billing product in NinjaOne by providing required details such as name, description, quantity type, associated account ID, grouping flag, user role, and content configuration.

Inputs

  • name (required) — The name of the product to create.
  • description (required) — A descriptive text explaining the product.
  • quantityType (required) — Defines how product quantity is calculated, options include MANUAL, DEVICE_COUNTS, TIME_ENTRIES, END_USER_COUNTS, BACKUP_STORAGE_COUNTS, and SOFTWARE_LICENSE.
  • accountId (required) — The numeric identifier of the account to associate the product with.
  • group (required) — Boolean indicating whether the product should be grouped.
  • productUserRole (required) — A JSON object representing the user role configuration for the billing product.
  • content (required) — JSON object with additional content or configuration; its structure varies depending on the quantity type.
  • additionalFields — Optional fields such as integration settings (JSON), tax ID (number), and inherit tax from agreement (boolean).
  • options — Optional settings including custom request body JSON, custom HTTP headers, query string filters, batching settings, debug flag, pagination configuration, and request timeout.

Output shape

a single record

The operation returns the created product's data as JSON. When debug is enabled, includes the HTTP request details under a debug entry in the output.

Links

Discussion