Skip to main content
Glama

Medusa MCP Server

by SGFGOV

PostCartsIdCustomer

Assign a logged-in customer to an existing cart to transition from guest to authenticated shopping, ensuring cart continuity in the Medusa MCP Server.

Instructions

Set the customer of the cart. This is useful when you create the cart for a guest customer, then they log in with their account.

Input Schema

NameRequiredDescriptionDefault
fieldsNo
idNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "fields": { "type": "string" }, "id": { "type": "string" } }, "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SGFGOV/medusa-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server