Retail consultant Matt Bailey (left) helps customer Geoff Witherspoon at the Amazon Pop-Up in the Union Station Whole Foods on Thursday, March 22, 2018.

Amazon will close all of its 87 pop-up locations in the U.S. in April, the company said Wednesday.

Amazon has pop-ups inside Whole Foods locations, Kohl's stores and malls around the U.S. The shops let customers try Amazon products — such as Fire tablets, Kindle e-readers, Echo smart speakers — and Amazon services, like Prime Video, Audible and Kindle Unlimited.

"Some of them were staffed by Kohl's associates, some were staffed by Amazon employees," a Kohl's spokesperson explained to CNBC when asked if there will be layoffs. "For Kohl's associates, they'll assume other roles within the store."

"We work to find opportunities within the company for employees," Amazon said. "We don't share further information on our employees."

"Across our Amazon network, we regularly evaluate our businesses to ensure we're making thoughtful decisions around how we can best serve our customers," an Amazon spokesperson told CNBC. "After much review, we came to the decision to discontinue our pop-up kiosk program, and are instead expanding Amazon Books and Amazon 4-star, where we provide a more comprehensive customer experience and broader selection."