Update Cart
hyros_update_cartUpdate pending cart details in Hyros by modifying item quantities, prices, or customer information before conversion to an order.
Instructions
Update an existing cart in Hyros. Use this to modify items or customer info on a pending cart before it converts to an order.
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": {
"cartId": "<cartId>",
"items": "<items>"
},
"name": "hyros_update_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Cart date in ISO 8601 format | |
| No | Customer email | ||
| items | Yes | Updated cart items | |
| cartId | Yes | The external cart ID to update | |
| leadIps | No | Lead IP addresses | |
| currency | No | Currency code (e.g., USD) | |
| lastName | No | ||
| firstName | No | ||
| phoneNumbers | No |