Create an unit-of-measure set
Creates a new unit-of-measure set.
NOTE: The QuickBooks company file must have unit-of-measure enabled (either a single unit per item or multiple units per item). To support both configurations, prefix all UOM set names with "By the" (for example, "By the Barrel"); otherwise, the set may not appear in the QuickBooks UI when the company file is configured for a single unit per item.
post/quickbooks-desktop/unit-of-measure-sets
Headers
Conductor-End-User-Idstring required
The ID of the End-User to receive this request.
Example:end_usr_1234567abcdefg
The ID of the End-User to receive this request.
Request body
Example request
{
"name": "Weight Units",
"isActive": true,
"unitOfMeasureType": "count",
"baseUnit": {
"name": "Each",
"abbreviation": "ea"
},
"relatedUnits": [
{
"name": "Case",
"abbreviation": "ea",
"conversionRatio": "10"
}
],
"defaultUnits": [
{
"unitUsedFor": "purchase",
"unit": "Each"
}
]
}Response
Returns the newly created unit-of-measure set.
Example response
{
"id": "80000001-1234567890",
"objectType": "qbd_unit_of_measure_set",
"createdAt": "2025-01-01T12:34:56+00:00",
"updatedAt": "2025-02-01T12:34:56+00:00",
"revisionNumber": "1721172183",
"name": "Weight Units",
"isActive": true,
"unitOfMeasureType": "count",
"baseUnit": {
"name": "Each",
"abbreviation": "ea"
},
"relatedUnits": [
{
"name": "Case",
"abbreviation": "ea",
"conversionRatio": "10"
}
],
"defaultUnits": [
{
"unitUsedFor": "purchase",
"unit": "Each"
}
]
}