Create a RoutersUA cart link
routersua_create_cart_linkCreate a link that opens the RoutersUA checkout with the chosen products and quantities in the cart, at live prices in UAH, for the user to open, review and complete on the site. Use it when the user is ready to buy or wants several products in one cart; identify products with routersua_search_products first, and for a single piece of one product the cart_url of routersua_get_product is enough. Nothing is ordered, reserved or paid here. Repeated products are added together (at most 99 each); products that cannot be ordered now are left out and listed in unavailable; products on backorder are included and marked with their ship date; an unknown product, or none orderable, returns an error.
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": "routersua_create_cart_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | One to ten products, e.g. [{"product": "GL-MT6000", "quantity": 2}, {"product": "GL-E750V2"}]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| lines | Yes | ||
| currency | Yes | ||
| unavailable | Yes | ||
| goods_total_uah | Yes |