checkoutShoppingCart
Process a shopping cart checkout by accepting client ID, items, and payment methods, with support for in-store, email receipts, and promo codes.
Instructions
Process a shopping cart checkout
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"clientId": "<clientId>",
"items": "<items>",
"payments": "<payments>"
},
"name": "checkoutShoppingCart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | Cart items | |
| inStore | No | In-store purchase | |
| clientId | Yes | Client ID | |
| payments | Yes | Payment methods | |
| sendEmail | No | Send email receipt | |
| locationId | No | Location ID | |
| promotionCode | No | Promotion code |