Medusa MCP Server

by SGFGOV
Verified

AdminPostOrdersIdCancel

Cancel an order in Medusa MCP Server. Ensures order cancellation fails if captured payments, refunds, or uncanceled fulfillments exist.

Instructions

This tool helps store administors. Cancel an order. The cancelation fails if:

  • The order has captured payments.
  • The order has refund payments.
  • The order has fulfillments that aren't canceled.

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" }

You must be authenticated.

Other Tools from Medusa MCP Server

Related Tools

ID: mm0iug6eap