post_cart_items_insert
Add one or more Mouser part numbers to a cart with quantities and optional packaging choices, enabling order preparation and cart updates.
Instructions
[MouserCart] POST /api/v{version}/cart/items/insert Allows one or more part numbers to be added to the cart
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": {
"request": "<request>"
},
"name": "post_cart_items_insert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes | ||
| version | No | API version. Defaults to 1. | 1 |
| countryCode | No | Optional. If not provided, the billing/shipping address associated with the account will be used to determine country code. If provided, country code will be used to determine shipping rules. | |
| currencyCode | No | Optional. If not provided, the default currency code based on the billing/shipping address associated with the account will be used to determine currency code. If provided, currency code will be used to price the cart. |