Medusa Admin API request
medusa_requestCall any Medusa v2 Admin API endpoint directly for cases not covered by dedicated tools, such as managing reservations or order edits.
Instructions
Calls any Medusa v2 Admin API endpoint directly – for anything the other tools do not cover (e.g. /admin/reservations, /admin/order-edits, /admin/exchanges, /admin/tax-rates, /admin/shipping-options). Prefer the dedicated tools when one fits. Amounts are in major units. Use 'fields' in the query to choose fields: '+field' adds to the defaults, '*relation' expands a relation. POST creates or updates, DELETE deletes – confirm changes with the user first. Writes to api-keys, users and invites are blocked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for POST | |
| path | Yes | Path starting with /admin/, e.g. /admin/reservations | |
| query | No | Query parameters; nested objects become a[b]=c | |
| method | No | GET |