Item Group
An item group is sold as a single unit but made up of several individual items. An item group is a group of items on a sales or purchase order that need to be sold or purchased together. The item group is not fulfilled, received, or stocked. However, the item group is available in the item list on a sales or purchase order and can be added to those transactions.
For more information, see Item Groups.
The item group record has one subrecord: member.
The REST API Browser includes information about the field names and field types of the item group record, and about the HTTP methods, request parameters, and operations available to this record. For details, see the REST API Browser’s itemgroup reference page.
For information about using the REST API Browser, see The REST API Browser.
Record ID
The record ID for the item group REST record is itemgroup.
Inaccessible Elements
The translations sublist is not exposed to REST web services.
Code Sample
Creating an Item Group
POST {{COMPANY_URL}}/services/rest/record/v1/itemGroup { "itemId": "ItemGroup REST TEST", "member": { "items": [ { "item": { "id":"233" }, "quantity":1 } ] }
}
Getting an Existing Item Group by ID
GET {{COMPANY_URL}}/services/rest/record/v1/itemGroup/{{itemGroupId}}
Updating an Existing Item Group by ID
PATCH {{COMPANY_URL}}/services/rest/record/v1/itemGroup/{{itemGroupId}} { "itemId": "ItemGroup REST TEST updated", "member": { "items": [ { "lineNumber": 1, "quantity":2 } ] }
}