Amazon will cut some jobs in the United States, Canada, and Costa Rica by the end of Wednesday as part of its plan to lay off 18,000 employees, the e-commerce giant said in a memo to staff accessed by media.

2,300 employees in Seattle and Bellevue, according to an update on the Worker Adjustment and Retraining Notification (WARN) site will be terminated. The U.S. labour law requires companies planning a mass layoff to inform employees 60 days before the closure.

Amazon Chief Executive Andy Jassy said earlier this month the cuts, about 6 percent of the company’s roughly 300,000 corporate employees, would mostly impact the e-commerce and human resources divisions.

According to a report earlier this month, tech companies shed more than 150,000 workers in 2022, contributing to a 649 percent surge in job cuts from 2021.