---
title: "Send login link"
method: POST
path: "/2026-04/auth/loginLink"
---

# Send login link

`POST /2026-04/auth/loginLink`

## Request

- Base URL: `https://api.loopsubscriptions.com/storefront`
- URL: `https://api.loopsubscriptions.com/storefront/2026-04/auth/loginLink`
- Auth: API key in header `Authorization`

This endpoint allows you to send a magic link to the customer so they can log in to their customer portal via email.

## Request body

- object
  - `myshopifyDomain` string, required: The myshopify domain of the store for which the login link is sent.
  - `email` string: The email address where the customer will receive the login link.
  - `customerShopifyId` number: The unique Shopify customer ID used to identify the customer.

## Response `200`

Login link sent successfully

- object
  - `success` boolean
  - `message` string
  - `data` unknown
  - `code` string
  - `pageInfo` unknown

## Changes

- **2026-11-03** `1ff6a5700816`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/loopwork/apis/storefront-api/changes/2026-04/auth/loginLink/post.md)

---

[API](https://skmtc.dev/loopwork/apis/storefront-api.md) - [All operations](https://skmtc.dev/loopwork/apis/storefront-api/llms.txt) - [OpenAPI document](https://skmtc.dev/loopwork/apis/storefront-api/revisions/1ff6a5700816?raw)
