Skip to main content

Business Context

As built

Derived from network/model/model.yaml. This context's service is built; the model carries its as-built contracts, and identifiers (Err... names, routes, CloudEvents types) are the names the service uses.

The business problem​

The network sells items it does not store. Every fulfillment centre is operated by a vendor (the warehouse-systems fleet is one of them, vendor V-WS). Before the network can show a product, promise a delivery date or choose a node for an order, it has to know two things:

  1. What can be sold: the network's own entry for a product, with the physical facts every downstream decision needs (title, dimensions, weight, hazmat and fragile flags).
  2. From where, and how much: for each node that offers the product, the quantity the node claims it can ship now, and why it gave that number.

Neither fact belongs to a vendor's warehouse system, and neither belongs to the promise. This context keeps them. It does not decide whether a delivery date is feasible and it does not choose a node. It states what is on offer, per node, as the vendor declared it.

Why the basis matters​

A vendor can give a number for two different reasons:

BasisMeaning
PHYSICALThe number is the stock the node can use.
THROUGHPUT_CONSTRAINEDThe node has more stock, but can only move this many before its next cutoff.
UNKNOWNThe vendor did not say.

The basis is kept with the number and is never re-derived here (a business decision in the model). The warehouse-systems fleet already computes such a number: its network-fulfillment context has a CapabilityOffer that is the lesser of the physical usable quantity and what its paths can carry before the next cutoff, with basis PHYSICAL or THROUGHPUT_CONSTRAINED. That number reaches this context only through vendor-connectivity; this context never talks to the fleet. See WMS/WES integration and the Vendor API.

Actors​

ActorWhat they do here
Network merchandising (human)Creates catalogue items, discontinues them, and creates listings (POST /catalog-items, POST /catalog-items/{catalogItemId}/discontinuations, POST /listings).
Vendor, through vendor-connectivitySends inventory feeds for its nodes. vendor-connectivity owns the asynchronous Vendor API transaction and calls POST /inventory-feeds in-organization to apply each feed.
Shopper / storefrontBrowses the catalogue (GET /catalog, GET /catalog/{catalogItemId}).
node-topologyTells this context which nodes exist and whether each is ACTIVE.

Decisions this context makes​

  • A listing is sellable only while its node is ACTIVE. When a node is suspended or retired, every listing of the node is suppressed; when it is activated again, the listings suppressed for that reason are restored.
  • A feed older than the last applied feed for that node is not applied: it ends SUPERSEDED (ADR 0002 A11). Availability is monotonic in asOf per listing.
  • A full feed is the complete truth for its node. Every listing of the node it omits is set to zero.
  • The vendor's basis is kept, never re-derived.
  • One listing per (catalogue item, node).

How it relates to the real fulfillment networks​

This model keeps three things apart: the item (what is sold), the listing (from which node it is offered) and the inventory signal a vendor sends for a node. That split, the full-or-partial feed and the basis are the proposed model; this page makes no claim about how any real company does it. What the public record says about real networks and their partner interfaces, with citations, is on the research pages: public fulfillment-network research and the the vendor platform API surface map.

Out of scope (deliberately)​

  • Inventory placement: which node should hold which item before demand arrives. Vendors place their own stock, and a seller names the destination node on its inbound plan in seller-inbound, which offers an advisory placement plan (gap G49, built by seller-inbound ADR 0012).
  • Pricing and competing offers between sellers: not in the model. A listing does carry an optional ownerRef (the seller of record), but no pricing. Which owner's listing a line takes is decided downstream by the OwnerChoice rule of order-sourcing and delivery-promise (gap G47, closed).
  • Capacity: how many orders a node can take at a cutoff is delivery-promise's PromiseBook, fed by node-topology's declared profile. This context keeps only the vendor's claimed quantity and its basis.
  • Feasibility and sourcing: delivery-promise and order-sourcing read this context's events into their own AvailabilityView; neither calls this context synchronously.
  • The vendor protocol: authentication-free Vendor API, transactions, rate limits and 202 answers belong to vendor-connectivity.
  • Measured feed freshness: node-performance computes it from InventoryFeedApplied.