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

AI-generated

Summary

Update an existing billing product by its ID with detailed product information including name, description, quantity type, account association, and user role configurations.

Inputs

  • id (required) — Numeric identifier of the product to update.
  • name (required) — The updated name of the product.
  • description (required) — The updated description of the product.
  • quantityType (required) — Specifies how product quantity is tracked, chosen from predefined types like MANUAL, DEVICE_COUNTS, TIME_ENTRIES, END_USER_COUNTS, BACKUP_STORAGE_COUNTS, or SOFTWARE_LICENSE.
  • accountId (required) — Account ID that the product belongs to.
  • group (required) — Boolean indicating if this product should be grouped.
  • productUserRole (required) — JSON object representing the user role configuration related to the billing product.
  • content (required) — JSON object with additional product content or configuration; structure depends on the quantity type.
  • additionalFields — Optional collection for extra settings including integration settings (JSON), tax ID, and whether the product inherits tax configuration from the agreement.
  • options — Optional settings such as custom request body overrides, HTTP headers, query filters, batching controls, debug flag, pagination settings, and request timeout.

Output shape

A single record representing the updated product details as returned by the API.

The response includes the result of the PUT request to update the product. Enabling debug option adds detailed request info to the output. Pagination and batching options affect multiple-record operations but are supported here for consistency.

Links

Discussion