Login with email and password using Admin api

Highlighted
New Member
5 0 0

41 minutes ago

Hi,

I created customer using this api - POST /admin/customers.json(https://help.shopify.com/api/reference/customer#index), and I am not sure how to login with that credentials(email and password). There is an api to get the customer info with customer id.

I tried to find a solution, but nothing yet..

Is it possible to login with email and password using admin api? 

Sincerely,

-Yurii

0 Likes
Shopify Staff
Shopify Staff
540 0 53

Hi Yurii, 

We don't have any methods available currently to enable you to do this, unfortunately. 

0 Likes
New Member
5 0 0

Then is it possible by storefront api?

Can you tell me why admin api is impossible, please?

 

0 Likes
New Member
5 0 0

Hi,

Please let me know asap

 

-Yurii

0 Likes
New Member
5 0 0

Hi Josh,

 

Please let me knjow if it is possible by storefront api.

Can you tell me why admin api is impossible, please?

0 Likes
Shopify Staff
Shopify Staff
540 0 53

Yes it would be possible with the Storefront API, though I don't have direct experience with doing so : https://help.shopify.com/api/storefront-api/guides/updating-customers

I don't think a customer login would fit within the scope of actions we would want taking place via the Admin API.

0 Likes