Usually, both the person sharing the code and the new person using it get some kind of reward. This could be discounts, credits, or points. The exact rewards may vary, so it's good to check Myntra's latest information for the most up-to-date details.