What your agents can do

Real Medusa Admin actions, managed and audited.

Your user connects Medusa Admin once; your agent can then create and update products and promotions, complete and cancel orders, and create returns and refund payments — scoped to the OAuth permissions you grant and the tool allowlist you configure. Every action is least-privilege and written to a tamper-evident audit trail.

  1. 01Connect

    Your user grants Medusa Admin access once (OAuth) — the token lands in the vault.

  2. 02Call

    Your agent calls a tool over MCP or the typed API; Open Connector injects the credential server-side.

  3. 03Audit

    Every routed call appends a hash-chained audit record — nothing leaves your infra.

Tools & triggers

Supported Medusa Admin tools.

Browse 384 tools in the Medusa Admin catalog. Each action uses your configured authentication and tool allowlist.

Showing 384 tools.

Delete a Campaign
MEDUSA_ADMIN_DELETE_CAMPAIGNS_ID
Delete a campaign by its ID. This doesn't delete promotions that belong to this campaign.
Campaigns
Remove a Claim Item from a Claim
MEDUSA_ADMIN_DELETE_CLAIMS_ID_CLAIM_ITEMS_ACTION_ID
Remove an order item from a claim by the ID of the item's `WRITE_OFF_ITEM` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Claims
Remove an Inbound Item from Claim
MEDUSA_ADMIN_DELETE_CLAIMS_ID_INBOUND_ITEMS_ACTION_ID
Remove an inbound (or return) item from a claim using the `ID` of the item's `RETURN_ITEM` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Claims
Remove Inbound Shipping Method from Claim
MEDUSA_ADMIN_DELETE_CLAIMS_ID_INBOUND_SHIPPING_METHOD_ACTION_ID
Remove the shipping method for returning items in the claim using the `ID` of the method's `SHIPPING_ADD` action. Every shipping method has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Claims
Remove an Outbound Item from Claim
MEDUSA_ADMIN_DELETE_CLAIMS_ID_OUTBOUND_ITEMS_ACTION_ID
Remove an outbound (or new) item from a claim using the `ID` of the item's `ITEM_ADD` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Claims
Remove Outbound Shipping Method from Claim
MEDUSA_ADMIN_DELETE_CLAIMS_ID_OUTBOUND_SHIPPING_METHOD_ACTION_ID
Remove the shipping method for delivering outbound items in the claim using the `ID` of the method's `SHIPPING_ADD` action. Every shipping method has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Claims
Cancel Claim Request
MEDUSA_ADMIN_DELETE_CLAIMS_ID_REQUEST
Cancel a requested claim.
Claims
Delete a Collection
MEDUSA_ADMIN_DELETE_COLLECTIONS_ID
Delete a product collection.
Collections
Delete a Customer
MEDUSA_ADMIN_DELETE_CUSTOMERS_ID
Delete a customer.
Customers
Remove an Address from Customer
MEDUSA_ADMIN_DELETE_CUSTOMERS_ID_ADDRESSES_ADDRESS_ID
Remove a customer's address.
Customers
Delete a Customer Group
MEDUSA_ADMIN_DELETE_CUSTOMER_GROUPS_ID
Delete a customer group. Customers in the group aren't deleted.
Customer Groups
Delete a Draft Order
MEDUSA_ADMIN_DELETE_DRAFT_ORDERS_ID
Delete a draft order.
Draft Orders
Cancel Edit on Draft Order
MEDUSA_ADMIN_DELETE_DRAFT_ORDERS_ID_EDIT
Cancel an unconfirmed edit on a draft order.
Draft Orders
Remove Item from Draft Order Edit
MEDUSA_ADMIN_DELETE_DRAFT_ORDERS_ID_EDIT_ITEMS_ACTION_ID
Remove an order item from a draft order edit by the ID of the item's `ITEM_ADD` or `ITEM_UPDATE` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Draft Orders
Remove Promotions from Draft Order Edit
MEDUSA_ADMIN_DELETE_DRAFT_ORDERS_ID_EDIT_PROMOTIONS
Remove specified promotions from a draft order edit.
Draft Orders
Remove New Shipping Method from Draft Order
MEDUSA_ADMIN_DELETE_DRAFT_ORDERS_ID_EDIT_SHIPPING_METHODS_ACTION_ID
Remove a shipping method that was added to a draft order edit using the `ID` of the method's `SHIPPING_ADD` action. Every shipping method has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Draft Orders
Remove Shipping Method from Draft Order Edit
MEDUSA_ADMIN_DELETE_DRAFT_ORDERS_ID_EDIT_SHIPPING_METHODS_METHOD_METHOD_ID
Remove an existing shipping method from a draft order edit.
Draft Orders
Remove Inbound Item from Exchange
MEDUSA_ADMIN_DELETE_EXCHANGES_ID_INBOUND_ITEMS_ACTION_ID
Remove an inbound (or return) item from an exchange using the `ID` of the item's `RETURN_ITEM` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Exchanges
Remove Inbound Shipping Method from Exchange
MEDUSA_ADMIN_DELETE_EXCHANGES_ID_INBOUND_SHIPPING_METHOD_ACTION_ID
Remove the shipping method for returning items in the exchange using the `ID` of the method's `SHIPPING_ADD` action. Every shipping method has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Exchanges
Remove Outbound Item from Exchange
MEDUSA_ADMIN_DELETE_EXCHANGES_ID_OUTBOUND_ITEMS_ACTION_ID
Remove an outbound (or new) item from an exchange using the `ID` of the item's `ITEM_ADD` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Exchanges
Remove Outbound Shipping Method from Exchange
MEDUSA_ADMIN_DELETE_EXCHANGES_ID_OUTBOUND_SHIPPING_METHOD_ACTION_ID
Remove the shipping method for delivering outbound items in the exchange using the `ID` of the method's `SHIPPING_ADD` action. Every shipping method has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Exchanges
Cancel Exchange Request
MEDUSA_ADMIN_DELETE_EXCHANGES_ID_REQUEST
Cancel a requested exchange.
Exchanges
Delete Fulfillment Set
MEDUSA_ADMIN_DELETE_FULFILLMENT_SETS_ID
Delete a fulfillment set.
Fulfillment Sets
Remove a Service Zone from Fulfillment Set
MEDUSA_ADMIN_DELETE_FULFILLMENT_SETS_ID_SERVICE_ZONES_ZONE_ID
Remove a service zone that belongs to a fulfillment set.
Fulfillment Sets
Delete Inventory Item
MEDUSA_ADMIN_DELETE_INVENTORY_ITEMS_ID
Delete an inventory item.
Inventory Items
Remove Inventory Level of Inventory Item
MEDUSA_ADMIN_DELETE_INVENTORY_ITEMS_ID_LOCATION_LEVELS_LOCATION_ID
Remove the inventory level of an inventory item. If the inventory level has reserved quantity greater than `0`, an error is thrown.
Inventory Items
Delete Invite
MEDUSA_ADMIN_DELETE_INVITES_ID
Delete an invite.
Invites
Clear Configuration of Layout
MEDUSA_ADMIN_DELETE_LAYOUTS_ZONE_CONFIGURATION
Clears all user layout configurations for a given zone. This action will remove any customizations made by the user and revert to the system defaults.
Layouts
Cancel Order Edit
MEDUSA_ADMIN_DELETE_ORDER_EDITS_ID
Cancel a requested order edit.
Order Edits
Remove Item from Order Edit
MEDUSA_ADMIN_DELETE_ORDER_EDITS_ID_ITEMS_ACTION_ID
Remove an added item in the order edit by the ID of the item's `ITEM_ADD` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Order Edits
Remove Shipping Method from Order Edit
MEDUSA_ADMIN_DELETE_ORDER_EDITS_ID_SHIPPING_METHOD_ACTION_ID
Remove a shipping method in the order edit by the ID of the method's `SHIPPING_ADD` action. Every shipping method has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Order Edits
Delete a Payment Collection
MEDUSA_ADMIN_DELETE_PAYMENT_COLLECTIONS_ID
Delete a payment collection.
Payment Collections
Delete a Price List
MEDUSA_ADMIN_DELETE_PRICE_LISTS_ID
Delete a price list.
Price Lists
Delete a Price Preference
MEDUSA_ADMIN_DELETE_PRICE_PREFERENCES_ID
Delete a price preference.
Price Preferences
Delete a Product
MEDUSA_ADMIN_DELETE_PRODUCTS_ID
Delete a product.
Products
Delete Product Variant
MEDUSA_ADMIN_DELETE_PRODUCTS_ID_VARIANTS_VARIANT_ID
Delete a variant of a product.
Products
Remove Inventory Item Association with Product Variant
MEDUSA_ADMIN_DELETE_PRODUCTS_ID_VARIANTS_VARIANT_ID_INVENTORY_ITEMS_INVENTORY_ITEM_ID
Remove the association between an inventory item and its product variant.
Products
Delete a Product Category
MEDUSA_ADMIN_DELETE_PRODUCT_CATEGORIES_ID
Delete a product category. This doesn't delete the products in that category. A product category that has child categories can't be deleted, so you must delete its child categories first.
Product Categories
Delete a Product Option
MEDUSA_ADMIN_DELETE_PRODUCT_OPTIONS_ID
Delete a product option.
Product Options
Remove Value from Product Option
MEDUSA_ADMIN_DELETE_PRODUCT_OPTIONS_ID_VALUES_VALUE_ID
Remove a Value from a product option.
Product Options
Delete a Product Tag
MEDUSA_ADMIN_DELETE_PRODUCT_TAGS_ID
Delete a product tag. This doesn't delete products using the tag.
Product Tags
Delete a Product Type
MEDUSA_ADMIN_DELETE_PRODUCT_TYPES_ID
Delete a product type. This doesn't delete products of this type.
Product Types
Delete a Promotion
MEDUSA_ADMIN_DELETE_PROMOTIONS_ID
Delete a promotion.
Promotions
Delete a Property Label
MEDUSA_ADMIN_DELETE_PROPERTY_LABELS_ID
Delete a property label.
Property Labels
Delete a Refund Reason
MEDUSA_ADMIN_DELETE_REFUND_REASONS_ID
Delete a refund reason.
Refund Reasons
Delete a Region
MEDUSA_ADMIN_DELETE_REGIONS_ID
Delete a region.
Regions
Delete a Reservation
MEDUSA_ADMIN_DELETE_RESERVATIONS_ID
Delete a reservation.
Reservations
Remove Damaged Item from Return
MEDUSA_ADMIN_DELETE_RETURNS_ID_DISMISS_ITEMS_ACTION_ID
Remove a damaged item, whose quantity is to be dismissed, in the return by the ID of the item's `RECEIVE_DAMAGED_RETURN_ITEM` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property. return.
Returns
Cancel Return Receival
MEDUSA_ADMIN_DELETE_RETURNS_ID_RECEIVE
Cancel the receival process previously started, and hasn't been confirmed, of a return.
Returns
Remove a Received Item from Return
MEDUSA_ADMIN_DELETE_RETURNS_ID_RECEIVE_ITEMS_ACTION_ID
Remove a received item in the return by the ID of the item's `RECEIVE_RETURN_ITEM` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property. return.
Returns
Cancel Return Request
MEDUSA_ADMIN_DELETE_RETURNS_ID_REQUEST
Cancel a requested return.
Returns
Remove Item from Return
MEDUSA_ADMIN_DELETE_RETURNS_ID_REQUEST_ITEMS_ACTION_ID
Remove a requested item to be returned by the ID of the item's `RETURN_ITEM` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property. return.
Returns
Remove Shipping Method from Return
MEDUSA_ADMIN_DELETE_RETURNS_ID_SHIPPING_METHOD_ACTION_ID
Remove a shipping method of the return by the ID of the item's `SHIPPING_ADD` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Returns
Delete a Return Reason
MEDUSA_ADMIN_DELETE_RETURN_REASONS_ID
Delete a return reason.
Return Reasons
Delete a Sales Channel
MEDUSA_ADMIN_DELETE_SALES_CHANNELS_ID
Delete a sales channel.
Sales Channels
Delete a Shipping Option
MEDUSA_ADMIN_DELETE_SHIPPING_OPTIONS_ID
Delete a shipping option.
Shipping Options
Delete a Shipping Option Type
MEDUSA_ADMIN_DELETE_SHIPPING_OPTION_TYPES_ID
Delete a shipping option type.
Shipping Option Types
Delete a Shipping Profile
MEDUSA_ADMIN_DELETE_SHIPPING_PROFILES_ID
Delete a shipping profile.
Shipping Profiles
Delete a Stock Location
MEDUSA_ADMIN_DELETE_STOCK_LOCATIONS_ID
Delete a stock location.
Stock Locations
Delete a Tax Rate
MEDUSA_ADMIN_DELETE_TAX_RATES_ID
Delete a tax rate.
Tax Rates
Remove Rule of Tax Rate
MEDUSA_ADMIN_DELETE_TAX_RATES_ID_RULES_RULE_ID
Remove a tax rate's rule.
Tax Rates
Delete a Tax Region
MEDUSA_ADMIN_DELETE_TAX_REGIONS_ID
Delete a tax region.
Tax Regions
Delete a File
MEDUSA_ADMIN_DELETE_UPLOADS_ID
Delete a file. Uses the installed file module provider to delete the file.
Uploads
Delete a User
MEDUSA_ADMIN_DELETE_USERS_ID
Delete a user.
Users
Remove View Configurations
MEDUSA_ADMIN_DELETE_VIEWS_ENTITY_CONFIGURATIONS_ID
Remove view configurations of an entity. An admin user can only delete their own configurations.
Views
List Campaigns
MEDUSA_ADMIN_GET_CAMPAIGNS
Retrieve a list of campaigns. The campaigns can be filtered by fields such as `id`. The campaigns can also be sorted or paginated.
Campaigns
Get a Campaign
MEDUSA_ADMIN_GET_CAMPAIGNS_ID
Retrieve a campaign by its ID. You can expand the campaign's relations or select the fields that should be returned using the query parameters.
Campaigns
List Claims
MEDUSA_ADMIN_GET_CLAIMS
Retrieve a list of claims. The claims can be filtered by fields such as `id`. The claims can also be sorted or paginated.
Claims
Get a Claim
MEDUSA_ADMIN_GET_CLAIMS_ID
Retrieve a claim by its ID. You can expand the claim's relations or select the fields that should be returned using the query parameters.
Claims
List Collections
MEDUSA_ADMIN_GET_COLLECTIONS
Retrieve a list of collections. The collections can be filtered by fields such as `id`. The collections can also be sorted or paginated.
Collections
Get a Collection
MEDUSA_ADMIN_GET_COLLECTIONS_ID
Retrieve a collection by its ID. You can expand the collection's relations or select the fields that should be returned using the query parameters.
Collections
List Currencies
MEDUSA_ADMIN_GET_CURRENCIES
Retrieve a list of currencies. The currencies can be filtered by fields such as `id`. The currencies can also be sorted or paginated.
Currencies
Get a Currency
MEDUSA_ADMIN_GET_CURRENCIES_CODE
Retrieve a currency by its code. You can expand the currency's relations or select the fields that should be returned using the query parameters.
Currencies
List Customers
MEDUSA_ADMIN_GET_CUSTOMERS
Retrieve a list of customers. The customers can be filtered by fields such as `id`. The customers can also be sorted or paginated.
Customers
Get a Customer
MEDUSA_ADMIN_GET_CUSTOMERS_ID
Retrieve a customer by its ID. You can expand the customer's relations or select the fields that should be returned.
Customers
List Addresses
MEDUSA_ADMIN_GET_CUSTOMERS_ID_ADDRESSES
Retrieve a list of addresses in a customer. The addresses can be filtered by fields like `query`. The addresses can also be paginated.
Customers
List Addresses
MEDUSA_ADMIN_GET_CUSTOMERS_ID_ADDRESSES_ADDRESS_ID
Retrieve a list of a customer's addresses. The addresses can be filtered by fields like `company`. The addresses can also be paginated.
Customers
List Customer Groups
MEDUSA_ADMIN_GET_CUSTOMER_GROUPS
Retrieve a list of customer groups. The customer groups can be filtered by fields such as `id`. The customer groups can also be sorted or paginated.
Customer Groups
Get a Customer Group
MEDUSA_ADMIN_GET_CUSTOMER_GROUPS_ID
Retrieve a customer group by its ID. You can expand the customer group's relations or select the fields that should be returned.
Customer Groups
List Draft Orders
MEDUSA_ADMIN_GET_DRAFT_ORDERS
Retrieve a list of draft orders. The draft orders can be filtered by fields such as `id`. The draft orders can also be sorted or paginated.
Draft Orders
Get a Draft Order
MEDUSA_ADMIN_GET_DRAFT_ORDERS_ID
Retrieve a draft order by its ID. You can expand the draft order's relations or select the fields that should be returned using the query parameters.
Draft Orders
List Exchanges
MEDUSA_ADMIN_GET_EXCHANGES
Retrieve a list of exchanges. The exchanges can be filtered by fields such as `id`. The exchanges can also be sorted or paginated.
Exchanges
Get an Exchange
MEDUSA_ADMIN_GET_EXCHANGES_ID
Retrieve an exchange by its ID. You can expand the exchange's relations or select the fields that should be returned using query parameters.
Exchanges
List Feature Flags
MEDUSA_ADMIN_GET_FEATURE_FLAGS
Retrieve a list of feature flags. The feature flags can be filtered by fields such as `id`. The feature flags can also be sorted or paginated.
Feature Flags
List Fulfillment Providers
MEDUSA_ADMIN_GET_FULFILLMENT_PROVIDERS
Retrieve a list of fulfillment providers. The fulfillment providers can be filtered by fields such as `id`. The fulfillment providers can also be sorted or paginated.
Fulfillment Providers
List Fulfillment Options
MEDUSA_ADMIN_GET_FULFILLMENT_PROVIDERS_ID_OPTIONS
Retrieve the list of fulfillment options of a fulfillment provider. These options may be retrieved from an integrated third-party service.
Fulfillment Providers
Get a Service Zone in a Fulfillment Set
MEDUSA_ADMIN_GET_FULFILLMENT_SETS_ID_SERVICE_ZONES_ZONE_ID
Retrieve a service zone that belongs to a fulfillment set. be paginated.
Fulfillment Sets
List Gift Cards
MEDUSA_ADMIN_GET_GIFT_CARDS
Retrieve a list of gift cards. The gift cards can be filtered by fields such as `id`. The gift cards can also be sorted or paginated.
Gift Cards
Get a Gift Card
MEDUSA_ADMIN_GET_GIFT_CARDS_ID
Retrieve a gift card by its ID. You can expand the gift card's relations or select the fields that should be returned.
Gift Cards
List Gift Card's Orders
MEDUSA_ADMIN_GET_GIFT_CARDS_ID_ORDERS
Retrieve the list of orders that a gift card was used in.
Gift Cards
Get Index Details
MEDUSA_ADMIN_GET_INDEX_DETAILS
Retrieve index metadata, including entity type, status, last synced key, and last updated timestamp.
Index
List Inventory Items
MEDUSA_ADMIN_GET_INVENTORY_ITEMS
Retrieve a list of inventory items. The inventory items can be filtered by fields such as `id`. The inventory items can also be sorted or paginated.
Inventory Items
Get a Inventory Item
MEDUSA_ADMIN_GET_INVENTORY_ITEMS_ID
Retrieve a inventory item by its ID. You can expand the inventory item's relations or select the fields that should be returned.
Inventory Items
List Inventory Levels
MEDUSA_ADMIN_GET_INVENTORY_ITEMS_ID_LOCATION_LEVELS
Retrieve a list of inventory levels associated with an inventory item. The inventory levels can be filtered by fields like `location_id`. The inventory levels can also be paginated.
Inventory Items
List Invites
MEDUSA_ADMIN_GET_INVITES
Retrieve a list of invites. The invites can be filtered by fields such as `id`. The invites can also be sorted or paginated.
Invites
Get an Invite
MEDUSA_ADMIN_GET_INVITES_ID
Retrieve an invite by its ID. You can expand the invite's relations or select the fields that should be returned.
Invites
List Layout Configurations
MEDUSA_ADMIN_GET_LAYOUTS_CONFIGURATIONS
Retrieve a list of layout configurations made by admin users. The layouts can be filtered by fields such as `id`. The layouts can also be sorted or paginated.
Layouts
List Layout Configurations
MEDUSA_ADMIN_GET_LAYOUTS_ZONE_CONFIGURATION
Retrieve a list of layout configurations for a specific zone. These are the configurations made by the users for their admin dashboard layouts.
Layouts
List Locales
MEDUSA_ADMIN_GET_LOCALES
Retrieve a list of locales. The locales can be filtered by fields such as `code`. The locales can also be sorted or paginated.
Locales
Get a Locale
MEDUSA_ADMIN_GET_LOCALES_CODE
Retrieve a locale by its code. You can expand the locale's relations or select the fields that should be returned.
Locales
List Notifications
MEDUSA_ADMIN_GET_NOTIFICATIONS
Retrieve a list of notifications. The notifications can be filtered by fields such as `id`. The notifications can also be sorted or paginated.
Notifications
Get a Notification
MEDUSA_ADMIN_GET_NOTIFICATIONS_ID
Retrieve a notification by its ID. You can expand the notification's relations or select the fields that should be returned.
Notifications
List Orders
MEDUSA_ADMIN_GET_ORDERS
Retrieve a list of orders. The orders can be filtered by fields such as `id`. The orders can also be sorted or paginated.
Orders
Get an Order
MEDUSA_ADMIN_GET_ORDERS_ID
Retrieve an order by its ID. You can expand the order's relations or select the fields that should be returned.
Orders
List Changes on an Order
MEDUSA_ADMIN_GET_ORDERS_ID_CHANGES
Retrieve a list of changes made on an order, including returns, exchanges, etc... The changes can be filtered by fields like `created_at`. The changes can also be paginated.
Orders
List Line Items
MEDUSA_ADMIN_GET_ORDERS_ID_LINE_ITEMS
Retrieve a list of line items in a order. The line items can be filtered by fields like FILTER FIELDS. The line items can also be paginated.
Orders
Get Preview
MEDUSA_ADMIN_GET_ORDERS_ID_PREVIEW
Retrieve a preview of an order using its associated change, such as an edit.
Orders
List Shipping Options for Order
MEDUSA_ADMIN_GET_ORDERS_ID_SHIPPING_OPTIONS
Retrieve a list of shipping options that can be used for outbound shipping in an order. This is especially useful when adding outbound shipping to order exchanges or claims.
Orders
List Payments
MEDUSA_ADMIN_GET_PAYMENTS
Retrieve a list of payments. The payments can be filtered by fields such as `id`. The payments can also be sorted or paginated.
Payments
Get a Payment
MEDUSA_ADMIN_GET_PAYMENTS_ID
Retrieve a payment by its ID. You can expand the payment's relations or select the fields that should be returned.
Payments
List Payment Providers
MEDUSA_ADMIN_GET_PAYMENTS_PAYMENT_PROVIDERS
Retrieve a list of payment providers. The payment providers can be filtered by fields such as `id`. The payment providers can also be sorted or paginated.
Payments
List Plugins
MEDUSA_ADMIN_GET_PLUGINS
Retrieve the list of plugins installed in the Medusa application.
Plugins
List Price Lists
MEDUSA_ADMIN_GET_PRICE_LISTS
Retrieve a list of price lists. The price lists can be filtered by fields such as `id`. The price lists can also be sorted or paginated.
Price Lists
Get a Price List
MEDUSA_ADMIN_GET_PRICE_LISTS_ID
Retrieve a price list by its ID. You can expand the price list's relations or select the fields that should be returned.
Price Lists
List Prices for a Price List
MEDUSA_ADMIN_GET_PRICE_LISTS_ID_PRICES
Retrieve a list of prices in a price list. The prices can be filtered by fields like FILTER FIELDS. The prices can also be paginated.
Price Lists
List Price Preferences
MEDUSA_ADMIN_GET_PRICE_PREFERENCES
Retrieve a list of price preferences. The price preferences can be filtered by fields such as `id`. The price preferences can also be sorted or paginated.
Price Preferences
Get a Price Preference
MEDUSA_ADMIN_GET_PRICE_PREFERENCES_ID
Retrieve a price preference by its ID. You can expand the price preference's relations or select the fields that should be returned.
Price Preferences
List Products
MEDUSA_ADMIN_GET_PRODUCTS
Retrieve a list of products. The products can be filtered by fields such as `id`. The products can also be sorted or paginated.
Products
Get a Product
MEDUSA_ADMIN_GET_PRODUCTS_ID
Retrieve a product by its ID. You can expand the product's relations or select the fields that should be returned.
Products
List a Product's Options
MEDUSA_ADMIN_GET_PRODUCTS_ID_OPTIONS
Retrieve a list of options of a product. The options can be filtered by fields like `id`. The options can also be paginated.
Products
List Variants of a Product
MEDUSA_ADMIN_GET_PRODUCTS_ID_VARIANTS
Retrieve a list of variants in a product. The variants can be filtered by fields like FILTER FIELDS. The variants can also be paginated.
Products
Get Variant of a Product
MEDUSA_ADMIN_GET_PRODUCTS_ID_VARIANTS_VARIANT_ID
Retrieve a product's variant by its ID.
Products
List Product Categories
MEDUSA_ADMIN_GET_PRODUCT_CATEGORIES
Retrieve a list of product categories. The product categories can be filtered by fields such as `id`. The product categories can also be sorted or paginated.
Product Categories
Get a Product Category
MEDUSA_ADMIN_GET_PRODUCT_CATEGORIES_ID
Retrieve a product category by its ID. You can expand the product category's relations or select the fields that should be returned.
Product Categories
List Product Options
MEDUSA_ADMIN_GET_PRODUCT_OPTIONS
Retrieve a list of product options. The product options can be filtered by fields such as `id`. The product options can also be sorted or paginated.
Product Options
Get a Product Option
MEDUSA_ADMIN_GET_PRODUCT_OPTIONS_ID
Retrieve a product option by its ID. You can expand the product option's relations or select the fields that should be returned.
Product Options
List Product Option Values
MEDUSA_ADMIN_GET_PRODUCT_OPTIONS_ID_VALUES
Retrieve a list of values in a product option. The values can be filtered by fields like `id`. The values can also be paginated.
Product Options
Get Product Option Value
MEDUSA_ADMIN_GET_PRODUCT_OPTIONS_ID_VALUES_VALUE_ID
Get a product option value by its ID.
Product Options
List Product Tags
MEDUSA_ADMIN_GET_PRODUCT_TAGS
Retrieve a list of product tags. The product tags can be filtered by fields such as `id`. The product tags can also be sorted or paginated.
Product Tags
Get a Product Tag
MEDUSA_ADMIN_GET_PRODUCT_TAGS_ID
Retrieve a product tag by its ID. You can expand the product tag's relations or select the fields that should be returned.
Product Tags
List Product Types
MEDUSA_ADMIN_GET_PRODUCT_TYPES
Retrieve a list of product types. The product types can be filtered by fields such as `id`. The product types can also be sorted or paginated.
Product Types
Get a Product Type
MEDUSA_ADMIN_GET_PRODUCT_TYPES_ID
Retrieve a product type by its ID. You can expand the product type's relations or select the fields that should be returned.
Product Types
List Product Variants
MEDUSA_ADMIN_GET_PRODUCT_VARIANTS
Retrieve a list of product variants. The product variants can be filtered by fields such as `id`. The product variants can also be sorted or paginated.
Product Variants
List Promotions
MEDUSA_ADMIN_GET_PROMOTIONS
Retrieve a list of promotions. The promotions can be filtered by fields such as `id`. The promotions can also be sorted or paginated.
Promotions
Get a Promotion
MEDUSA_ADMIN_GET_PROMOTIONS_ID
Retrieve a promotion by its ID. You can expand the promotion's relations or select the fields that should be returned.
Promotions
List Rules of a Promotion
MEDUSA_ADMIN_GET_PROMOTIONS_ID_RULE_TYPE
Retrieve a list of rules in a promotion. The type of rules retrieved depend on the value of the `rule_type` path parameter: - If `rule_type` is `rules`, the promotion's rules are retrivied. - If `rule_type` is `target-rules`, the target rules of the promotion's application method are retrieved. - If `rule_type` is `buy-rules`, the buy rules of the promotion's application method are retrieved.
Promotions
List Rule Attribute Options of a Rule Type
MEDUSA_ADMIN_GET_PROMOTIONS_RULE_ATTRIBUTE_OPTIONS_RULE_TYPE
Retrieve a list of potential rule attributes for the promotion and application method types specified in the query parameters. Only the attributes of the rule type specified in the path parameter are retrieved: - If `rule_type` is `rules`, the attributes of the promotion's type are retrieved. - If `rule_type` is `target-rules`, the target rules' attributes of the application method's type are retrieved. - If `rule_type` is `buy-rules`, the buy rules' attributes of the application method's type are retrieved.
Promotions
List Rule Values Given a Rule Attribute
MEDUSA_ADMIN_GET_PROMOTIONS_RULE_VALUE_OPTIONS_RULE_TYPE_RULE_ATTRIBUTE_ID
Retrieve all potential values for promotion rules and target and buy rules based on the specified rule attribute and type. For example, if you provide the ID of the `currency_code` rule attribute, and set `rule_type` to `rules`, a list of currencies are retrieved in label-value pairs.
Promotions
List Property Labels
MEDUSA_ADMIN_GET_PROPERTY_LABELS
Retrieve a list of property labels. The property labels can be filtered by fields such as `id`. The property labels can also be sorted or paginated.
Property Labels
Get a Property Label
MEDUSA_ADMIN_GET_PROPERTY_LABELS_ID
Retrieve a property label by its ID.
Property Labels
List Refund Reasons
MEDUSA_ADMIN_GET_REFUND_REASONS
Retrieve a list of refund reasons. The refund reasons can be filtered by fields such as `id`. The refund reasons can also be sorted or paginated.
Refund Reasons
Get a Refund Reason
MEDUSA_ADMIN_GET_REFUND_REASONS_ID
Retrieve a refund reason by its ID. You can expand the refund reason's relations or select the fields that should be returned.
Refund Reasons
List Regions
MEDUSA_ADMIN_GET_REGIONS
Retrieve a list of regions. The regions can be filtered by fields such as `id`. The regions can also be sorted or paginated.
Regions
Get a Region
MEDUSA_ADMIN_GET_REGIONS_ID
Retrieve a region by its ID. You can expand the region's relations or select the fields that should be returned.
Regions
List Reservations
MEDUSA_ADMIN_GET_RESERVATIONS
Retrieve a list of reservations. The reservations can be filtered by fields such as `id`. The reservations can also be sorted or paginated.
Reservations
Get a Reservation
MEDUSA_ADMIN_GET_RESERVATIONS_ID
Retrieve a reservation by its ID. You can expand the reservation's relations or select the fields that should be returned.
Reservations
List Returns
MEDUSA_ADMIN_GET_RETURNS
Retrieve a list of returns. The returns can be filtered by fields such as `id`. The returns can also be sorted or paginated.
Returns
Get a Return
MEDUSA_ADMIN_GET_RETURNS_ID
Retrieve a return by its ID. You can expand the return's relations or select the fields that should be returned.
Returns
List Return Reasons
MEDUSA_ADMIN_GET_RETURN_REASONS
Retrieve a list of return reasons. The return reasons can be filtered by fields such as `id`. The return reasons can also be sorted or paginated.
Return Reasons
Get a Return Reason
MEDUSA_ADMIN_GET_RETURN_REASONS_ID
Retrieve a return reason by its ID. You can expand the return reason's relations or select the fields that should be returned.
Return Reasons
List Sales Channels
MEDUSA_ADMIN_GET_SALES_CHANNELS
Retrieve a list of sales channels. The sales channels can be filtered by fields such as `id`. The sales channels can also be sorted or paginated.
Sales Channels
Get a Sales Channel
MEDUSA_ADMIN_GET_SALES_CHANNELS_ID
Retrieve a sales channel by its ID. You can expand the sales channel's relations or select the fields that should be returned.
Sales Channels
List Shipping Options
MEDUSA_ADMIN_GET_SHIPPING_OPTIONS
Retrieve a list of shipping options. The shipping options can be filtered by fields such as `id`. The shipping options can also be sorted or paginated.
Shipping Options
Get a Shipping Option
MEDUSA_ADMIN_GET_SHIPPING_OPTIONS_ID
Retrieve a shipping option by its ID. You can expand the shipping option's relations or select the fields that should be returned.
Shipping Options
List Shipping Option Types
MEDUSA_ADMIN_GET_SHIPPING_OPTION_TYPES
Retrieve a list of shipping option types. The shipping option types can be filtered by fields such as `id`. The shipping option types can also be sorted or paginated.
Shipping Option Types
Get a Shipping Option Type
MEDUSA_ADMIN_GET_SHIPPING_OPTION_TYPES_ID
Retrieve a shipping option type by its ID. You can expand the shipping option type's relations or select the fields that should be returned.
Shipping Option Types
List Shipping Profiles
MEDUSA_ADMIN_GET_SHIPPING_PROFILES
Retrieve a list of shipping profiles. The shipping profiles can be filtered by fields such as `id`. The shipping profiles can also be sorted or paginated.
Shipping Profiles
Get a Shipping Profile
MEDUSA_ADMIN_GET_SHIPPING_PROFILES_ID
Retrieve a shipping profile by its ID. You can expand the shipping profile's relations or select the fields that should be returned.
Shipping Profiles
List Stock Locations
MEDUSA_ADMIN_GET_STOCK_LOCATIONS
Retrieve a list of stock locations. The stock locations can be filtered by fields such as `id`. The stock locations can also be sorted or paginated.
Stock Locations
Get a Stock Location
MEDUSA_ADMIN_GET_STOCK_LOCATIONS_ID
Retrieve a stock location by its ID. You can expand the stock location's relations or select the fields that should be returned.
Stock Locations
List Stores
MEDUSA_ADMIN_GET_STORES
Retrieve a list of stores. The stores can be filtered by fields such as `id`. The stores can also be sorted or paginated.
Stores
Get a Store
MEDUSA_ADMIN_GET_STORES_ID
Retrieve a store by its ID. You can expand the store's relations or select the fields that should be returned.
Stores
List Store Credit Accounts
MEDUSA_ADMIN_GET_STORE_CREDIT_ACCOUNTS
Retrieve a list of store credit accounts. The store credit accounts can be filtered by fields such as `id`. The store credit accounts can also be sorted or paginated.
Store Credit Accounts
Get a Store Credit Account
MEDUSA_ADMIN_GET_STORE_CREDIT_ACCOUNTS_ID
Retrieve a store credit account by its ID. You can expand the store credit account's relations or select the fields that should be returned.
Store Credit Accounts
List Transactions
MEDUSA_ADMIN_GET_STORE_CREDIT_ACCOUNTS_ID_TRANSACTIONS
Retrieve a list of transactions in a store credit account. The transactions can be filtered by fields like FILTER FIELDS. The transactions can also be paginated.
Store Credit Accounts
List Tax Providers
MEDUSA_ADMIN_GET_TAX_PROVIDERS
Retrieve a list of tax providers installed in the Medusa application through Tax Module Providers. The tax providers can be filtered by fields such as `id`. The tax providers can also be sorted or paginated.
Tax Providers
List Tax Rates
MEDUSA_ADMIN_GET_TAX_RATES
Retrieve a list of tax rates. The tax rates can be filtered by fields such as `id`. The tax rates can also be sorted or paginated.
Tax Rates
Get a Tax Rate
MEDUSA_ADMIN_GET_TAX_RATES_ID
Retrieve a tax rate by its ID. You can expand the tax rate's relations or select the fields that should be returned.
Tax Rates
List Tax Regions
MEDUSA_ADMIN_GET_TAX_REGIONS
Retrieve a list of tax regions. The tax regions can be filtered by fields such as `id`. The tax regions can also be sorted or paginated.
Tax Regions
Get a Tax Region
MEDUSA_ADMIN_GET_TAX_REGIONS_ID
Retrieve a tax region by its ID. You can expand the tax region's relations or select the fields that should be returned.
Tax Regions
List Translations
MEDUSA_ADMIN_GET_TRANSLATIONS
Retrieve a list of translations. The translations can be filtered by fields such as `reference_id` (For example, the ID of a product). The translations can also be sorted or paginated.
Translations
List Translatable Entities
MEDUSA_ADMIN_GET_TRANSLATIONS_ENTITIES
Retrieve a list of translatable entities. The entities can be filtered by fields such as `id`. The entities can also be sorted or paginated.
Translations
List Translation Settings
MEDUSA_ADMIN_GET_TRANSLATIONS_SETTINGS
Retrieve the list of translatable fields for all entities, such as products and collections. You can also filter the results by entity type or active entities.
Translations
Retrieve Translation Statistics
MEDUSA_ADMIN_GET_TRANSLATIONS_STATISTICS
Get statistics on translations for specified locales and entity types. This includes overall translation progress for each entity type, and statistics for each locale within those entity types.
Translations
Get a File
MEDUSA_ADMIN_GET_UPLOADS_ID
Retrieve an uploaded file by its ID. You can expand the file's relations or select the fields that should be returned.
Uploads
List Users
MEDUSA_ADMIN_GET_USERS
Retrieve a list of users. The users can be filtered by fields such as `id`. The users can also be sorted or paginated.
Users
Get a User
MEDUSA_ADMIN_GET_USERS_ID
Retrieve a user by its ID. You can expand the user's relations or select the fields that should be returned.
Users
Get Logged-In User
MEDUSA_ADMIN_GET_USERS_ME
Retrieve the logged-in user's details.
Users
List Views
MEDUSA_ADMIN_GET_VIEWS_ENTITIES
Retrieve a list of views. The views can be filtered by fields such as `id`. The views can also be sorted or paginated.
Views
List Columns in View
MEDUSA_ADMIN_GET_VIEWS_ENTITY_COLUMNS
Retrieve a list of columns in a view for an entity. The columns are retrieved for the authenticated admin user.
Views
List View Configurations
MEDUSA_ADMIN_GET_VIEWS_ENTITY_CONFIGURATIONS
Retrieve a list of view configurations of an entity. The configurations can be filtered by fields like `id`. The configurations can also be paginated. An admin user can only retrieve their own configurations.
Views
Get Active View Configuration
MEDUSA_ADMIN_GET_VIEWS_ENTITY_CONFIGURATIONS_ACTIVE
Get the active view configurations for an entity. If no active view is set, `null` is returned. An admin user can only retrieve their own active configuration.
Views
Get View Configuration
MEDUSA_ADMIN_GET_VIEWS_ENTITY_CONFIGURATIONS_ID
Retrieve a view configuration for an entity. An admin user can only retrieve their own configurations.
Views
List Workflows Executions
MEDUSA_ADMIN_GET_WORKFLOWS_EXECUTIONS
Retrieve a list of workflows executions. The workflows executions can be filtered by fields such as `id`. The workflows executions can also be sorted or paginated.
Workflows Executions
Get a Workflows Execution
MEDUSA_ADMIN_GET_WORKFLOWS_EXECUTIONS_ID
Retrieve a workflows execution by its ID. You can expand the workflows execution's relations or select the fields that should be returned.
Workflows Executions
Subscribe to a Workflow's Execution
MEDUSA_ADMIN_GET_WORKFLOWS_EXECUTIONS_WORKFLOW_ID_SUBSCRIBE
Subscribe to a workflow's execution to receive real-time information about its steps, status, and data. This route returns an event stream that you can consume using the [EventSource API](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).
Workflows Executions
Get Workflow Execution's Details
MEDUSA_ADMIN_GET_WORKFLOWS_EXECUTIONS_WORKFLOW_ID_TRANSACTION_ID
Get the details of the workflow's execution.
Workflows Executions
Subscribe to Workflow Execution Events
MEDUSA_ADMIN_GET_WORKFLOWS_EXECUTIONS_WORKFLOW_ID_TRANSACTION_ID_SUBSCRIBE
Subscribe to workflow execution events for a specific workflow and transaction. This endpoint establishes a Server-Sent Events (SSE) connection, allowing clients to receive real-time updates about the workflow execution. The events include details such as the event type, workflow ID, transaction ID, step information, response, result, and any errors that occur during the execution.
Workflows Executions
Create Campaign
MEDUSA_ADMIN_POST_CAMPAIGNS
Create a campaign.
Campaigns
Update a Campaign
MEDUSA_ADMIN_POST_CAMPAIGNS_ID
Update a campaign's details.
Campaigns
Manage the Promotions of a Campaign
MEDUSA_ADMIN_POST_CAMPAIGNS_ID_PROMOTIONS
Manage the promotions of a campaign, either by adding them or removing them from the campaign.
Campaigns
Create a Claim
MEDUSA_ADMIN_POST_CLAIMS
Create a claim. The claim is still in the request state, and the changes are only applied on the order once the claim is confirmed.
Claims
Cancel a Claim
MEDUSA_ADMIN_POST_CLAIMS_ID_CANCEL
Cancel a claim and its associated return.
Claims
Add Claim Items to a Claim
MEDUSA_ADMIN_POST_CLAIMS_ID_CLAIM_ITEMS
Add order items to a claim as claim items. These claim items will have the action `WRITE_OFF_ITEM`.
Claims
Update a Claim Item
MEDUSA_ADMIN_POST_CLAIMS_ID_CLAIM_ITEMS_ACTION_ID
Update an order item in a claim by the ID of the item's `WRITE_OFF_ITEM` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Claims
Add Inbound Items to a Claim
MEDUSA_ADMIN_POST_CLAIMS_ID_INBOUND_ITEMS
Add inbound (or return) items to a claim. These inbound items will have a `RETURN_ITEM` action.
Claims
Update Inbound Items of a Claim
MEDUSA_ADMIN_POST_CLAIMS_ID_INBOUND_ITEMS_ACTION_ID
Update an inbound (or return) item of a claim using the `ID` of the item's `RETURN_ITEM` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Claims
Add an Inbound Shipping Method to a Claim
MEDUSA_ADMIN_POST_CLAIMS_ID_INBOUND_SHIPPING_METHOD
Add an inbound (or return) shipping method to a claim. The inbound shipping method will have a `SHIPPING_ADD` action.
Claims
Update Inbound Shipping Method of a Claim
MEDUSA_ADMIN_POST_CLAIMS_ID_INBOUND_SHIPPING_METHOD_ACTION_ID
Update the shipping method for returning items in the claim using the `ID` of the method's `SHIPPING_ADD` action. Every shipping method has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Claims
Add Outbound Items to a Claim
MEDUSA_ADMIN_POST_CLAIMS_ID_OUTBOUND_ITEMS
Add outbound (or new) items to a claim. These outbound items will have an `ITEM_ADD` action.
Claims
Update Outbound Item of a Claim
MEDUSA_ADMIN_POST_CLAIMS_ID_OUTBOUND_ITEMS_ACTION_ID
Update an outbound (or new) item of a claim using the `ID` of the item's `ITEM_ADD` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Claims
Add Outbound Shipping Methods to a Claim
MEDUSA_ADMIN_POST_CLAIMS_ID_OUTBOUND_SHIPPING_METHOD
Add an outbound shipping method to a claim. The outbound shipping method will have a `SHIPPING_ADD` action.
Claims
Update Outbound Shipping Method of a Claim
MEDUSA_ADMIN_POST_CLAIMS_ID_OUTBOUND_SHIPPING_METHOD_ACTION_ID
Update the shipping method for delivering outbound items in a claim using the `ID` of the method's `SHIPPING_ADD` action. Every shipping method has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Claims
Confirm a Claim Request
MEDUSA_ADMIN_POST_CLAIMS_ID_REQUEST
Confirm a claim request, applying its changes on the associated order.
Claims
Create Collection
MEDUSA_ADMIN_POST_COLLECTIONS
Create a collection.
Collections
Update a Collection
MEDUSA_ADMIN_POST_COLLECTIONS_ID
Update a collection's details.
Collections
Manage Products of a Collection
MEDUSA_ADMIN_POST_COLLECTIONS_ID_PRODUCTS
Manage the products of a collection by adding or removing them from the collection.
Collections
Create Customer
MEDUSA_ADMIN_POST_CUSTOMERS
Create a customer.
Customers
Update a Customer
MEDUSA_ADMIN_POST_CUSTOMERS_ID
Update a customer's details.
Customers
Add a Customer Address
MEDUSA_ADMIN_POST_CUSTOMERS_ID_ADDRESSES
Add an address to a customer.
Customers
Update a Customer's Address
MEDUSA_ADMIN_POST_CUSTOMERS_ID_ADDRESSES_ADDRESS_ID
Update a customer address's details.
Customers
Manage Customer Groups of Customer
MEDUSA_ADMIN_POST_CUSTOMERS_ID_CUSTOMER_GROUPS
Manage the customer groups of a customer, adding or removing the customer from those groups.
Customers
Create Customer Group
MEDUSA_ADMIN_POST_CUSTOMER_GROUPS
Create a customer group.
Customer Groups
Update a Customer Group
MEDUSA_ADMIN_POST_CUSTOMER_GROUPS_ID
Update a customer group's details.
Customer Groups
Manage Customers of a Customer Group
MEDUSA_ADMIN_POST_CUSTOMER_GROUPS_ID_CUSTOMERS
Manage the customers of a group to add or remove them from the group.
Customer Groups
Create Draft Order
MEDUSA_ADMIN_POST_DRAFT_ORDERS
Create a draft order. This creates an order with the `is_draft_order` property enabled. You can later convert the draft order to an order.
Draft Orders
Update a Draft Order
MEDUSA_ADMIN_POST_DRAFT_ORDERS_ID
Update a draft order's details. This doesn't include updating the draft order's items, shipping methods, or promotions. To update those, you need to create an edit that you can later request or confirm.
Draft Orders
Convert a Draft Order to an Order
MEDUSA_ADMIN_POST_DRAFT_ORDERS_ID_CONVERT_TO_ORDER
Convert a draft order to an order. This will finalize the draft order and create a new order with the same details.
Draft Orders
Create a Draft Order Edit
MEDUSA_ADMIN_POST_DRAFT_ORDERS_ID_EDIT
Create an edit on a draft order. This will allow you to make changes to the draft order's items, shipping methods, or promotions. Once you've made the necessar changes, you can later either request the edit (which requires a confirmation from the customer), or force-confirm the edit.
Draft Orders
Confirm an Edit on a Draft Order
MEDUSA_ADMIN_POST_DRAFT_ORDERS_ID_EDIT_CONFIRM
Confirm an edit on a draft order. This will apply the changes made to the draft order.
Draft Orders
Add Item to Draft Order Edit
MEDUSA_ADMIN_POST_DRAFT_ORDERS_ID_EDIT_ITEMS
Add an item to a draft order edit.
Draft Orders
Update New Item in Draft Order Edit
MEDUSA_ADMIN_POST_DRAFT_ORDERS_ID_EDIT_ITEMS_ACTION_ID
Update a new item that was added to a draft order edit by the ID of the item's `ITEM_ADD` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Draft Orders
Update Existing Item in Draft Order Edit
MEDUSA_ADMIN_POST_DRAFT_ORDERS_ID_EDIT_ITEMS_ITEM_ITEM_ID
Update an existing item in a draft order edit.
Draft Orders
Add Promotions to Draft Order Edit
MEDUSA_ADMIN_POST_DRAFT_ORDERS_ID_EDIT_PROMOTIONS
Add promotions to a draft order edit.
Draft Orders
Request Edit on Draft Order
MEDUSA_ADMIN_POST_DRAFT_ORDERS_ID_EDIT_REQUEST
Change the status of a draft order's edit to be requested. Later, the edit can be confirmed or canceled.
Draft Orders
Add Shipping Method to Draft Order Edit
MEDUSA_ADMIN_POST_DRAFT_ORDERS_ID_EDIT_SHIPPING_METHODS
Add a shipping method to a draft order edit.
Draft Orders
Update New Shipping Method in Draft Order Edit
MEDUSA_ADMIN_POST_DRAFT_ORDERS_ID_EDIT_SHIPPING_METHODS_ACTION_ID
Update a new shipping method that was added to a draft order edit using the `ID` of the method's `SHIPPING_ADD` action. Every shipping method has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Draft Orders
Update Existing Shipping Method in Draft Order Edit
MEDUSA_ADMIN_POST_DRAFT_ORDERS_ID_EDIT_SHIPPING_METHODS_METHOD_METHOD_ID
Update an existing shipping method in a draft order edit.
Draft Orders
Create Exchange
MEDUSA_ADMIN_POST_EXCHANGES
Create an exchange request. Its changes aren't applied on the order until the exchange is confirmed.
Exchanges
Cancel an Exchange
MEDUSA_ADMIN_POST_EXCHANGES_ID_CANCEL
Cancel an exchange and its associated return.
Exchanges
Add Inbound Items to an Exchange
MEDUSA_ADMIN_POST_EXCHANGES_ID_INBOUND_ITEMS
Add inbound (or return) items to an exchange. These inbound items will have the action `RETURN_ITEM`.
Exchanges
Update an Inbount Item of an Exchange
MEDUSA_ADMIN_POST_EXCHANGES_ID_INBOUND_ITEMS_ACTION_ID
Update an inbound (or return) item from an exchange using the `ID` of the item's `RETURN_ITEM` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Exchanges
Add an Inbound Shipping Method to an Exchange
MEDUSA_ADMIN_POST_EXCHANGES_ID_INBOUND_SHIPPING_METHOD
Add an inbound (or return) shipping method to an exchange. The inbound shipping method will have a `SHIPPING_ADD` action.
Exchanges
Update Inbound Shipping Method of an Exchange
MEDUSA_ADMIN_POST_EXCHANGES_ID_INBOUND_SHIPPING_METHOD_ACTION_ID
Update the shipping method for returning items in the exchange using the `ID` of the method's `SHIPPING_ADD` action. Every shipping method has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Exchanges
Add Outbound Items to Exchange
MEDUSA_ADMIN_POST_EXCHANGES_ID_OUTBOUND_ITEMS
Add outbound (or new) items to an exchange. These outbound items will have the action `ITEM_ADD`.
Exchanges
Update Outbound Item of an Exchange
MEDUSA_ADMIN_POST_EXCHANGES_ID_OUTBOUND_ITEMS_ACTION_ID
Update an outbound (or new) item from an exchange using the `ID` of the item's `ITEM_ADD` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Exchanges
Add Outbound Shipping Method to Exchange
MEDUSA_ADMIN_POST_EXCHANGES_ID_OUTBOUND_SHIPPING_METHOD
Add an outbound shipping method to an exchange. The outbound shipping method will have a `SHIPPING_ADD` action.
Exchanges
Update Outbound Shipping Method of Exchange
MEDUSA_ADMIN_POST_EXCHANGES_ID_OUTBOUND_SHIPPING_METHOD_ACTION_ID
Update the shipping method for delivering outbound items in the exchange using the `ID` of the method's `SHIPPING_ADD` action. Every shipping method has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Exchanges
Confirm an Exchange
MEDUSA_ADMIN_POST_EXCHANGES_ID_REQUEST
Confirm an exchange request, applying its changes on the associated order.
Exchanges
Create Fulfillment
MEDUSA_ADMIN_POST_FULFILLMENTS
Create a fulfillment for an order, return, exchange, and more.
Fulfillments
Cancel a Fulfillment
MEDUSA_ADMIN_POST_FULFILLMENTS_ID_CANCEL
Cancel a fulfillment. The fulfillment can't be shipped or delivered. To cancel the fulfillment, the `cancelFulfillment` method of the associated fulfillment provider is used.
Fulfillments
Create a Shipment for a Fulfillment
MEDUSA_ADMIN_POST_FULFILLMENTS_ID_SHIPMENT
Create a shipment for a fulfillment. The fulfillment must not be shipped or canceled.
Fulfillments
Add a Service Zone to a Fulfillment Set
MEDUSA_ADMIN_POST_FULFILLMENT_SETS_ID_SERVICE_ZONES
Add a service zone to a fulfillment set.
Fulfillment Sets
Update the Service Zone of a Fulfillment Set
MEDUSA_ADMIN_POST_FULFILLMENT_SETS_ID_SERVICE_ZONES_ZONE_ID
Update the details of a service zone in a fulfillment set.
Fulfillment Sets
Create Gift Card
MEDUSA_ADMIN_POST_GIFT_CARDS
Create a gift card.
Gift Cards
Update a Gift Card
MEDUSA_ADMIN_POST_GIFT_CARDS_ID
Update a gift card's details.
Gift Cards
Trigger Index Sync
MEDUSA_ADMIN_POST_INDEX_SYNC
Trigger reindexing or re-ingestion of the Index Module.
Index
Create Inventory Item
MEDUSA_ADMIN_POST_INVENTORY_ITEMS
Create an inventory item.
Inventory Items
Export Inventory Items
MEDUSA_ADMIN_POST_INVENTORY_ITEMS_EXPORT
Start an inventory items export process to retrieve a CSV of exported inventory items. You'll receive in the response the transaction ID of the workflow generating the CSV file. To check the status of the execution, send a GET request to `/admin/workflows-executions/export-inventory-items/:transaction-id`. Once the execution finishes successfully, a notification is created for the export. You can retrieve the notifications using the `/admin/notification` API route to retrieve the file's download URL.
Inventory Items
Update an Inventory Item
MEDUSA_ADMIN_POST_INVENTORY_ITEMS_ID
Update an inventory item's details.
Inventory Items
Create Inventory Level for Inventory Item
MEDUSA_ADMIN_POST_INVENTORY_ITEMS_ID_LOCATION_LEVELS
Create an inventory level for an inventory item.
Inventory Items
Manage Inventory Levels of Inventory Item
MEDUSA_ADMIN_POST_INVENTORY_ITEMS_ID_LOCATION_LEVELS_BATCH
Manage the inventory levels of an inventory item to create or delete them.
Inventory Items
Update an Inventory Level of an Inventory Item
MEDUSA_ADMIN_POST_INVENTORY_ITEMS_ID_LOCATION_LEVELS_LOCATION_ID
Updates the details of an inventory item's inventory level using its associated location ID.
Inventory Items
Manage Inventory Levels
MEDUSA_ADMIN_POST_INVENTORY_ITEMS_LOCATION_LEVELS_BATCH
Manage inventory levels to create, update, or delete them.
Inventory Items
Create Invite
MEDUSA_ADMIN_POST_INVITES
Create a invite.
Invites
Accept Invite
MEDUSA_ADMIN_POST_INVITES_ACCEPT
Accept an invite and create a new user. Since the user isn't created yet, the JWT token used in the authorization header is retrieved from the `/auth/user/emailpass/register` API route (or a provider other than `emailpass`). The user can then authenticate using the `/auth/user/emailpass` API route.
Invites
Refresh Invite Token
MEDUSA_ADMIN_POST_INVITES_ID_RESEND
Refresh the token of an invite.
Invites
Add Layout Configuration
MEDUSA_ADMIN_POST_LAYOUTS_ZONE_CONFIGURATION
Add a layout configuration for a specific zone. This allows you to customize the layout of the admin dashboard for that zone, including the arrangement of widgets and other UI elements.
Layouts
Export Orders
MEDUSA_ADMIN_POST_ORDERS_EXPORT
Start an order export process to retrieve a CSV of exported orders. You'll receive in the response the transaction ID of the workflow generating the CSV file. To check the status of the execution, send a GET request to `/admin/workflows-executions/export-orders/:transaction-id`. Once the execution finishes successfully, a notification is created for the export. You can retrieve the notifications using the `/admin/notification` API route to retrieve the file's download URL.
Orders
Update Order
MEDUSA_ADMIN_POST_ORDERS_ID
Update an order's details. Updating the order's shipping or billing address doesn't recalculate the order's taxes or totals; the existing tax lines are preserved as-is. You also can't change the address's `country_code`.
Orders
Archive an Order
MEDUSA_ADMIN_POST_ORDERS_ID_ARCHIVE
Change the status of an order to archived.
Orders
Cancel Order
MEDUSA_ADMIN_POST_ORDERS_ID_CANCEL
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.
Orders
Complete Order
MEDUSA_ADMIN_POST_ORDERS_ID_COMPLETE
Mark an order as completed.
Orders
Create Credit Line for Order
MEDUSA_ADMIN_POST_ORDERS_ID_CREDIT_LINES
Create a credit line for an order.
Orders
Create an Order Fulfillment
MEDUSA_ADMIN_POST_ORDERS_ID_FULFILLMENTS
Create a fulfillment for an order. The creation fails if the order is canceled.
Orders
Cancel Fulfillment
MEDUSA_ADMIN_POST_ORDERS_ID_FULFILLMENTS_FULFILLMENT_ID_CANCEL
Cancel an order's fulfillment. The fulfillment can't be canceled if it's shipped.
Orders
Mark a Fulfillment as Delivered.
MEDUSA_ADMIN_POST_ORDERS_ID_FULFILLMENTS_FULFILLMENT_ID_MARK_AS_DELIVERED
Mark an order's fulfillment as delivered.
Orders
Create Shipment for an Order's Fulfillment
MEDUSA_ADMIN_POST_ORDERS_ID_FULFILLMENTS_FULFILLMENT_ID_SHIPMENTS
Create a shipment for an order's fulfillment.
Orders
Authorize Payment Session
MEDUSA_ADMIN_POST_ORDERS_ID_PAYMENT_SESSIONS_AUTHORIZE
Authorize a payment session for an order. This is useful for orders created from draft orders.
Orders
Request Order Transfer
MEDUSA_ADMIN_POST_ORDERS_ID_TRANSFER
Request an order to be transfered to another customer. The transfer is confirmed by sending a request to the [Accept Order Transfer](https://docs.medusajs.com/api/store#orders_postordersidtransferaccept) Store API route.
Orders
Cancel Transfer Request
MEDUSA_ADMIN_POST_ORDERS_ID_TRANSFER_CANCEL
Cancel a request to transfer an order to another customer.
Orders
Transfer Order to Guest Customer
MEDUSA_ADMIN_POST_ORDERS_ID_TRANSFER_GUEST
Transfer an order to a guest customer. This is useful when the order email was incorrectly entered and you want to set it to a guest customer. The order will be transferred to a new guest customer with the provided email. For transferring orders to registered customer, check out the [Request Order Transfer](https://docs.medusajs.com/api/admin#orders_postordersidtransfer) API route instead.
Orders
Update an Order Change
MEDUSA_ADMIN_POST_ORDER_CHANGES_ID
Update an order change's details. An order change can be an exchange, claim, or edit. For example, you can edit whether an exchange carries over the parent order's promotion.
Order Changes
Create Order Edit
MEDUSA_ADMIN_POST_ORDER_EDITS
Create an order edit.
Order Edits
Confirm Order Edit
MEDUSA_ADMIN_POST_ORDER_EDITS_ID_CONFIRM
Confirm an order edit request and apply the changes on the order.
Order Edits
Add Items to Order Edit
MEDUSA_ADMIN_POST_ORDER_EDITS_ID_ITEMS
Add new items to an order edit. These items will have the action `ITEM_ADD`.
Order Edits
Update an Item in an Order Edit
MEDUSA_ADMIN_POST_ORDER_EDITS_ID_ITEMS_ACTION_ID
Update an added item in the order edit by the ID of the item's `ITEM_ADD` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Order Edits
Update Order Item Quantity of Order Edit
MEDUSA_ADMIN_POST_ORDER_EDITS_ID_ITEMS_ITEM_ITEM_ID
Update an existing order item's quantity of an order edit. You can also use this API route to remove an item from an order by setting its quantity to `0`.
Order Edits
Request Order Edit
MEDUSA_ADMIN_POST_ORDER_EDITS_ID_REQUEST
Change the status of an active order edit to requested.
Order Edits
Add Shipping Method to Order Edit
MEDUSA_ADMIN_POST_ORDER_EDITS_ID_SHIPPING_METHOD
Add a shipping method to an exchange. The shipping method will have a `SHIPPING_ADD` action.
Order Edits
Update Shipping Method of an Order Edit
MEDUSA_ADMIN_POST_ORDER_EDITS_ID_SHIPPING_METHOD_ACTION_ID
Update a shipping method in the order edit by the ID of the method's `SHIPPING_ADD` action. Every shipping method has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Order Edits
Capture Payment
MEDUSA_ADMIN_POST_PAYMENTS_ID_CAPTURE
Capture an amount of a payment. This uses the `capturePayment` method of the payment provider associated with the payment's collection.
Payments
Refund Payment
MEDUSA_ADMIN_POST_PAYMENTS_ID_REFUND
Refund an amount of a payment. This uses the `refundPayment` method of the payment provider associated with the payment's collection.
Payments
Create Payment Collection
MEDUSA_ADMIN_POST_PAYMENT_COLLECTIONS
Create a payment collection.
Payment Collections
Mark a Payment Collection as Paid
MEDUSA_ADMIN_POST_PAYMENT_COLLECTIONS_ID_MARK_AS_PAID
Mark a payment collection as paid. This creates and authorizes a payment session, then capture its payment, using the manual payment provider.
Payment Collections
Initialize Payment Session in Payment Collection
MEDUSA_ADMIN_POST_PAYMENT_COLLECTIONS_ID_PAYMENT_SESSIONS
Initialize a Payment Session in a payment collection. This is useful for orders placed outside the checkout flow, such as draft orders, or when a payment session needs to be re-initialized for an existing payment collection.
Payment Collections
Create Price List
MEDUSA_ADMIN_POST_PRICE_LISTS
Create a price list.
Price Lists
Update a Price List
MEDUSA_ADMIN_POST_PRICE_LISTS_ID
Update a price list's details.
Price Lists
Manage Prices in Price List
MEDUSA_ADMIN_POST_PRICE_LISTS_ID_PRICES_BATCH
Manage the prices of a price list to create, update, or delete them.
Price Lists
Remove Products from Price List
MEDUSA_ADMIN_POST_PRICE_LISTS_ID_PRODUCTS
Remove products from a price list.
Price Lists
Create Price Preference
MEDUSA_ADMIN_POST_PRICE_PREFERENCES
Create a price preference.
Price Preferences
Update a Price Preference
MEDUSA_ADMIN_POST_PRICE_PREFERENCES_ID
Update a price preference's details.
Price Preferences
Create Product
MEDUSA_ADMIN_POST_PRODUCTS
Create a product.
Products
Manage Products
MEDUSA_ADMIN_POST_PRODUCTS_BATCH
Manage products to create, update, or delete them.
Products
Export Products
MEDUSA_ADMIN_POST_PRODUCTS_EXPORT
Start a product export process to retrieve a CSV of exported products. You'll receive in the response the transaction ID of the workflow generating the CSV file. To check the status of the execution, send a GET request to `/admin/workflows-executions/export-products/:transaction-id`. Once the execution finishes successfully, a notification is created for the export. You can retrieve the notifications using the `/admin/notification` API route to retrieve the file's download URL.
Products
Update a Product
MEDUSA_ADMIN_POST_PRODUCTS_ID
Update a product's details.
Products
Manage Variants of Product Image
MEDUSA_ADMIN_POST_PRODUCTS_ID_IMAGES_IMAGE_ID_VARIANTS_BATCH
Manage the association between product variants and a product image. You can add or remove associations between variants and the image.
Products
Add Options to Product
MEDUSA_ADMIN_POST_PRODUCTS_ID_OPTIONS_BATCH
Add a list of options to a product.
Products
Create a Product Variant
MEDUSA_ADMIN_POST_PRODUCTS_ID_VARIANTS
Create a variant for a product.
Products
Manage Variants in a Product
MEDUSA_ADMIN_POST_PRODUCTS_ID_VARIANTS_BATCH
Manage variants in a product to create, update, or delete them.
Products
Manage Variants Inventory in a Product
MEDUSA_ADMIN_POST_PRODUCTS_ID_VARIANTS_INVENTORY_ITEMS_BATCH
Manage a product's variant's inventoris to associate them with inventory items, update their inventory items, or delete their association with inventory items.
Products
Update a Product Variant
MEDUSA_ADMIN_POST_PRODUCTS_ID_VARIANTS_VARIANT_ID
Update a variant's details.
Products
Manage Images of Product Variant
MEDUSA_ADMIN_POST_PRODUCTS_ID_VARIANTS_VARIANT_ID_IMAGES_BATCH
Manage the association between product images and a product variant. You can add or remove associations between images and the variant.
Products
Associate Variant with Inventory Item
MEDUSA_ADMIN_POST_PRODUCTS_ID_VARIANTS_VARIANT_ID_INVENTORY_ITEMS
Associate with a product variant an inventory item that manages its inventory details.
Products
Update Product Variant's Inventory Details
MEDUSA_ADMIN_POST_PRODUCTS_ID_VARIANTS_VARIANT_ID_INVENTORY_ITEMS_INVENTORY_ITEM_ID
Update the inventory item that manages the inventory details of a product variant.
Products
Create Product Import
MEDUSA_ADMIN_POST_PRODUCTS_IMPORT
Create a new product import process. The products aren't imported until the import is confirmed with the `/admin/products/:transaction-id/import` API route.
Products
Create Product Import
MEDUSA_ADMIN_POST_PRODUCTS_IMPORTS
Create a new product import process. The products aren't imported until the import is confirmed with the `/admin/products/:transaction-id/imports` API route.
Products
Confirm Product Import
MEDUSA_ADMIN_POST_PRODUCTS_IMPORTS_TRANSACTION_ID_CONFIRM
Confirm that a created product import should start importing the products into Medusa.
Products
Confirm Product Import
MEDUSA_ADMIN_POST_PRODUCTS_IMPORT_TRANSACTION_ID_CONFIRM
Confirm that a created product import should start importing the products into Medusa.
Products
Create Product Category
MEDUSA_ADMIN_POST_PRODUCT_CATEGORIES
Create a product category.
Product Categories
Update a Product Category
MEDUSA_ADMIN_POST_PRODUCT_CATEGORIES_ID
Update a product category's details.
Product Categories
Manage Products in Product Category
MEDUSA_ADMIN_POST_PRODUCT_CATEGORIES_ID_PRODUCTS
Manage products of a category to add or remove them.
Product Categories
Create Product Option
MEDUSA_ADMIN_POST_PRODUCT_OPTIONS
Create a product option.
Product Options
Update a Product Option
MEDUSA_ADMIN_POST_PRODUCT_OPTIONS_ID
Update a product option's details.
Product Options
Update Product Option Value
MEDUSA_ADMIN_POST_PRODUCT_OPTIONS_ID_VALUES_VALUE_ID
Update a product option value's details.
Product Options
Create Product Tag
MEDUSA_ADMIN_POST_PRODUCT_TAGS
Create a product tag.
Product Tags
Update a Product Tag
MEDUSA_ADMIN_POST_PRODUCT_TAGS_ID
Update a product tag's details.
Product Tags
Create Product Type
MEDUSA_ADMIN_POST_PRODUCT_TYPES
Create a product type.
Product Types
Update a Product Type
MEDUSA_ADMIN_POST_PRODUCT_TYPES_ID
Update a product type's details.
Product Types
Create Promotion
MEDUSA_ADMIN_POST_PROMOTIONS
Create a promotion.
Promotions
Update a Promotion
MEDUSA_ADMIN_POST_PROMOTIONS_ID
Update a promotion's details.
Promotions
Manage the Buy Rules of a Promotion
MEDUSA_ADMIN_POST_PROMOTIONS_ID_BUY_RULES_BATCH
Manage the buy rules of a `buyget` promotion to create, update, or delete them.
Promotions
Manage a Promotion's Rules
MEDUSA_ADMIN_POST_PROMOTIONS_ID_RULES_BATCH
Manage the rules of a promotion to create, update, or delete them.
Promotions
Manage Target Rules of a Promotion
MEDUSA_ADMIN_POST_PROMOTIONS_ID_TARGET_RULES_BATCH
Manage the target rules of a promotion to create, update, or delete them.
Promotions
Create Property Label
MEDUSA_ADMIN_POST_PROPERTY_LABELS
Create a property label.
Property Labels
Create Property Label
MEDUSA_ADMIN_POST_PROPERTY_LABELS_BATCH
Create a property label.
Property Labels
Update a Property Label
MEDUSA_ADMIN_POST_PROPERTY_LABELS_ID
Update a property label's details.
Property Labels
Create Refund Reason
MEDUSA_ADMIN_POST_REFUND_REASONS
Create a refund reason.
Refund Reasons
Update a Refund Reason
MEDUSA_ADMIN_POST_REFUND_REASONS_ID
Update a refund reason's details.
Refund Reasons
Create Region
MEDUSA_ADMIN_POST_REGIONS
Create a region.
Regions
Update a Region
MEDUSA_ADMIN_POST_REGIONS_ID
Update a region's details.
Regions
Create Reservation
MEDUSA_ADMIN_POST_RESERVATIONS
Create a reservation.
Reservations
Update a Reservation
MEDUSA_ADMIN_POST_RESERVATIONS_ID
Update a reservation's details.
Reservations
Create Return
MEDUSA_ADMIN_POST_RETURNS
Create a return. The return can later be requested or confirmed.
Returns
Update a Return
MEDUSA_ADMIN_POST_RETURNS_ID
Update a return's details.
Returns
Cancel a return.
MEDUSA_ADMIN_POST_RETURNS_ID_CANCEL
Cancel a return.
Returns
Add Damaged Items to Return
MEDUSA_ADMIN_POST_RETURNS_ID_DISMISS_ITEMS
Add damaged items, whose quantity is to be dismissed, to a return. These items will have the action `RECEIVE_DAMAGED_RETURN_ITEM`.
Returns
Update Damaged Item of Return
MEDUSA_ADMIN_POST_RETURNS_ID_DISMISS_ITEMS_ACTION_ID
Update a damaged item, whose quantity is to be dismissed, in the return by the ID of the item's `RECEIVE_DAMAGED_RETURN_ITEM` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property. return.
Returns
Start Return Receival
MEDUSA_ADMIN_POST_RETURNS_ID_RECEIVE
Start a return receival process to be later confirmed using the `/admin/returns/:id/receive/confirm` API route.
Returns
Confirm Return Receival
MEDUSA_ADMIN_POST_RETURNS_ID_RECEIVE_CONFIRM
Confirm that a return has been received. This updates the quantity of the items received, if not damaged, and reflects the changes on the order.
Returns
Add Received Items to Return
MEDUSA_ADMIN_POST_RETURNS_ID_RECEIVE_ITEMS
Add received items in a return. These items will have the action `RECEIVE_RETURN_ITEM`.
Returns
Update a Received Item in a Return
MEDUSA_ADMIN_POST_RETURNS_ID_RECEIVE_ITEMS_ACTION_ID
Update a received item in the return by the ID of the item's `RECEIVE_RETURN_ITEM` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property. return.
Returns
Confirm Return Request
MEDUSA_ADMIN_POST_RETURNS_ID_REQUEST
Confirm a requested return. The changes are applied on the inventory quantity and the order only after the return has been confirmed as received using the `/admin/returns/:id/received/confirm`.
Returns
Add Requested Items to Return
MEDUSA_ADMIN_POST_RETURNS_ID_REQUEST_ITEMS
Add items that are requested to be returned. These items will have the action `RETURN_ITEM`.
Returns
Update Requested Item in Return
MEDUSA_ADMIN_POST_RETURNS_ID_REQUEST_ITEMS_ACTION_ID
Update a requested item to be returned by the ID of the item's `RETURN_ITEM` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property. return.
Returns
Add a Shipping Method to a Return
MEDUSA_ADMIN_POST_RETURNS_ID_SHIPPING_METHOD
Add a shipping method to a return. The shipping method will have a `SHIPPING_ADD` action.
Returns
Update a Shipping Method of a Return
MEDUSA_ADMIN_POST_RETURNS_ID_SHIPPING_METHOD_ACTION_ID
Update a shipping method of the return by the ID of the item's `SHIPPING_ADD` action. Every item has an `actions` property, whose value is an array of actions. You can check the action's name using its `action` property, and use the value of the `id` property.
Returns
Create Return Reason
MEDUSA_ADMIN_POST_RETURN_REASONS
Create a return reason.
Return Reasons
Update a Return Reason
MEDUSA_ADMIN_POST_RETURN_REASONS_ID
Update a return reason's details.
Return Reasons
Create Sales Channel
MEDUSA_ADMIN_POST_SALES_CHANNELS
Create a sales channel.
Sales Channels
Update a Sales Channel
MEDUSA_ADMIN_POST_SALES_CHANNELS_ID
Update a sales channel's details.
Sales Channels
Manage Products in Sales Channel
MEDUSA_ADMIN_POST_SALES_CHANNELS_ID_PRODUCTS
Manage products in a sales channel to add or remove them from the channel.
Sales Channels
Create Shipping Option
MEDUSA_ADMIN_POST_SHIPPING_OPTIONS
Create a shipping option.
Shipping Options
Update a Shipping Option
MEDUSA_ADMIN_POST_SHIPPING_OPTIONS_ID
Update a shipping option's details. When you provide the `prices` array, it replaces the shipping option's existing flat-rate prices: - A price with a matching `id` is updated. - A price without an `id` is created - Any existing price whose `id` isn't included in the array is deleted. The `rules` you provide for a price similarly replace that price's existing rules, so omit a rule to remove it. Omitting the `prices` property entirely leaves the existing prices unchanged, whereas setting `price_type` to `calculated` removes all flat-rate prices.
Shipping Options
Manage the Rules of a Shipping Option
MEDUSA_ADMIN_POST_SHIPPING_OPTIONS_ID_RULES_BATCH
Manage the rules of a shipping option to create, update, or delete them.
Shipping Options
Create Shipping Option Type
MEDUSA_ADMIN_POST_SHIPPING_OPTION_TYPES
Create a shipping option type.
Shipping Option Types
Update a Shipping Option Type
MEDUSA_ADMIN_POST_SHIPPING_OPTION_TYPES_ID
Update a shipping option type's details.
Shipping Option Types
Create Shipping Profile
MEDUSA_ADMIN_POST_SHIPPING_PROFILES
Create a shipping profile.
Shipping Profiles
Update a Shipping Profile
MEDUSA_ADMIN_POST_SHIPPING_PROFILES_ID
Update a shipping profile's details.
Shipping Profiles
Create Stock Location
MEDUSA_ADMIN_POST_STOCK_LOCATIONS
Create a stock location.
Stock Locations
Update a Stock Location
MEDUSA_ADMIN_POST_STOCK_LOCATIONS_ID
Update a stock location's details.
Stock Locations
Manage Fulfillment Providers of a Stock Location
MEDUSA_ADMIN_POST_STOCK_LOCATIONS_ID_FULFILLMENT_PROVIDERS
Manage the fulfillment providers to add or remove them from a stock location.
Stock Locations
Add Fulfillment Set to Stock Location
MEDUSA_ADMIN_POST_STOCK_LOCATIONS_ID_FULFILLMENT_SETS
Create and add a fulfillment set to a stock location.
Stock Locations
Manage Sales Channels of a Stock Location
MEDUSA_ADMIN_POST_STOCK_LOCATIONS_ID_SALES_CHANNELS
Manage the sales channels in a stock location by adding or removing them.
Stock Locations
Update a Store
MEDUSA_ADMIN_POST_STORES_ID
Update a store's details.
Stores
Create Store Credit Account
MEDUSA_ADMIN_POST_STORE_CREDIT_ACCOUNTS
Create a store credit account.
Store Credit Accounts
Add Credit to Store Credit Account
MEDUSA_ADMIN_POST_STORE_CREDIT_ACCOUNTS_ID_CREDIT
Add credit to a store credit account
Store Credit Accounts
Create Tax Rate
MEDUSA_ADMIN_POST_TAX_RATES
Create a tax rate.
Tax Rates
Update a Tax Rate
MEDUSA_ADMIN_POST_TAX_RATES_ID
Update a tax rate's details.
Tax Rates
Create Tax Rule for a Rate
MEDUSA_ADMIN_POST_TAX_RATES_ID_RULES
Create a tax rule for a rate.
Tax Rates
Create Tax Region
MEDUSA_ADMIN_POST_TAX_REGIONS
Create a tax region.
Tax Regions
Update a Tax Region
MEDUSA_ADMIN_POST_TAX_REGIONS_ID
Update a tax region's details.
Tax Regions
Manage Translations
MEDUSA_ADMIN_POST_TRANSLATIONS_BATCH
Manage translations in bulk by creating, updating, or deleting multiple translations in a single request. You can manage translations for various resources such as products, product variants, categories, and more.
Translations
Manage Translation Settings
MEDUSA_ADMIN_POST_TRANSLATIONS_SETTINGS_BATCH
Create, update, or delete multiple translation settings.
Translations
Upload Files
MEDUSA_ADMIN_POST_UPLOADS
Upload files to the configured File Module Provider.
Uploads
Get Presigned Upload URL
MEDUSA_ADMIN_POST_UPLOADS_PRESIGNED_URLS
Get a presigned URL for uploading a file to the configured File Module Provider. The presigned URL can be used to upload files directly to the third-party provider. This only works if your configured provider supports presigned URLs, such as the S3 provider.
Uploads
Update a User
MEDUSA_ADMIN_POST_USERS_ID
Update a user's details.
Users
Create View Configuration
MEDUSA_ADMIN_POST_VIEWS_ENTITY_CONFIGURATIONS
Create a new view configuration for an entity. If `is_system_default` is set to true, the created configuration will be set as the system default for the specified entity. Otherwise, it will be a custom configuration for the admin user.
Views
Make View Configuration Active
MEDUSA_ADMIN_POST_VIEWS_ENTITY_CONFIGURATIONS_ACTIVE
Make a view configuration active. This will set the given view configuration as the active one for the specified entity for the admin user. An admin user can only set their own configurations as active. If the view configuration ID is `null`, the active view configuration will be cleared, and the `code` or system default view configuration type will be used as the active view.
Views
Update View Configuration
MEDUSA_ADMIN_POST_VIEWS_ENTITY_CONFIGURATIONS_ID
Update the view configuration of an entity. An admin user can only update their own configurations.
Views
Execute a Workflow
MEDUSA_ADMIN_POST_WORKFLOWS_EXECUTIONS_WORKFLOW_ID_RUN
Execute a workflow by its ID.
Workflows Executions
Fail a Step in a Workflow's Execution
MEDUSA_ADMIN_POST_WORKFLOWS_EXECUTIONS_WORKFLOW_ID_STEPS_FAILURE
Set the status of a step in a workflow's execution as failed. This is useful for long-running workflows.
Workflows Executions
Succeed a Step in a Workflow's Execution
MEDUSA_ADMIN_POST_WORKFLOWS_EXECUTIONS_WORKFLOW_ID_STEPS_SUCCESS
Set the status of a step in a workflow's execution as successful. This is useful for long-running workflows.
Workflows Executions
FAQ

Medusa Admin integration, answered

How do AI agents use Medusa Admin through Open Connector?
Your user connects Medusa Admin once with one of its cataloged authentication methods. Open Connector stores the credential in an encrypted vault and exposes Medusa Admin tools to your agent over MCP or a typed API, with credentials injected server-side on each call.
Is this a Medusa Admin MCP server?
Yes. Open Connector can serve Medusa Admin as a named MCP server with a scoped allowlist and a per-user connection URL, so any MCP client can call Medusa Admin actions with credentials injected server-side.
Where do Medusa Admin credentials live?
In your own infrastructure. Open Connector keeps credentials in its own vault and injects them at call time, so they never leave your environment.

Give your agents Medusa Admin — keep the keys.

Open source, self-hostable, with Medusa Admin credentials that never leave your infrastructure. Run it from source today.