updateGroup Method

Updates the name and description of a group.

Class 

Input Parameters 

ParameterRequiredDescription
parentIdRequiredOpportunity ID.
contextIdRequiredParent cart ID (Master or Enterprise quote or order ID)
groupIdRequiredGroup ID.
groupNameRequiredNew name of the group.
groupDescriptionOptional: Default value is nullNew description of the group.
cartTypeOptional: Defaults to QuoteQuote or order.

Output Parameters 

ParameterDescription
messageIn case of any error.

Example Input Data 

1{"groupName":"Group-1","groupDescription":"Group-one1","groupId":"a4M0b000002CWMLEA4","parentId":"0060b00000vGbYbAAK","contextId":"0Q00b000000znJ3CAI","cartType":"Quote"}

Example Output Data 

1{"error":"OK"}