query

Get Stock Level

Query to fetch the current available stock level for a product.

Query
GET/stock/{productId}

Overview

GetStockLevel is handled by the Inventory ServiceInventory ServiceServicev1.0.0The system of record for stock. Reserves and releases inventory, serves stock-level queries, and publishes events when s...Publishesinventory-reserved, inventory-unavailableSubscribesreserve-inventory, release-inventory +1Ownerfulfilment-platformMapRepoView docs. It returns the current available stock for a product, read directly from the Inventory DatabaseInventory DatabaseContainerv1.0.0PostgreSQL database that is the system of record for stock levels and reservations.MapView docs.

Architecture diagram

Schema

Event-driven architecture documentation: Acme Inc

JSON Schema

6 properties

Query to fetch the current available stock level for a product, and the level returned

requestobject
required
responseobject
required