ICPI Shared Shell Contract
Purpose
This document defines what intentionally remains shared when ICPI leaves svc-tenders.
It describes the contract ICPI should continue to rely on, not the parts that should move with ICPI.
1. Gateway Behavior
Gateway ownership remains in services/api/src/routes/icpi.ts.
Current behavior that should remain unchanged:
GET /api/v1/icpi/pricesGET /api/v1/icpi/suggestGET /api/v1/icpi/latest/:itemCodeGET /api/v1/icpi/estimatePOST /api/v1/icpi/upsert
Gateway route behavior today:
- forwards request method and query string
- forwards
Authorizationwhen present