I believe when you buy a pet/mount you can choose to redeem it for yourself or gift it to others, never tried the latter myself.
"Reminds me of a dog, you stare at it while it's playing outside... Running around in a circle, then stopping up, wagging with a wide "grin". Jumping around until you call for the dog, then it lowers its tail because it think it's done something bad... And then you throw the ball, seeing the tail go straight into the air in bliss! ^^" - Gehco Wishblade of Draenor EU
As you buy it, you get three choices. Redeem right away, get the code for safe keeping or gift it to someone. Unsure what details you need to use for the gifting, but I think it was just the charecter name and server, but be careful. There's no refund or support if you grant it to the wrong person.