-
The ticket number is usually on your credit card statement.
With the ticket number, you can go and request retroactive credit for miles flown.
Almost all airlines allow this, the only rule is that you have to have had a frequent flyer account BEFORE you fly.
You can’t make an account after you fly and claim the miles.