Deutsche Post DHL won a contract to deliver groceries for Amazon’s AmazonFresh service in Germany, which could help ease concerns that the U.S. retailer’s own delivery services are an increasing threat to the German logistics group.

“We want to be the service provider for online grocery sales,” Deutsche Post Chief Executive Frank Appel told shareholders at the group’s annual general meeting on Friday.

People close to the matter told Reuters last month about the deal with Deutsche Post, which already delivers packages for Amazon in Germany.

Deliveries of packages from goods bought online via websites such as Amazon and Zalando has been booming in Germany, helping…