addToGroup Method

Adds a service point to a group.

parentIdRequiredOpportunity ID.
contextIdRequiredParent cart Id (Master/Enterprise Quote/Order Id)
groupIdRequiredGroup ID.
groupCartIdRequired if corresponding cart record is presentGroup Quote/Order Id.
groupJSONRequiredPass the IDs of member to add to the group.{"servicePoints":["a3R6g000000BAN3EAO", "a3R6g000000BAN4EAO"]}
cartTypeOptional: Defaults to QuoteQuote or Order
memberTypeOptional: Defaults to ServicePointCPQ Group Member Type Name. For example: ServicePoint
messageIn case of any error.