-
I have built an admin tool that is able to generate different license keys for our product, but I can't figure out how to do a license renewal. If I try and use an existing email address, I get an error letting me know that it's already been used. I then decided to try and look up users by email account, but after a few hours of different approaches, any API request I make either gets ALL users, or none. I first tried this:
Then this:
And then asking chatGPT :D `<?php $email = 'example@example.com'; $curl = curl_init(); curl_setopt_array($curl, [ $response = curl_exec($curl); curl_close($curl); if ($err) { But so far, no luck. :( Any ideas? Seems like I am missing something really obvious. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You can use the user’s email in place of their ID:
|
Beta Was this translation helpful? Give feedback.
-
So quick! That was it! Thankyou so much. 🙌 |
Beta Was this translation helpful? Give feedback.
You can use the user’s email in place of their ID: