How to get customer email address?

Hello,
i’ll insert data for customers who buy my item into database, that is:
" Item Name, Purchase Code, Bought Date, Support Till "
Now i need to add customer email address automatically not customer insert it.
i looked for this code but the email is not there:

https://build.envato.com/api/#market_0_Author_Sale

as far I know from envato api you will not be able to get customer email instead you will get buyer username. envato will not share personal contact info.

Thank you, that’s ok, i will use Username instead

Keep in mind that buyers can change their username, so make sure to account for that.

i’ll add username for sorting only but the real work and check for one-time activation per customer in the database will be automatically done by query script using the Purchase Code.

1 Like