PostCartsIdLineItems
Add a product variant to a cart using a specific line item. Simplify cart management and ensure accurate product selection with this Medusa MCP Server tool.
Instructions
Add a product variant as a line item in the cart.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
fields | No | ||
id | No |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"fields": {
"type": "string"
},
"id": {
"type": "string"
}
},
"type": "object"
}