Schema Overview
Overview of the GraphQL Schema
Introduction
The pyck GraphQL API provides a comprehensive interface for interacting with your warehouse management system. This document gives you a high-level overview of the schema structure.
Core Components
The schema is organized into several main sections:
Queries
Queries allow you to fetch data from the system. Some key queries include:
me: Get information about the current userinventoryItems: List inventory items with filtering and paginationrepositories: List repositories (warehouses, zones, etc.)stocks: Get current or historical stock levelspickingOrders: List picking ordersreceivingInbounds: List inbound receiving orders
Mutations
Mutations allow you to create, update, or delete data. Key mutations include:
createInventoryItem: Create a new inventory itemcreateInventoryItemMovement: Create a movement to transfer itemscreateInventoryRepository: Create a new repositorycreatePickingOrder: Create a new picking ordercreateReceivingInbound: Create a new inbound receiving orderexecuteInventoryItemMovement: Execute a pending movement
Types
The schema defines numerous types that represent entities and concepts in the system:
InventoryItem: Represents products and items in your inventoryRepository: Represents storage locations (warehouses, zones, bins, etc.)Stock: Represents the quantity of an item in a specific repositoryItemMovement: Represents the transfer of items between repositoriesPickingOrder: Represents an order to pick items from stockReceivingInbound: Represents an inbound shipment to be received
Schema Relationships
The schema includes many relationships between entities:
Items and Repositories:
Items are stored in repositories
Each repository can contain multiple items
Repositories can be nested (e.g., a bin within a zone)
Movements and Stock:
Item movements change stock levels
Stock records track item quantities at specific points in time
Movements can be grouped into collections
Orders and Operations:
Picking orders generate item movements to fulfill orders
Receiving inbounds create movements to add stock to the warehouse
Exploring the Schema
For detailed information about specific parts of the schema, consult the dedicated documentation sections:
Last updated
Was this helpful?
