Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/19 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.
addToGroup Method
Adds a service point to a group.
Parameter | Required | Description |
---|
parentId | Required | Opportunity ID. |
contextId | Required | Parent cart Id (Master/Enterprise Quote/Order Id) |
groupId | Required | Group ID. |
groupCartId | Required if corresponding cart record is present | Group Quote/Order Id. |
groupJSON | Required | Pass the IDs of member to add to the group.{"servicePoints":["a3R6g000000BAN3EAO", "a3R6g000000BAN4EAO"]} |
cartType | Optional: Defaults to Quote | Quote or Order |
memberType | Optional: Defaults to ServicePoint | CPQ Group Member Type Name. For example: ServicePoint |
Parameter | Description |
---|
message | In case of any error. |