Fisher-Price's Rock 'n Play Sleeper has been recalled after more than 30 babies have died while in the sleepers since 2009. 

The Consumer Product Safety Commission issued a warning telling consumers they should stop using the product last week. The CPSC upgraded the warning to a recall Friday. 

The move comes after increasing pressure for officials to take action, including from the American Academy of Pediatrics, which urged a recall of the product. 

RELATED: Pediatricians' group calls for recall of Fisher-Price Rock 'n Play after several infant deaths

The fatalities were the result of infants rolling over while unrestrained, or under "other circumstances," according to to the CPSC. 

Fisher-Price responded to the recall Friday. 

"While we continue to stand by the safety of all of our products, given the reported incidents in which the product was used contrary to safety warnings and instructions, we’ve decided in partnership with the Consumer Product Safety Commission (CPSC), that this voluntary recall is the best course of action, it said in a statement from General Manager Chuck Scothon. 

Fisher-Price Rock 'n Play Sleeper linked to 10 infant deaths

If you purchased a Rock 'n Play sleeper, you can get a refund from Fisher-Price by clicking here.