Skip to main content
GET
Generate customer portal magic link

Headers

X-API-Key
string

Path Parameters

customerId
integer<int64>
required

Shopify customer ID

Query Parameters

api_key
string

API Key (Deprecated - Use Header X-API-Key instead)

Response

Magic link generated successfully, returns link URL and expiration time

URL link for customers to manage their subscription

Example:

"https://myshop.com/apps/memberships/cp/manage?token=abc123"

tokenExpirationTime
string<date-time>

Expiration timestamp of the management token