In this paper we develop a quadratic programming model for partner selection and planning in integrated supply chain networks embedded with both sell-side and buy-side electronic marketplaces. Such a scenario arises in several practical applications. In particular, we consider a contract manufacturer who procures components from suppliers through a component marketplace and sells its manufactured sub-assemblies to original equipment manufacturers (OEMs), through a sub-assembly marketplace. In these web-enabled supply chains, embedded with upstream and downstream electronic marketplaces, we need methods for online supply-chain partner selection based on pricing and delivery schedules. In this paper, we develop and present such a model that selects partners, synchronizes supply chain activities and optimizes the profit through optimal revenue pricing and cost minimization.