Skip to main content
Glama

Medusa MCP Server

by SGFGOV

GetOrders

Fetch, filter, sort, or paginate customer orders by specific fields like ID or status using the JavaScript SDK. Streamline order management within Medusa MCP Server.

Instructions

Retrieve the orders of the logged-in customer. The orders can be filtered by fields such as id. The orders can also be sorted or paginated.

Input Schema

NameRequiredDescriptionDefault
$andNo
$orNo
fieldsNo
idNo
limitNo
offsetNo
orderNo
statusNo

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "$and": { "items": { "type": "string" }, "type": "array" }, "$or": { "items": { "type": "string" }, "type": "array" }, "fields": { "type": "string" }, "id": { "type": "string" }, "limit": { "type": "number" }, "offset": { "type": "number" }, "order": { "type": "string" }, "status": { "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