Item Groups
Create an item group
QuickBooks Desktop API
Core Resources
- Auth Sessions
- End Users
Utilities
Transactions
- All Transactions
- Bill Check Payments
- Bill Credit Card Payments
- Bills
- Checks
- Credit Card Charges
- Credit Card Credits
- Credit Memos
- Estimates
- Inventory Adjustments
- Invoices
- Item Receipts
- Journal Entries
- Purchase Orders
- Receive-Payments
- Sales Orders
- Sales Receipts
- Time Tracking Activities
- Transfers
- Vendor Credits
General
- Account Tax Lines
- Accounts
- Classes
- Company
- Customers / Jobs
- Date-Driven Terms
- Employees
- Inventory Sites
- Payment Methods
- Payroll Wage Items
- Preferences
- Price Levels
- Sales Representatives
- Sales-Tax Codes
- Standard Terms
- Vendors
Items
- Discount Items
- Inventory Assembly Items
- Inventory Items
- Item Groups
- Item Sites
- Non-Inventory Items
- Sales-Tax Items
- Service Items
- Subtotal Items
Item Groups
Create an item group
Creates a new item group.
POST
/
quickbooks-desktop
/
item-groups
import Conductor from 'conductor-node';
const client = new Conductor({
apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
});
async function main() {
const itemGroup = await client.qbd.itemGroups.create({
name: 'Office Supplies Bundle',
shouldPrintItemsInGroup: true,
conductorEndUserId: 'end_usr_1234567abcdefg',
});
console.log(itemGroup.id);
}
main();
{
"id": "80000001-1234567890",
"objectType": "qbd_item_group",
"createdAt": "2021-10-01T17:34:56.000Z",
"updatedAt": "2021-10-01T20:45:30.000Z",
"revisionNumber": "1721172183",
"name": "Office Supplies Bundle",
"barcode": "012345678905",
"isActive": true,
"description": "Complete office starter kit with essential supplies for new employees.",
"unitOfMeasureSet": {
"id": "80000001-1234567890",
"fullName": "Weight Units"
},
"shouldPrintItemsInGroup": true,
"specialItemType": "finance_charge",
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"lines": [
{
"item": {
"id": "80000001-1234567890",
"fullName": "Widget A"
},
"quantity": 5,
"unitOfMeasure": "Each"
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}
Authorizations
Your Conductor secret key using Bearer auth (e.g., "Authorization: Bearer {{YOUR_SECRET_KEY}}"
).
Headers
The ID of the EndUser to receive this request (e.g., "Conductor-End-User-Id: {{END_USER_ID}}"
).
Example:
"end_usr_1234567abcdefg"
Body
application/json
Response
200 - application/json
Returns the newly created item group.
The response is of type object
.
import Conductor from 'conductor-node';
const client = new Conductor({
apiKey: process.env['CONDUCTOR_SECRET_KEY'], // This is the default and can be omitted
});
async function main() {
const itemGroup = await client.qbd.itemGroups.create({
name: 'Office Supplies Bundle',
shouldPrintItemsInGroup: true,
conductorEndUserId: 'end_usr_1234567abcdefg',
});
console.log(itemGroup.id);
}
main();
{
"id": "80000001-1234567890",
"objectType": "qbd_item_group",
"createdAt": "2021-10-01T17:34:56.000Z",
"updatedAt": "2021-10-01T20:45:30.000Z",
"revisionNumber": "1721172183",
"name": "Office Supplies Bundle",
"barcode": "012345678905",
"isActive": true,
"description": "Complete office starter kit with essential supplies for new employees.",
"unitOfMeasureSet": {
"id": "80000001-1234567890",
"fullName": "Weight Units"
},
"shouldPrintItemsInGroup": true,
"specialItemType": "finance_charge",
"externalId": "12345678-abcd-1234-abcd-1234567890ab",
"lines": [
{
"item": {
"id": "80000001-1234567890",
"fullName": "Widget A"
},
"quantity": 5,
"unitOfMeasure": "Each"
}
],
"customFields": [
{
"ownerId": "0",
"name": "Customer Rating",
"type": "string_1024_type",
"value": "Premium"
}
]
}