I don't know how DIY you are, so YMMV. I've overhauled several hydraulic cylinders, including one that had a worn-out eye that I had to cut off, machine a replacement for out of 4140 and weld back to the rod. It's not a difficult job (except for the one with the welding), but of course you have to have something serviceable to start with, i.e. the rod, cylinder and piston all have to be in good shape. There are a variety of seal types in cylinders, but all are available from other sources than the dealer, and at a fraction of the price. The one cylinder I rebuilt with dealer parts, when I was younger and ignorant, was over $100 for a seal kit.
A larger cylinder I rebuilt using parts from O-Rings and More, The O-Ring Store, and Ebay, and I think all the seals came to around $12. (yes, I'm cheap). It's hard to be sure exactly what it cost, because some of the seals (o-rings especially) had minimum orders, so I had to buy multiples. Consider, though, that you will get a dozen o-rings for a fraction of what the dealer charges for a single o-ring, and you'll be set for the companion cylinder for no extra money, when it needs it (it probably does, already). Even buying tools (pin wrenches, etc).
You don't need part numbers. Just measure the places where the seals go, measure the seals you take off, and you'll be able to get an exact match. These are ALL standardized parts, especially if your tractor is not forty-five years old like my CASE. Youtube videos can be very helpful, such as learning the trick about soaking piston seals in hot water to make them go on easier. It's also a great time to strip and repaint that cylinder in factory colors and inspect and replace flex hoses (if the rubber is cracked, don't wait—that means the outer wire is already rusting, and their pressure rating is cut in half).