v2
latestOpenAPI 3.0.12026-07-263104131.9 MBBilling
Creates a product
Creates a new product in the catalog.
The content field structure varies by quantity type and must include all required fields for that type:
- Required for all types: price, cost, taxable, billing
- MANUAL: quantity, productIds
- DEVICE_COUNTS: anyRole, groupIds, allGroups, nodeRoles (optional), productIds
- END_USER_COUNTS: anyRole, endUserRoles (optional), matchAllRoles, productIds
- BACKUP_STORAGE_COUNTS: anyRole, groupIds, allGroups, nodeRoles (optional), isStorageIncludedPerDevice, includedStorage, productIds
- TIME_ENTRIES: autoRoundTimeEntries, laborCodes, userRoles, onSiteMultiplier, offHoursMultiplier, remoteMultiplier, normalHoursMultiplier, scheduleTypeOffHours, scheduleTypeNormalHours, locationTypeOnSite, locationTypeRemote, includeTime, includedTimeAmountUnlimited, includedHours, unusedCarryOverUnlimited, carryOverLimit, productIds
The productUserRole field controls which technicians can use this product.
post/v2/billing/products
Response
Product successfully created
Example response
{
"id": 1,
"name": "Hardware Support",
"description": "Monthly hardware support service",
"quantityType": "DEVICE_COUNTS",
"productUserRole": {
"allowAllTechnicians": true,
"userRoles": [
{
"id": 1,
"name": "Admin"
}
]
},
"accountId": 8,
"taxId": 1,
"inheritTaxFromAgreement": true,
"active": true
}