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

@86d-app/walmart

v0.0.25

Published

Walmart marketplace integration for 86d commerce platform

Readme

[!WARNING] This project is under active development and is not ready for production use.

Walmart Module

Integrates your 86d store with Walmart Marketplace for item management, feed submissions, order fulfillment, and inventory tracking. Supports both seller-fulfilled and Walmart Fulfillment Services (WFS) items.

Installation

npm install @86d-app/walmart

Usage

import walmart from "@86d-app/walmart";

const module = walmart({
  clientId: "your-client-id",
  clientSecret: "your-client-secret",
  partnerId: "your-partner-id",
});

Configuration

| Option | Type | Default | Description | | --- | --- | --- | --- | | clientId | string | - | Walmart API client ID | | clientSecret | string | - | Walmart API client secret | | partnerId | string | - | Walmart partner ID |

Admin Endpoints

| Method | Path | Description | |--------|------|-------------| | GET | /admin/walmart/items | List items with optional status, fulfillment type, page, and limit filters | | POST | /admin/walmart/items/create | Create a new marketplace item | | GET | /admin/walmart/items/health | Get item health breakdown by status and fulfillment type | | GET | /admin/walmart/items/:id | Get a single item by ID | | PUT | /admin/walmart/items/:id/update | Update item fields | | PUT | /admin/walmart/items/:id/retire | Retire an item (sets status to retired, lifecycle to archived) | | GET | /admin/walmart/orders | List orders with optional status, page, and limit filters | | PUT | /admin/walmart/orders/:id/acknowledge | Acknowledge an order | | PUT | /admin/walmart/orders/:id/ship | Ship an order with tracking number and carrier | | PUT | /admin/walmart/orders/:id/cancel | Cancel an order | | GET | /admin/walmart/feeds | List feed submissions with optional type and status filters | | POST | /admin/walmart/feeds/submit | Submit a feed (item, inventory, price, or order) | | GET | /admin/walmart/stats | Get channel statistics |

Store Endpoints

| Method | Path | Description | |--------|------|-------------| | POST | /walmart/webhooks | Receive Walmart webhook events |

Controller API

interface WalmartController extends ModuleController {
  createItem(params: { localProductId: string; sku: string; title: string; price: number; ... }): Promise<WalmartItem>;
  updateItem(id: string, params: Partial<WalmartItem>): Promise<WalmartItem | null>;
  retireItem(id: string): Promise<WalmartItem | null>;
  getItem(id: string): Promise<WalmartItem | null>;
  getItemByProduct(productId: string): Promise<WalmartItem | null>;
  listItems(params?: { status?; fulfillmentType?; take?; skip? }): Promise<WalmartItem[]>;
  submitFeed(feedType: FeedType): Promise<FeedSubmission>;
  getLastFeed(feedType: FeedType): Promise<FeedSubmission | null>;
  listFeeds(params?: { feedType?; status?; take?; skip? }): Promise<FeedSubmission[]>;
  receiveOrder(params: { purchaseOrderId: string; items: unknown[]; ... }): Promise<WalmartOrder>;
  acknowledgeOrder(id: string): Promise<WalmartOrder | null>;
  shipOrder(id: string, trackingNumber: string, carrier: string): Promise<WalmartOrder | null>;
  cancelOrder(id: string): Promise<WalmartOrder | null>;
  listOrders(params?: { status?; take?; skip? }): Promise<WalmartOrder[]>;
  getChannelStats(): Promise<ChannelStats>;
  getItemHealth(): Promise<ItemHealth>;
}

Types

  • WalmartItem -- Marketplace item with SKU, UPC/GTIN identifiers, pricing, inventory quantity, and fulfillment type (seller vs WFS)
  • WalmartOrder -- Purchase order with Walmart-specific fee breakdown (orderTotal, shippingTotal, walmartFee, tax) and shipping tracking
  • FeedSubmission -- Feed job record for item/inventory/price/order feed types with success/error item counts
  • ItemHealth -- Health breakdown by status (published, unpublished, retired, system-error) and fulfillment type

Notes

  • Item statuses: published, unpublished, retired, system-error
  • Lifecycle statuses: active, archived
  • Fulfillment types: seller (merchant-fulfilled), wfs (Walmart Fulfillment Services)
  • Order flow: created -> acknowledged -> shipped -> delivered
  • Feed types: item, inventory, price, order
  • retireItem() archives the item (sets status to retired, lifecycle to archived)
  • Admin page appears under the Sales group with the Store icon
  • Admin and store endpoints are fully wired via createAdminEndpoint and createStoreEndpoint