New Shopify Certification now available: Liquid Storefronts for Theme Developers

get customer logged in email before order is processed

Shopify Partner
3 0 0



I'm using a private APP, and I'm calling shopify API in order to get the logged in user email after checkout by calling the endpoint: admin/api/2022-01/users/current.json but I allways get the HTTP 404 with the following message:


"errors": "Not Found"


From other endpoint I can retrieve information from admin/api/2022-01/orders.json but I still have "user_id": null, even though the order was made by a logged user.
Is there any way to get the user_id and logged email before the order is processed ?



Replies 0 (0)