Meridian Commerce / Catalog
Search
Setup Explore Search
Semantic search over the LLM-written intent of every extracted function. The exact
vector search your agent runs through the search_by_intent MCP tool.
check product stock before checkout
Search
Results
3 matches above 0.3 similarity, across 214 indexed functions in this project. Showing top 3.
get_stock_level catalog-api 84% match
Retrieves the current stock level for a product from the inventory index, checking reserved quantities against available units. Returns the sellable count with a per-warehouse breakdown.
(productId: string, opts?: { warehouse?: string }) => Promise<StockLevel>
stock.ts:31 ↗
reserve_cart_items web-checkout 61% match
Places a short-lived hold on each item in the cart so stock cannot be oversold while payment completes. Releases the hold automatically if checkout is abandoned.
(cart: Cart, ttlSeconds?: number) => Promise<Reservation[]>
checkout/reserve.ts:58 ↗
validate_line_items web-checkout 47% match
Checks each line item in an incoming order against the product catalog, rejecting items that are unpublished, out of stock, or priced differently from the current listing.
(items: LineItem[]) => Promise<ValidationResult>
orders/validate.ts:112 ↗
1 contract risk, 1 duplicate function and 1 version conflict across 7 repos.
In this PR
DispatchEvent(orders-api)formatCarrierName()(orders-api)Indexed 34 endpoints and 19 cross-service calls.
Contract risks (1)
GET /api/orders/:id/dispatchDate, consumer expectsstring(notifications-svc/handlers/dispatch.ts:47)Duplicates (1)
formatCarrierName()shared-utils/format.ts· 91% intent matchDependencies (1)
zod3.22.4·3.23.8·4.0.1Verified (19)
Full analysis in the Carrick dashboard.