Correction: A previous version of this article misstated Shearman & Sterling partner Michael Dorf’s representation of Salesforce.com and Salesforce Ventures. He represented Salesforce.com on acquisitions and Salesforce Ventures on investments.

SAN FRANCISCO — Shearman & Sterling represented Salesforce.com Inc. in its agreement to purchase e-commerce platform developer Demandware Inc. for $2.8 billion. The deal—the largest purchase for Salesforce in its 17-year history—values Burlington, Mass.-based Demandware at $75 a share. San Francisco-based partners Steve Camahort and Michael Dorf led the Shearman & Sterling team, which included several attorneys in San Francisco, Menlo Park, New York and Washington, D.C. The firm has represented Salesforce since 2014, and Dorf has advised the company on multiple private acquisitions, and he has represented Salesforce Ventures through several investments.