Skip to main content
Skip to main content

API Routes

In this document, you’ll learn what API Routes are in Medusa.


The Medusa Backend is a Node.js headless server. It exposes commerce functionalities implemented by Medusa's commerce module through REST APIs that external or frontend applications can access to process or retrieve data.

The backend exposes two types of API routes: Store APIs and Admin APIs. The Store APIs are typically accessed from the storefront. For example, you can use the Store APIs to show customers available products or implement a cart and checkout flow.

The Admin APIs are typically accessed from an admin dashboard. For example, you can use the Admin APIs to allow admins to manage the store’s data such as products, orders, and so on.

Custom Development

Aside from using the Medusa backend's API routes, developers can create their own API routes either directly in the Medusa Backend or in a plugin.


As the core Medusa package is completely customizable, developers can also extend the functionality even further to implement GraphQL routes.

Was this section helpful?