createNewGroup Method
Creates a new (Quote or Order)-group with or without the corresponding Group Quote or Group Order record.
Parameter | Required | Description |
---|
parentId | Required | Opportunity ID. |
contextId | Required | Parent cart Id (Master/Enterprise Quote/Order Id) |
groupName | Required | Name for the group. |
groupDescription | Optional | Description of the group. |
cartType | Optional: Defaults to Quote | Quote or Order. |
memberType | Optional: Defaults to ServicePoint | CPQ Group Member Type Name. For example: ServicePoint. |
isGroupAssociatedWithCart | Optional: Defaults to true | True value will create the corresponding Group-Cart record as well. |
Parameter | Description |
---|
groupId | Group ID of the created record. |
groupInfo | All details related to a group. This contains groupCart, parentId, contextId, groupCartId, and groupName. See sample output |
message | In case of any error. |