Create Cart
hyros_create_cartCreate a cart in Hyros when a lead adds items, so the eventual purchase is tracked and attributed.
Instructions
Create a new cart in Hyros to track a shopping cart before it converts to an order. Use this when a lead adds items to a cart so Hyros can attribute the eventual purchase.
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": {
"items": "<items>"
},
"name": "hyros_create_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Cart date in ISO 8601 format | |
| No | Customer email | ||
| items | Yes | Cart items (required) | |
| cartId | No | External cart ID | |
| leadIps | No | Lead IP addresses | |
| currency | No | Currency code (e.g., USD) | |
| lastName | No | ||
| firstName | No | ||
| phoneNumbers | No |