npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@solteq-excom/medusa-plugin-requisition-list

v1.0.2

Published

Requisition list plugin for Medusa

Readme

Requisition List Plugin

This package adds customer requisition list functionality to a Medusa backend.

It provides:

  • A custom Medusa module for requisition lists and list items
  • Store API routes for creating and managing customer-owned requisition lists
  • A workflow that converts a requisition list into a cart

Plugin Identity

  • Package: @solteq-excom/medusa-plugin-requisition-list
  • Plugin resolve: @solteq-excom/medusa-plugin-requisition-list
  • Module key: requisitionList

Location

Features Implemented

  • Create and list requisition lists for authenticated customers
  • Retrieve, update, and delete a single requisition list
  • Add items to a requisition list
  • Update quantity for a requisition list item
  • Remove a requisition list item
  • Convert requisition list items into a newly created cart
  • Ownership validation in workflows before mutating customer data

Store API Routes

All routes are customer-authenticated via:

  • Session auth
  • Bearer token auth

Routes:

  • GET /store/requisition-lists
  • POST /store/requisition-lists
  • GET /store/requisition-lists/:id
  • POST /store/requisition-lists/:id
  • DELETE /store/requisition-lists/:id
  • POST /store/requisition-lists/:id/items
  • POST /store/requisition-lists/:id/items/:item_id
  • DELETE /store/requisition-lists/:id/items/:item_id
  • POST /store/requisition-lists/:id/convert-to-cart

Workflows

Install Guide

Install the plugin from npm in your Medusa application:

yarn add @solteq-excom/medusa-plugin-requisition-list

or

npm install @solteq-excom/medusa-plugin-requisition-list

Then configure medusa-config.ts.

Configure medusa-config.ts

Add this plugin to your plugins array:

plugins: [
  {
    resolve: "@solteq-excom/medusa-plugin-requisition-list",
    options: {},
  },
]

Usage Notes

  • The plugin uses Medusa route conventions (GET, POST, DELETE), so update operations are exposed as POST.
  • POST /store/requisition-lists/:id/convert-to-cart requires a region_id and optionally accepts sales_channel_id.
  • Request body validation is implemented with Zod in src/api/store/requisition-lists/middlewares.ts.

Data Model Summary

  • requisition_list
    • id
    • name
    • customer_id
    • company_id (nullable)
    • visibility (private or company)
    • items (has many requisition_list_item)
  • requisition_list_item
    • id
    • variant_id
    • quantity
    • requisition_list (belongs to requisition_list)

Troubleshooting

Convert-to-cart fails

  • Ensure region_id is provided in the request body.
  • Ensure requisition list item variant_id values reference existing purchasable variants.
  • Ensure authenticated customer owns the requisition list.

Disclaimer

This package is provided as-is, without warranty of any kind. You are responsible for validating the integration, security, and compliance requirements before using it in production.