# createOrderAndSubmit Method

Starts the checkout batch job for a group.

## Class

## Input Parameters

| Parameter      | Required                     | Description        |
| -------------- | ---------------------------- | ------------------ |
| opportunityId  | Required                     | Opportunity ID.    |
| cartType       | Optional: Defaults to Quote. | Quote or Order.    |
| groupId        | Required                     | Group ID.          |
| groupIds       | Optional                     | List of Group Ids. |
| CheckoutIPName | Optional                     | Procedure Name.    |
| batchSize      | Optional: Defaults to 1.     | Batch Size.        |

## Output Parameters

| Parameter    | Description              |
| ------------ | ------------------------ |
| isJobStarted | Returns a boolean value. |
| message      | In case of any error.    |

## Example Input Data

```
{"opportunityId":'0063t00000tPCmM", "cartType": "Quote", "groupId": "a3O3t000003ADvG"}
```

## Example Output Data

```
{"isJobStarted":true}
```
