# refreshCartMSMessage Method

Regenerates all the messages of a group cart.

## Class

## Input Parameters

| Parameter | Required                   | Description                                                                                                                            |
| --------- | -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| cartId    | Required                   | Any cart, usually a group cart.                                                                                                        |
| validate  | Optional: Defaults to true | True: It executes validation for a given cart ID and updates the multi service messages. False: It updates the multi service messages. |

## Output Parameters

JSON that contains action refreshGroupMSMessage. For more details, see the sample output.

## Input Data

```
{"cartId":"0Q05g000000x5f3CAA"}
```

## Output Data

```
{"totalSize":0,"actions":{"refreshgroupmsmessage":{"rest":{"params":{},"method":null,"link":null},"remote":{"params":{"methodName":"refreshGroupMSMessage","groupId":"a3W5g000000LNyxEAG"}},"client":{"params":{}}}}}
```
