Amazon is taking its fight against a New York City delivery bill, which has been backed by Mayor Zohran Mamdani, to its shopping website and app.

Some users who open the company's shopping app or website report being served with pop-ups and banners warning that the New York City Council "could add up to $5 per order" if it passes Intro 518, or the Delivery Protection Act.

The bill would require Amazon to employ its army of third-party delivery companies directly, disrupting the contractor model it has relied on since 2018. Amazon uses a network of thousands of small companies, which often work solely for Amazon, to handle the last-mile portion of shipments, in an effort to speed up deliveries and control more of its logistics operations.

"If this legislation passes, we'd no longer be able to work with them, and we'd be forced to consider moving our operations outside of the city," Amazon's in-app message states. "That would likely mean slower and more expensive delivery for millions of customers in New York City, while also threatening small businesses and their thousands of employees."

The proposed legislation was introduced in February and is awaiting review by City Council Speaker Julie Menin.

Amazon also posted a statement on its company website where it often publishes its policy positions. But rarely has the company used its valuable e-commerce site and app real estate to push its perspectives. Other tech companies including Uber and Lyft have similarly used their apps to advocate for or against legislation in the past.

Amazon's pop-up notices and a stationary banner on its store homepage direct users to a form where they can "contact your council member to oppose Intro 518."

According to Amazon, 20,000 customers sent emails to city council members in the first six hours that the pop-up appeared.

Menin told CNBC in a statement that Amazon's claim it will need to raise prices due to the proposed legislation "defies logic."

"We are crafting legislation that regulates Amazon and protects workers, without impacting prices or jobs," Menin said. "If Amazon thinks this deceptive campaign will effectively threaten New Yorkers and intimidate this City Council, they are dead wrong."

Amazon spokesperson Kelly Nantel said in a statement that the company put up the notices to be "transparent with our customers" about what the bill "would cause them if it passes as written."

"If customers are concerned, one of the most impactful things they can do is contact their City Council member and ask them to oppose this bill," Nantel said.

The Delivery Protection Act has received a swell of support from labor groups, including the International Brotherhood of Teamsters, which has sought to unionize Amazon delivery and warehouse workers.

Mamdani endorsed the bill in August, saying Amazon's subcontractor model "leaves workers vulnerable and corporations free to avoid accountability for reckless conditions on city streets." He's argued the bill would lead to safer working conditions for drivers, and allow the city to "regulate last-mile operations."

Amazon disputed Mamdani's claims, saying the bill would put Delivery Service Partner jobs "at risk without improving safety." It also argued that other businesses and governments use contractors in their operations, and said the DSP model has allowed it to meet growing customer demand.

"It works because local entrepreneurs — people rooted in their communities — deliver a better experience," Amazon said. "They invest in their teams, their routes, and their neighborhoods. That's not a liability play."

Amazon has lobbied heavily against the bill, while logistics and business groups have launched local advertising campaigns, and warned they may sue the city if the bill passes.