Add To OlaOla Shadow Cart
olaola_add_to_shadow_cartAdd a product variant or public URL to an anonymous planning cart for simulation, ensuring it does not affect the user's actual cart.
Instructions
Add a product variant or public product URL to an anonymous planning/simulation cart. Do not use this for the user's real cart; use olaola_add_to_cart or olaola_add_to_account_cart for that.
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>"
},
"name": "olaola_add_to_shadow_cart"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cartId | Yes | ||
| quantity | No | ||
| variantId | No | ||
| productUrlOrSlug | No |