One app serves many restaurants by giving every request a verified tenant ID, then backing that ID with scoped credentials and per-tenant limits. The tenant ID is the boundary; everything else enforces it.
Silo, pool, or bridge
A silo gives each tenant dedicated resources. A pool shares resources and separates tenants by tenant context in code plus tenant-scoped access. A bridge mixes the two per layer: shared services with a database per tenant, for example. You choose per layer, not once for the whole system.
How tenant context follows a request
Follow one request from brand A that tries to read brand B's orders table.
The gateway authorizer verifies the token and resolves tenant brand-a . The integration mapping overwrites any X-Tenant-Id the client sent, and the backend accepts traffic only from the gateway, so the header cannot be forged.
The service stores brand-a in request-scoped storage: AsyncLocalStorage in Node, AsyncLocal<T> in .NET.…