Generates an authentication token for customer portal access using either customer ID or email address. This token can be used to create magic links or authenticate API requests on behalf of a customer.
Key Features:
Request Parameters: Provide either customerId OR email (not both):
Response Contains:
Common Use Cases:
Token Usage: Once generated, the token can be:
https://portal.example.com?token={token}Security Best Practices:
Error Handling:
Authentication: Requires API key authentication via X-API-Key header or api_key parameter
curl --request GET \
--url https://membership-admin.appstle.com/api/external/v2/customer-portal-token{
"customerId": 123,
"token": "<string>"
}Documentation Index
Fetch the complete documentation index at: https://appstleinc-aeca3e0a.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
API Key (Deprecated - Use Header X-API-Key instead)
Shopify customer ID (provide either customerId OR email)
Customer email address (provide either customerId OR email)
curl --request GET \
--url https://membership-admin.appstle.com/api/external/v2/customer-portal-token{
"customerId": 123,
"token": "<string>"
}