I would not claim Home Depot sold the OP a diseased tree. Any stone fruit can develop canker (if that’s canker). I don’t know what is the refund policy of trees from HD these days. It used to be a year.
Gabe, Avoid ordering bare root trees from Fast Growing Tree nursery. It is way over priced. When you want to order fruit trees, check nurseries in this link. You need to order trees in the fall or winter. The nurseries will mail them out in the spring.
Ordering in the spring is quite late. Now is late. Not much left in the stock. Knowing what rootstock a tree is on is important. So far, my apricot on a manchurian rootstock has done well for me.