Loading
Quote Creation Issue - Non-USD CurrenciesRead More
Important Advisory: iOS Update Impacting CG Mobile ApplicationRead More
Get Started with Communications, Media, and Energy & Utilities (CME)...
addToGroup Method

addToGroup Method

Adds a service point to a group.

Class

Input Parameters

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

Output Parameters

Parameter

Description

message

In case of any error.

Example Input Data

{"groupId":"a4M0b000002CWMaEAO","groupCartId":"0Q00b000000znU2CAI","groupName":"South Group","parentId":"0060b00000vGbYbAAK","contextId":"0Q00b000000znTYCAY","groupJSON":{"servicePoints":["a3h0b00000CwSUFAA3","a3h0b00000CwSUGAA3"]},"memberType":"ServicePoint","cartType":"Quote"}

Example Output Data

{"error":"OK"}
 
Loading
Salesforce Help | Article