Added
A logistics company is replacing a partner-facing API that exposes separate endpoints for each warehouse database. Partners currently submit shipment updates, while internal teams want to migrate those databases independently. The new API must provide a stable contract and avoid making partners understand internal service boundaries. A design review proposes one endpoint per database table, with request fields mirroring the current schemas. The migration must also support adding a new fulfillment provider without requiring partners to change their integrations. Which design is BEST?
A business-oriented facade decouples the partner contract from warehouse schemas and lets the implementation route to existing or future fulfillment systems. Publishing table-shaped resources exposes internal persistence details and couples partners to schema changes. A generic query endpoint is difficult to secure and govern as a stable business contract. Separate provider APIs force partners to learn internal routing choices and change integrations when providers change.