Seattle — Online retail giant Amazon has agreed to acquire high-end grocery chain Whole Foods Market Inc. for $13.7 billion. The all-cash transaction amounts to $42 per share and includes the Austin, Texas-based grocer’s net debt. Whole Foods Market will continue to operate stores under the Whole Foods Market brand. John Mackey will remain CEO of Whole Foods Market, and the company’s headquarters will remain in Austin.