Vendors, Branches & Multi-vendor

What is the relationship between Vendor and Branch?

A Vendor owns one or more Branches — a branch always belongs to a vendor (the link is required). The vendor is the seller/partner entity carrying the commercial terms; branches are its physical locations (shops or warehouses), each with an address and geo-coordinates. In single-vendor mode there's effectively one vendor with its branch(es); in multi-vendor mode there are many vendors, each…

A Vendor owns one or more Branches — a branch always belongs to a vendor (the link is required). The vendor is the seller/partner entity carrying the commercial terms; branches are its physical locations (shops or warehouses), each with an address and geo-coordinates. In single-vendor mode there's effectively one vendor with its branch(es); in multi-vendor mode there are many vendors, each with their own branches. Orders are fulfilled by branches, while settlement and agreements operate at the vendor level — so the hierarchy is vendor → branches → per-branch stock.