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

@orchesty/connector-mailstep

v2.0.1

Published

Readme

Mailstep Connector

npm License

An Orchesty connector for Mailstep (Mailship), a professional fulfilment service providing warehousing, order management, and shipping for e-commerce merchants.

Application Type

Basic

This connector authenticates using a username and password. A Bearer token is obtained automatically via the Mailship login endpoint (POST /api/login/user) and cached using CacheService to minimize authentication requests. The application requires a CacheService instance to be injected via its constructor.

| Field | Description | |---|---| | user | Your Mailship account username | | password | Your Mailship account password | | eshop_id | ID of your e-shop in the Mailship system |

Components

| Class | Type | Description | |---|---|---| | MailstepGetExpeditionConnector | Connector | Fetches a single expedition (order) by ID via GET /expedition/{id} | | MailstepGetProductStockConnector | Connector | Fetches stock levels for a single product-warehouse combination via GET /product-stock/{id} | | MailstepGetStockAdviceConnector | Connector | Fetches a single inbound stock advice by ID via GET /stock-advice/{id} | | MailstepGetSupplierConnector | Connector | Fetches a single supplier by ID via GET /supplier/{id} | | MailstepPostExpeditionConnector | Connector | Creates a new expedition (order) via POST /expedition | | MailstepPostProductConnector | Connector | Creates a new product via POST /product | | MailstepPutExpeditionConnector | Connector | Updates an existing expedition by ID via PUT /expedition/{id} | | MailstepPutProductConnector | Connector | Updates an existing product by ID via PUT /product/{id} | | MailstepSendExpeditionConnector | Connector | Dispatches an expedition for fulfilment via PUT /expedition/{id}/send | | MailstepGetCarrierListBatch | Batch | Paginates through all carriers via POST /carrier/list | | MailstepGetCarrierServiceListBatch | Batch | Paginates through all carrier services via POST /carrier-service/list | | MailstepGetEshopListBatch | Batch | Paginates through all e-shops via POST /eshop/list | | MailstepGetExpeditionListBatch | Batch | Paginates through expeditions filtered by e-shop via POST /expedition/list | | MailstepGetInboundReceiptListBatch | Batch | Paginates through inbound receipts via POST /inbound-receipt/list | | MailstepGetOutboundReceiptListBatch | Batch | Paginates through outbound receipts via POST /outbound-receipt/list | | MailstepGetProductListBatch | Batch | Paginates through products filtered by e-shop via POST /product/list | | MailstepGetProductStockListBatch | Batch | Paginates through product stock levels via POST /product-stock/list | | MailstepGetStockMovementListBatch | Batch | Paginates through stock movements via POST /stock-movement/list | | MailstepGetWarehouseListBatch | Batch | Paginates through all warehouses via POST /warehouse/list | | MailstepGetWmsListBatch | Batch | Paginates through all WMS systems via POST /wms/list | | MailstepSubscribeWebhooksBatch | Batch | Registers webhook subscriptions for the configured e-shop via POST /eshop-webhook | | MailstepUnsubscribeWebhooksBatch | Batch | Removes registered webhook subscriptions via DELETE /eshop-webhook/{webhookId} |

Setup

Credentials

  1. Contact the Mailstep / Mailship onboarding team to create an account.
  2. Once your account is active, obtain your login credentials (username and password).
  3. Find your E-shop ID in the Mailship partner portal.
  4. In Orchesty, open the Mailstep application settings and fill in the User, Password, and Eshop ID fields.

API Documentation

Mailship Developer Portal: https://developer.mailship.com/dev/

Installation & Usage

Install the package:

npm install @orchesty/connector-mailstep @orchesty/nodejs-sdk
# or
pnpm add @orchesty/connector-mailstep @orchesty/nodejs-sdk

Register the application and nodes in your Orchesty DI container. The MailstepApplication requires a CacheService instance:

import { container } from '@orchesty/nodejs-sdk';
import CacheService from '@orchesty/nodejs-sdk/dist/lib/Cache/CacheService';
import MailstepApplication from '@orchesty/connector-mailstep/dist/MailstepApplication';
import MailstepPostExpeditionConnector from '@orchesty/connector-mailstep/dist/Connector/MailstepPostExpeditionConnector';
import MailstepGetExpeditionListBatch from '@orchesty/connector-mailstep/dist/Batch/MailstepGetExpeditionListBatch';

const app = new MailstepApplication(container.get(CacheService));
container.setApplication(app);
container.setNode(new MailstepPostExpeditionConnector(), app);
container.setNode(new MailstepGetExpeditionListBatch(), app);
// Register additional nodes as needed

License

This connector is released under the Apache License 2.0. See the LICENSE file for the full license text.

Contributing

Contributions are welcome! This connector is part of the open-source Orchesty Node.js Connectors monorepo.

For guidelines on how to create or update connectors — including project setup, coding conventions, and how to write tests — please refer to the Contributing to Connectors guide.

All contributions should include:

  • Source code in src/ following the existing connector structure
  • Tests in src/**/__tests__/ with input.json, mock.json, and output.json fixtures
  • An updated CHANGELOG.md entry