Billing
Updates a product
Changed onUpdates a previously created product given its ID and updated content.
The content field structure varies by quantity type and must include all required fields for that type (price, cost, taxable, billing, and type-specific fields). See the create product description for details on required fields per quantity type.
Note: The quantity type cannot be changed after product creation.
put/v2/billing/products/{id}
Request
- Base URLhttps://app.ninjarmm.com (the document declares no server; this is the origin it was published from)
- Auth
- HTTP bearer
- or API key in cookie sessionKey
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idinteger required
Request body */*
Example request
{
"name": "Hardware Support",
"description": "Monthly hardware support service",
"quantityType": "DEVICE_COUNTS",
"accountId": 1,
"group": true,
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
1,
2
]
},
"taxId": 5,
"inheritTaxFromAgreement": true
}Response
Product successfully updated
Example response
{
"id": 1,
"name": "Hardware Support",
"description": "Monthly hardware support service",
"quantityType": "DEVICE_COUNTS",
"accountId": 8,
"taxId": 1,
"inheritTaxFromAgreement": true,
"active": true
}Changes
- info
added the new optional request property
- info
added the new optional request property
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- info
endpoint added
- info