nopCommerce API Documentation: Is There a REST API?

Plugin development 9 Updated

nopCommerce API Documentation: A Practical Walkthrough

What nopCommerce really documents about its plugin and service API, and a straight answer on REST: the official Web API plugin, a BSS plugin, or your own endpoints.

The nopCommerce README on GitHub, which describes the Web API plugin by the nopCommerce team, beside the BSS Nop REST API plugin page, under the line that the docs explain the inside and plugins add REST

Key takeaways

  • There is no single nopCommerce API reference page. The documentation is the developers guide, the source code and the docs of any API plugin you install.
  • The internal API is well documented: plugins, the service layer, dependency injection and event consumers.
  • A stock install has no public REST API. It comes from a plugin: the Web API plugin by the nopCommerce team, the BSS Nop REST API plugin, or your own.
  • Before the first endpoint, fix the version, the entities, the authentication and a versioned route scheme.

Search "nopCommerce API documentation" and you will not land on one reference page the way you would with Stripe or Shopify. That is not a broken link; it is how nopCommerce is built, and it is the biggest surprise we see when a team scopes its first integration.

This walkthrough covers both halves: the internal plugin and service API, which is well documented, and the public REST question. We checked the platform details against the nopCommerce 5.00.1 source and documentation on GitHub on 25 November 2026.

Where nopCommerce's Documentation Actually Lives

The Developers guide index of the official nopCommerce documentation on GitHub, with its sections for developer tutorials, creating a plugin and Web API documentation, beside the three places developers look

nopCommerce's documentation is organised around extending the platform from the inside: plugins, themes and the service layer. Its Developers guide lists developer tutorials, creating a plugin, the designer's guide, Web API documentation and mobile app documentation.

Key fact: there is no Swagger or OpenAPI portal for a stock store. What exists is the developers guide, the source code itself, and the documentation that ships with whichever API plugin you choose.

The docs site and its GitHub source
Architecture and how-to guides for plugins, themes and the request pipeline.
The source code
Nop.Core, Nop.Services and Nop.Web are open source; the interfaces are the most exact reference.
API plugin documentation
The endpoint list, authentication and setup of the REST plugin you install.

In the integration projects we scope, teams often budget time for "reading the API docs". The real work is learning the service layer well enough to extend it, or to expose it.

Connecting nopCommerce to another system? BSS builds nopCommerce API integrations, from REST endpoints to ERP and app connections.

View nopCommerce services

The Internal API: Plugins, Services and Events

The nopCommerce 5.00.1 source on GitHub with the Nop.Core, Nop.Data and Nop.Services libraries, overlapped by the IConsumer event interface with HandleEventAsync

This half of nopCommerce is well documented. Every plugin implements IPlugin and registers its services in the same dependency-injection container the platform uses; at release 5.00.1 Nop.Core still references the Autofac integration for it. Our plugin development guide walks through one end to end.

Two patterns matter before you write code. The service layer in Nop.Services, with interfaces such as IProductService and IOrderService, is how the whole application, the admin included, reads and writes data. Event consumers, through IConsumer<T> and its HandleEventAsync method, let a plugin react to events such as an order being placed without touching core code.

An event consumer is often a cleaner integration point than polling an endpoint. It runs inside the store's process when the event happens, so an external system can be told about an order instead of asking for it.

Does nopCommerce Have a Public REST API?

The nopCommerce README paragraph on the Web API plugin by the nopCommerce team, the BSS Nop REST API documentation on JWT authentication, and the BSS Nop REST API product page listing 5.00, 4.90 and 4.80

Not in a stock install. nopCommerce is a server-rendered ASP.NET Core MVC application: the admin and the storefront run on the same pipeline rather than on a separate API. A REST API is added with a plugin.

The nopCommerce README describes a Web API plugin by the nopCommerce team that lets you build integrations with third-party services or mobile apps using REST, available with source code and covering backend and frontend methods. BSS also maintains its own REST plugin, and community plugins exist.

Option What it gives you Check before you adopt it
Web API plugin by the nopCommerce teamREST for backend and frontend methods, with source codeThe version it supports and its licence terms
BSS Nop REST APIFrontend endpoints for apps, JWT authentication, Swagger documentation and a Postman collectionThat it lists your nopCommerce version (5.00, 4.90 and 4.80 today)
Community or custom pluginExactly the endpoints you buildMaintenance, authentication and how it survives upgrades
BSS plugin that saves the work
BSS Nop REST API Plugin

Pre-built frontend endpoints for mobile and cross-platform apps, secured with JWT, with interactive Swagger documentation and a ready-to-use Postman collection.

For the platform-level trade-off behind this, our nopCommerce vs Shopify comparison explains why a hosted, API-first SaaS ships a public API and a self-hosted .NET platform leaves it to plugins.

A Practical Walkthrough: Exposing a Custom Endpoint

The BSS Nop REST API documentation page with its JWT authentication note and installation steps, beside four decisions to make before the first endpoint

If no plugin covers your case, the simplest path is a small ASP.NET Core controller inside its own nopCommerce plugin that reads through the service layer instead of the database.

[Route("api/v1/custom/products")]
public class CustomProductApiController : Controller
{
    private readonly IProductService _productService;

    public CustomProductApiController(IProductService productService)
    {
        _productService = productService;
    }

    [HttpGet("{id}")]
    public async Task<IActionResult> GetProduct(int id)
    {
        var product = await _productService.GetProductByIdAsync(id);
        if (product == null || !product.Published)
            return NotFound();

        return Json(new { product.Id, product.Name, product.ShortDescription, product.Price });
    }
}

Do not expose services directly

Service methods assume they run inside the authenticated admin or storefront pipeline. Wrap them in an API layer with its own input validation and authorisation, or you turn internal assumptions into an attack surface.

Before you write a single endpoint

  • Confirm the exact nopCommerce version you run; the internal API changes between major releases.
  • List only the entities you need to expose: products, orders, customers or categories.
  • Choose the authentication model, JWT or OAuth2, before the first endpoint.
  • Rate-limit and log every endpoint from day one.
  • Version the routes, such as /api/v1/, so an upgrade does not break consumers.
  • Write a small OpenAPI (Swagger) definition, even for an internal API.
From the BSS team

On API projects we start by listing the exact calls the app or ERP needs, then check whether the BSS Nop REST API plugin already covers them. Custom endpoints are only written for what is left, which keeps the surface small and the upgrade work light.

From the BSS team

If you would rather hand over the integration, our nopCommerce API integration services cover custom endpoints, security review and testing against your version.

Frequently Asked Questions

Does nopCommerce have a REST API out of the box?
Not in a stock install. nopCommerce is a server-rendered ASP.NET Core MVC application. A REST API comes from a plugin: the Web API plugin by the nopCommerce team, the BSS Nop REST API plugin, a community plugin or your own.
Where is nopCommerce's official API documentation?
There is no single API reference page. The developers guide in the official documentation, the open-source code on GitHub and the documentation of the API plugin you install together describe it.
Can I connect a mobile app or headless storefront to nopCommerce?
Yes, once a REST layer is in place. Most teams install an API plugin that exposes the products, cart and order operations their app needs, or build those endpoints in a custom plugin.
What's the difference between the plugin API and a public REST API?
The plugin API is the set of C# interfaces, such as IPlugin, the service layer and IConsumer events, that run inside nopCommerce. A REST API is a set of HTTP endpoints that outside systems call over the network.
How do I secure custom API endpoints in nopCommerce?
Wrap service calls in an API layer with its own validation and authorisation, use JWT or OAuth2, rate-limit and log every endpoint, and version the routes so upgrades do not break consumers.

Final Thoughts

nopCommerce documents how to work inside it, not how to call it from outside. Once you know that, the search for an API reference becomes a choice: an existing REST plugin, or a small custom layer built on the service API.

Start with the calls your app or system really needs, check what a maintained plugin already covers, and build only the rest, versioned and secured from the first endpoint.

AH

Written by Anowar Hossen Farvez

Software Engineer · Bangladesh Software Solution

Software Engineer at BSS in Dhaka, building nopCommerce plugins including Landing Page Builder and Instagram Feed.

Read nextPlugin development How to Create a Plugin in nopCommerce 4.80 12 min read