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 catalog ticket product.

AI-generated

Summary

Create a new catalog ticket product in NinjaOne billing by specifying its details and associations.

Inputs

  • name (required) — The name of the ticket product.
  • description (required) — A detailed description of the ticket product.
  • quantityType (required) — Defines how the product quantity is calculated in billing, options include MANUAL, DEVICE COUNTS, TIME ENTRIES, END USER COUNTS, BACKUP STORAGE COUNTS, and SOFTWARE LICENSE.
  • content (required) — JSON object containing the product's basic calculation-related information.
  • ticketId (required) — The ID of the ticket to which this product will be assigned.
  • productId (required) — The catalog product's ID if it is already assigned.
  • accountId (required) — The account ID associated with this product.
  • group (required) — Boolean indicating whether the product can be created as a group.
  • additionalFields — Optional additional parameters such as tax ID, inheritance of tax from agreement, product user role configuration in JSON, and third-party integration settings in JSON.
  • options — Optional parameters to customize the request including custom request body, custom HTTP headers, query filters, batching options, debug mode, pagination, and request timeout.

Output shape

a JSON object representing the created catalog ticket product or an error response from the API.

The output includes the API response data for the created ticket product. Debug information can be included if enabled. The request supports extensive customization via additionalFields and options inputs.

Examples

Example 1: Create a catalog ticket product with manual quantity calculation for a specific ticket and account, including product name, description, and content JSON.

Set 'name', 'description', 'quantityType' to 'MANUAL', 'content' with product details, 'ticketId', 'productId', 'accountId', and 'group' to false.

Links

Discussion