Skip to content
Pyck docs

You are reading the Dev docs (main @ e991a08). They can differ from the released product.Dev docs, not the release

Switch to LatestLatest

Concepts

Audience Logistics Manager

In Pyck’s multi-tenant architecture, a tenant is an isolated space that contains all the data of one customer. Each tenant’s space is completely separate from the others, even though they share the same software infrastructure. Each tenant can have multiple root-level repositories (warehouses), allowing a single company to manage operations across multiple facilities while keeping data isolated from other companies. This enables Pyck to serve many customers on the same platform securely.

Customers can create as many tenants as needed within Pyck. These tenants can serve as separate environments (for example, development, staging, and production) or any other separation your workflow requires. Each tenant is fully isolated, so testing in a dev tenant has no impact on production data.

Repositories are the fundamental building blocks of Pyck: any container that can hold goods is a repository. Unlike traditional WMS with fixed location types, Pyck lets you create repositories for anything: warehouses, zones, shelves, bins, pallets, trolleys, or even forklifts. They form hierarchical structures where any repository can contain other repositories, creating your warehouse layout through parent-child relationships.

Pyck features two types of repositories:

  • Static Repository: Fixed in place, such as shelves or zones. These cannot be moved.
  • Dynamic Repository: Movable and can be repositioned using RepositoryMovements.

Additionally, repositories can be categorized as real or virtual:

  • Real Repositories: Physically store and track goods with full stock validation.
  • Virtual Repositories: Special repositories that can “create stock out of nowhere”, so they bypass stock validation checks. This is essential at warehouse boundaries where you need to introduce new items (receiving) or remove them (shipping). Common virtual repositories include:
    • Receiving: “Incoming Goods” or specific supplier repositories like “Apple Deliveries”
    • Shipping: “Customer Orders” or individual customer repositories
    • Losses: “Damaged”, “Stolen”, “Missing”, “Internal Use”
    • Adjustments: “Inventory Correction”

The granularity of virtual repositories depends on your tracking needs: you might use one general “Incoming” repository or create dozens of supplier-specific ones for detailed tracking.

Repositories can be nested within each other, forming the warehouse layout. For example, the “Warehouse Berlin” repository includes Zones A and B, along with inbound and outbound zones. Zone A is a sub-repository of “Warehouse Berlin.”

Movements are the core operational unit in Pyck. They represent orders or tasks to relocate inventory between repositories. Unlike traditional systems that simply update database records, movements are executable instructions for workers or machines. Every inventory transfer, whether moving a single item or an entire pallet, is tracked as a movement. This creates a complete audit trail and enables time-travel queries to see inventory state at any point in history. Movements validate stock availability when created (except when sourcing from virtual repositories), ensuring operational feasibility.

Pyck supports two types of movements:

  1. Item Movement
  2. Repository Movement

Repository movements are exclusive to dynamic repositories. When a movement is created, whether it’s an item or repository movement, the system verifies order fulfillment by checking if there’s sufficient stock available in the outgoing repository to carry out the transfer.

Collection movements group multiple movements into an ordered sequence, much like task lists. While traditional pick lists only handle item picking, collection movements can orchestrate complex operations mixing item movements (pick 10 units) with repository movements (move entire pallet). They can represent complete workflows like “take forklift to aisle 3, pick up pallet, move to staging, add items, deliver to dock.”

For example, if we need 10 iPhones in the outbound zone, a collection movement might include:

  • Pick 5 iPhones from Box 3 on Shelf 5 and load them onto your trolley.
  • Pick another 5 iPhones from Box 14 on Shelf 6 and load them onto your trolley.
  • Move the trolley to the outbound zone.
  • Move 10 iPhones from your trolley to the table in the outbound zone.

When you create movements in a collection, the system validates stock across the entire sequence, looking forward. It knows that after executing the first two movements, there will be 10 iPhones on the trolley, making the fourth movement plausible. A collection validates the entire chain of operations, not individual movements in isolation. If you tried to create the fourth movement alone (without the collection context), it would fail because the trolley currently has no iPhones.

If goods are moved from a virtual repository, stock levels are not validated in that repository. Virtual repositories facilitate the transfer of goods in and out of the warehouse.

In Pyck, each entity (such as customers, items, or suppliers) can store additional data in a JSON field called “data”. To ensure this data is structured and validated, we use DataTypes, which are essentially JSON Schemas. Any data submitted through our API validates against these schemas and ensures data integrity.

DataTypes do not need to be defined from scratch. Pyck comes with predefined Entities (for example, items, orders, customers, suppliers) that cover common warehouse concepts out of the box.

DataTypes are JSON Schemas, each defined for one of these Entities. You define them yourself using an editor to add custom fields tailored to your business needs. Your custom data is structured and type-safe without any backend code or database schema changes.

You can add arbitrary structured fields to customers, items, suppliers, orders, and more.

For example, you could define a DataType for items that includes fields like color, size, brand, and hazmat_class, all validated automatically by the API.