Headless customer login

You can get a token by submitting that information to customerAccessTokenCreate

Docs: https://help.shopify.com/en/api/storefront-api/reference/mutation/customeraccesstokencreate

That token can be used to retrieve customer data, associate checkouts, etc